Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should pressing tab indent a list item when typing in a list block? #5087

Closed
2 tasks
twsp opened this issue Feb 15, 2018 · 3 comments
Closed
2 tasks

Should pressing tab indent a list item when typing in a list block? #5087

twsp opened this issue Feb 15, 2018 · 3 comments
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Type] Question Questions about the design or development of the editor.

Comments

@twsp
Copy link
Contributor

twsp commented Feb 15, 2018

Issue Overview

When typing in a list block, pressing tab moves the focus to the next block, rather than indenting the list item you are working on. Obviously, this is a design choice, but I feel it would be more intuitive if pressing tab indented the list to create a sub-list, so you don't have to press the "indent/outdent list item" buttons, since this is how most text editors function.

Steps to Reproduce (for bugs)

  1. Create a list block
  2. Add an item
  3. Under it, add another item, but try to indent it by pressing tab (imagine that item 2 is supposed to be a sub-item under item 1

Expected Behavior

Pressing tab should indent the list item.

Current Behavior

Pressing tab moves the focus to the next block, which I feel is less intuitive when typing.

Todos

  • Tests
  • Documentation
@aduth
Copy link
Member

aduth commented Feb 15, 2018

Related: #1640, #1826

@aduth aduth added [Type] Question Questions about the design or development of the editor. [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). labels Feb 15, 2018
@youknowriad
Copy link
Contributor

I'm closing this issue as this has been discussed and dismissed for accessibility reasons (see #1640 (comment))

@aduth
Copy link
Member

aduth commented Feb 15, 2018

Also relevant: #4382

(i.e. if an editing "mode" is introduced, it might make sense for tab to indent lists)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Type] Question Questions about the design or development of the editor.
Projects
None yet
Development

No branches or pull requests

3 participants