-
Notifications
You must be signed in to change notification settings - Fork 376
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
Issue trying to create a pure select option dropdown list #1174
Comments
1: I would like an example of drop-down list without a button (see #1137). But it should be without the HTML elements select and option, but only with the ARIA roles listbox and option or combobox and option. |
Only this W3C example is misleading because it uses a button for a drop-down list |
Would the Select-Only ComboBox example satisfy this ask? |
Hi,
My issue can be in two parts:
It would be useful if you created a working example for a pure
select
/option
widget. Without using a button.Issue trying to get the
Enter
key to work in browsers such as Firefox, seems to work ok in Google Chrome. Does W3c have a list of standards for select option dropdown lists?I'm using parts of your: https://www.w3.org/TR/wai-aria-practices-1.2/examples/listbox/listbox-collapsible.html
To add some keyboard navigation controls to the following HTML code example:
So far I have managed to get the following keyboard controls working:
Space bar
to expand the dropdown listEscape
to collapse the dropdown listAlt
+Down Arrow
to expand the dropdown listAlt
+Up Arrow
to collapse the dropdown listHome
andPageUp
to move to the first optionEnd
andPageDown
to move to the last optionUp Arrow
andLeft Arrow
to move to the previous optionDown Arrow
andRight Arrow
to move to the next optionI'm having trouble getting the
Enter
key to work to expand the dropdown list. Like I said above works fine in Google Chrome but not in Firefox. While setting thearia-expanded="false"
andaria-expanded="true"
and trying to expand the select box (collapse works ok).p.s. I'm using jQuery to code my logic.
Look forward to any help and advice,
Thanks.
The text was updated successfully, but these errors were encountered: