-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improves screen reader features of combo boxes in edit role screen (#…
…153808) ## Summary Related to #27749 While the [EuiComboBox rebuild](elastic/eui#2841) is in progress, this PR addresses missing aria properties and fixes option announcements for the `run as user` combo. It additionally adds an aria-label for the Spaces Navigation EuiSelectable that I found was missing. ### Testing - Add all sample data - Edit a non-reserved role - Turn on a screen reader (NVDA is recommended, but VoiceOver will do) - Tab through the controls on the Edit role screen. When you arrive in a combo box you may or may not hear an announcement declaring the name of the combo box (this is expected, especially with VoiceOver). - With focus in a combo box press the down arrow key. Verify the options are announced as you traverse them with the down and up arrow keys. - If there was success in option announcement, press escape key and verify that the name of the combo box is announced. You may have to press escape twice when using NVDA. Note: It seems to be the consensus that this is best we can do with the existing implementation of EuiComboBox, which is partly why it is being rebuilt with the EuiSelectable component.
- Loading branch information
1 parent
327dd49
commit b3d78e8
Showing
6 changed files
with
72 additions
and
72 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...c/management/roles/edit_role/privileges/es/__snapshots__/cluster_privileges.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
37 changes: 15 additions & 22 deletions
37
...gement/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters