-
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
Navigation menu block: blue selection border is inconsistent with other blocks #20808
Comments
A suggestion here would be to have a consistent transition between modes. If I'm in 'Select' mode, let's keep the user in that mode until they choose to enter 'Edit' mode. The way it is right now, the interface switches between the two modes as the user tabs from child to child. |
After further inspection and thanks to @karmatosed help, I was able to see that the issue here is not an unpredictable change between Select and Edit modes. What is happening is that the selected style (blue border) shown on navigation items made me think the modes were changing. What I expect is a consistent experience when moving from block to block, whether that's on the root level, or a child link inside the Navigation block. To me, this means that if I'm in Select mode, blocks should have a blue order, and if I'm on Edit mode, blocks should not have the blue selection border andI should be able move between lines of text the same way I do between paragraphs. |
@enriquesanchez I think what's happening is that when a selected block has a caret within it, the blue border doesn't show. I imagine this is to make the typing experience clutter free. When a selected block doesn't have a caret, the block border is shown (e.g. when an image block is selected). The link block definitely can be selected without the caret being moved to the block when its padding or arrow is clicked, and that makes the border appear. I'm not quite sure why using arrow keys makes the block lose its caret momentarily. The order blocks are navigated also seems like something that should be fixed. That might be worth a separate issue. |
The Navigation Block has gone through a few iterations since this issue was discussed. Could you please confirm if you think this is still a problem, @talldan, @enriquesanchez? Thank you! |
I'm not sure really, I think it still works in a similar way. I don't think Enrique is contributing to the project any longer, so may not answer. This will probably need to be looked at by an accessibility rep and a designer. |
Thank you for helping move this forward @talldan |
I would like clarification if the modes here refer to screen reader "browse" modes or the edit and select modes in the block editor? I am testing on macOS, Chrome.
Starting in the default edit mode, I am not able to reproduce this. I am able to reproduce the missing blue border when the caret shows, but I am not sure this is a problem.
Screen.Recording.2023-08-16.at.11.40.47.mov |
Select mode: This is bad, but a separate issue should be created for it. My example menu, by chance, has a page list as the first menu in the navigation block. And I can't navigate past that block using the keyboard.
Screen.Recording.2023-08-16.at.11.46.43.mov |
This issue comes from the the accessibility test performed by the Accessibility team (#20369). One of the issues raised was that navigating with a keyboard between parent and child blocks was difficult and unpredictable.
As seen in the example above, while using the up/down arrows, the UI moves between edit and browse mode without this change being invoked by the user.
The text was updated successfully, but these errors were encountered: