-
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
Keyboard focus cannot easily reach Settings panel after opening #15322
Comments
Related to the popover implementation as React portal, see #15332. See also this comment: #15332 (comment) |
Nothing that this part:
is part of a broader issue and I'd recommend to include it in the design principles: content navigation via keyboard can't rely on shortcut keys alone. |
I am removing the 'User Experience (UX)' label as part of a label cleanup. It's not being used anymore consistently so let's try and keep to 'needs design' and 'needs design feedback'. If we find a need for another label we can consider it but having those 2 should cover this. |
@ellatrix pinging you since I know you have recently been working on keyboard navigation improvements to the editor and block toolbars. Is the remediation guidance suggested on this issue something we could try?
This means that after activating the 'Settings' button in the editor toolbar, focus should move to the first focusable element in the 'Settings sidebar', this being the 'Document' button. |
That sounds good! |
Keyboard focus cannot easily reach Settings panel after opening
Issue description
Keyboard users who use the "Settings" button to open the Settings
panel cannot easily reach the newly-opened panel using typical keyboard
navigation. The Settings content does not follow the triggering button
in the DOM, nor is focus programmatically moved there once it opens.
This is especially problematic for users who are zoomed in above 175%,
where the mobile styles apply, showing the Settings panel taking up the
entire page similar to a dialog. Users who attempt to tab through the
panel find themselves tabbing through elements behind the panel. The
screenshot shows a tooltip from something getting focus behind the
panel.
Issue Code
Remediation Guidance
Either move the dropdown contents to come immediately after their
activating buttons in source order OR programmatically move focus to the
first focusable item inside the dropdowns when they've been opened
(even if opened by a shortcut key).
Shortcut keys for moving around a document should be considered extra UX
features for power users, rather than essential for basic navigation.
Focus should follow a predictable order, generally following visible
items, and should not be able to reach invisible areas.
Relevant standards
AA)
(Level A)
AA)
Note: This issue may be a duplicate with other existing accessibility-related bugs in this project. This issue comes from the Gutenberg accessibility audit, performed by Tenon and funded by WP Campus. This issue is GUT-33 in Tenon's report
The text was updated successfully, but these errors were encountered: