-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Arrowkeys should navigate between blocks #520
Comments
I think this is not implemented yet, rather than a bug. |
Happy to look into this one. |
Great point. Relabelled :) |
There is potential for overlap with #515. It would be nice to have a consistent way to handle arrow navigation. Ping me when the PR is ready. |
What would you expect once you hit the boundary? Caret at the same place vertically in the next block? |
I see that in the per-block prototype it goes first fully to the end, then to the start of the next block. |
@afercia Would be great to hear you thoughts on this one as well. :) |
@iseulde I've seen in some of the prototypes it was possible to go through all the blocks just using the arrow keys. I'd would expect the same in the plugin, where navigating content moving the cursor with the arrow keys should work exactly like in a textarea 🙂 Whether you use right/down/left/up, home, end, etc. there should be the ability to navigate block as a whole. |
Yeah, this is not a single textarea though, each blocks is a separate textarea. How should it work if all blocks are seen as separate ones? If it should work as one area, it should probably be one content editable area. |
I think everyone, not only assistive technologies users, would have troubles to understand why what looks like a unique post content can't be navigated with arrows like everyone is used to do when typing. |
Same here. But it sounds like we should think of it as separate pieces, similar to text areas on a settings page. |
I'm not the best person to dive into technical choices here. As a user, I just know that the interface is making me a promise, and the promise is not fulfilled 🙂 |
A quick comparison between what was available for testing till now (the prototypes) and the plugin as of today (April 29th). Comparing basic text navigation actions that should work out of the box. Testing on Chrome/Mac, for the Home/End keys I'm using:
For more advanced text interactions, see: |
Working on this one right now. |
Splitting and merging text blocks is working well. The multi paragraph text block is working well. I expect the freeform block will be nice to have as well. As such, let's close this, and go with tabs to navigate between blocks, the pattern to emulate being "desktop publishing for the web". This will be like when you tab from the title field into the text field in the current editor (and the Gutenberg equivalent would be tabbing from the title field into the freeform block). |
I agree here. If we don't allow cross block selection at this time, it doesn't really make sense to add arrow key navigation (in my opinion). |
I'd agree the two things should go together. Also, the "Select all" issue. I think the accessibility issue still stands, but let's move on 🙂 |
As in https://wordpress.github.io/gutenberg/tinymce-per-block/, try to:
Expected result is to arrow key into the next block.
The text was updated successfully, but these errors were encountered: