-
Notifications
You must be signed in to change notification settings - Fork 934
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
Aria 1.2 support for useSelect #1365
Comments
What component/hook are we talking about? |
Are you talking about https://www.w3.org/TR/wai-aria-practices-1.2/examples/combobox/combobox-select-only.html ? |
It's an issue with both useSelect and useCombobox (if you don't filter items). I'm mostly comparing with behavior of native select and other select libraries like react-select. |
The reason for this behaviour is that we currently follow https://www.w3.org/TR/wai-aria-practices-1.2/examples/listbox/listbox-collapsible.html. We should update our hooks to reflect this. I will keep this issue open to track it. |
The new spec seems to shed some light on #935, too! |
BREAKING CHANGE: updates to useCombobox and useSelect to adhere to the 1.2 version of the ARIA Combobox pattern. Migration guide is available in [this file](https://github.com/downshift-js/downshift/tree/master/src/hooks/MIGRATION_V7.md). Closes #1365. Closes #1239. Contains changes from #1149.
Migrate useSelect from 1.1 to 1.2 ARIA pattern.
The text was updated successfully, but these errors were encountered: