-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
List: allow indenting with Tab #45404
Comments
We will add Tab. Requires better methods to navigate in the editor though. See #45157 (comment). |
ok, thanks
|
You can actually use space and backspace to indent and unindent with the caret on the first position of a list. The only reason tab doesn't work is because there's an accessibility conflict with regards to navigation expectations. The solution to which has been elusive. The most promising path is to couple the behaviors with the "constrain focus" setting. |
Yes, this will be possible when Tab/Shift+Tab are no longer reserved navigation keys and they can be block-based actions. Until then, this is blocked. |
Would highlight a list item, and then pressing tab while list item is highlighted work for accessibility in Gutenberg? Similar works in browsers natively. Screen recording below: Screen.Recording.2023-08-07.at.22.31.17.mov |
That is probably fine for A11Y but not very discoverable. Needs docs at the very least. |
@simison I don't think that's native behaviour. Looks like that's added to the textarea by Github. Natively tab goes from textarea to the next element even if there's an uncollapsed selection. |
Related: #37336 |
Yes and I'd like to note that also on Google Docs Tab / Shift+Tab indent and unindent only when:
When the caret is in the middle or at the end, Tab / Shift+Tab don't do anything, and for good reasons. Additionally, in the WordPress Editor, Shift+Tab was established long time ago to be the main affordance to navigate with the keyboard from the selected block to the block toolbar. This must always work under all circumstances and never break. |
After a review by core editor triage and core editor tech leads on the WordPress 6.5 release team, this issue is being removed from the release. |
What problem does this address?
It is not possible to ident Lists quickly with tabs keyboard button.
The only way actually is to use the toolbar button.
It is a major need for all of us that are daily building contents with WP FSE.
Let's poke @ellatrix who seems to manage the block improvements with dexterity ;-)
What is your proposed solution?
Just like in Google Docs or MS Word, since users took (for ages) the habit to use the tabs to indent lists.
The text was updated successfully, but these errors were encountered: