-
Notifications
You must be signed in to change notification settings - Fork 156
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
Control menu navigation with keyboard #1647
Comments
More general task: keyboard control of all in phoenix |
I agree on that keyboard navigability/focus management being bigger task. Regarding this issue: Problem (abstract)The off canvas menu follows the concept of a Disclosure Widget (that is: a thing appearing, but that thing not being modal). Triggering button ("Menu") and appearing container are not close in the DOM to each other (although they are visibly close) - therefore there aren't close in focus order! So when a user interacts with "Menu" by keyboard only they have to go to a large amount of tab stops to reach the open menu. Because close to no one tries to hit the "Tab" key a hundred times I phrased this as being inaccessible by the keyboard (though it actually is - but unbearably hard/complicated). Solution (abstract)In cases like this, where triggering button in controlled content is not directly adjacent in the DOM, therefore adjacent in the tab order one has to actively manage focus. Sequence:
Solution in phoenixSee PR #2101 |
Add focus management regarding off canvas main nav, #1647
Description
It is not possible to operate the off-canvas navigation with keyboard
The text was updated successfully, but these errors were encountered: