-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Split button keyboard accessibility #6642
Comments
something to consider in #6134 |
I believe the reasoning here is that it avoids conflicts with FocusZone scenarios where you want to arrow between buttons, some being split. @jspurlin any take on this? |
I've started a mail thread with the right folks. |
what's the expectation of split buttons in vertical navigation. As I arrow down each item in the list would we need to prevent the behavior in that scenario? |
I agree with @dzearing and the reasoning he provided |
I am going to close this, as the default should not be down arrow, but we have an email thread going and if we deem changes are required in that thread we will reopen. |
Bug Report
Split Buttons, by default, only allow for alt+down to expand the menu of the split button. I'm aware there is a menuTriggerKeyCode to make it whatever I want and I've started adding just 'down' as a key to expand these menus because otherwise we get pinged for not meeting keyboard accessibility guidelines.
I think its pretty weird that we have to add down as an option to all of our split buttons in order to meet the Aria guidelines of down arrow opening things like combo boxes and menus.
I don't know the history of why only alt+down is the default. But I feel like just allowing down would be a better default?
example:
https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
[ComboBox] It is displayed when the Down Arrow key is pressed or the show button is activated, possibly with a dependency on the content of the textbox.
[MenuBar] Down Arrow: When focus is on a menuitem in a menubar, opens its submenu and places focus on the first item in the submenu.
Priorities and help requested:
Are you willing to submit a PR to fix?
Requested priority: Low
Products/sites affected: Azure DevOps (but I've fixed it for us by using menuTriggerKeyCode)
The text was updated successfully, but these errors were encountered: