JedWatson / react-select

The Select Component for React.js
https://react-select.com/
MIT License
27.49k stars 4.12k forks source link

React select not Accessible through keyboard interactions. #5700

Open mdunbavan opened 1 year ago

mdunbavan commented 1 year ago

Hello,

I am submitting a bug here.

It is pretty simple and you can see it on the demo site but when you tab to the select dropdown and hit 'Return' it does not open up.

What should happen is that when you hit return, it opens the dropdown and you can carry on tabbing through the options and then hit return again to select one.

Currently this does not work and I cannot see anything in the docs that can reference a fix or roadmap to it.

This is an FYI to anyone else who might be using this on a site where accessibility is needed, just be aware and refer back to this issue. I am hoping there's a simple fix that can be added to extend this onto the component quite easily so I will wait to hear back.

Thanks, Mark

pierrebaronqumu commented 12 months ago

The behaviour seems to follow the same type of behaviour as https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/.

Once focused on the component, you can use Up, Down, ...