-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add button role to select trigger (#309)
This results in a few a11y improvements: * Screen readers will better announce the menu button as actionable * Screen reader focus is correctly returned back to the menu button -- Select was already returning focus to the menu button programatically, but because the menu button only had tabindex it wasn't seen by screen readers as an interactive element. Screen reader focus would be stuck on the selected menu item instead of being returned to the button.
- Loading branch information
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
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