-
Notifications
You must be signed in to change notification settings - Fork 344
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
Listbox: How to make a collapsible listbox required? #657
Comments
Wondering if there has been any update on this front? |
Bump on this again. Wondering what the guidance is on using aria-required with a popup listbox? |
@mcking65 any updates on this? Currently Should ARIA add something like a |
Now that we have rewritten combobox for ARIA 1.2, the new combobox pattern can be used instead of a collapsable listbox. In fact, you could use almost the same code as the collapsable listbox except that the element that is the button would become the combobox element. There would be a few other changes too, but most of the mechanics would be the same. If the 1.2 draft of combobox ends up in the final spec, then we would be able to remove the collapsable listbox example and replace it with a select-only combobox example, which would resolve this issue. |
since the new combobox pattern has been published, should this pattern be removed per @mcking65's comment above? |
I volunteer as tribute to make a PR to remove it 😄 |
The collapsible listbox https://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-collapsible.html is based on button. How can this be set to be required as button does not support aria-required.
The best I can think of is to set the child listbox to required but this doesn't really satisfy the desire to mark the button itself as required.
The text was updated successfully, but these errors were encountered: