sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.62k stars 1.33k forks source link

Missing proper keyboard bindings #943

Open WW3 opened 4 years ago

WW3 commented 4 years ago

The keyboard operability doesn't align with native select. For this component to be accessible and comply with WCAG, please consider this. Also, instead of role="combobox" change to "listbox" as this component doesn't include an editable search filed which is characteristic of a Combobox

sagalbot commented 4 years ago

Which keyboard inputs am I missing with native select?

https://www.w3.org/TR/wai-aria-practices/examples/combobox/aria1.1pattern/listbox-combo.html

I've read through the aria spec a few times now, and my understanding is that the search input is a combobox, and the dropdown is a listbox. If I'm incorrect here, can you explain why?