downshift
downshift copied to clipboard
Aria 1.2 support for useSelect
Migrate useSelect from 1.1 to 1.2 ARIA pattern.
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!