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
Make context menus accessible with keyboard #2377
Conversation
xPaw
commented
Apr 22, 2018
•
edited
edited
- Each context menu item is focusable
- Each context menu can be opened with enter
- Can navigate menu with up/down arrows
- Context menu events must be bound only once (currently they are bound every time context menu opens, bug on master too)
- When escaping context menu opening in user list, return focus to the search field. Now it returns focus to previous element.
01266f6
to
d253aee
Compare
d253aee
to
9fe0d24
Compare
151d0ff
to
647323f
Compare
647323f
to
f09c86c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind removing the focus ring for now? It's pretty atrocious right now :s
We can make this nicer and more obvious as part of #1873 (or separately).
@xPaw, they're really ugly here though. I'd rather remove the outline for now, since there is a background color already. 🙏 |
f09c86c
to
714d365
Compare
714d365
to
03a7d97
Compare
This cause context menu to re-open when clicking on user in the context menu
a9644b7
to
2453153
Compare
Alright, merging this to put it in a pre-release. If something breaks, we'll see it there. |