-
Notifications
You must be signed in to change notification settings - Fork 590
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
PRO-6684 cointext menus focus trap [a11y] #4805
Conversation
@@ -17,6 +17,7 @@ | |||
:label="selectBoxMessageButton" | |||
class="apos-select-box__select-all" | |||
text-color="var(--a-primary)" | |||
:disabled="!showSelectAll" |
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.
Required because the buttons are getting selected when trapping focus, but they are also hidden.
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.
The UX of these changes feels great .. @ETLaurent might want to take a look, as one who broke ground on the focus trapping work
Summary
Trap focus and cycle in the focusable elements in context menus.
What are the specific steps to test this change?
Filter menu in e.g. Pieces Manager should be focusable by keyboard only and should offer the expected UX.
What kind of change does this PR introduce?
(Check at least one)
Make sure the PR fulfills these requirements:
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information: