pacocoursey / cmdk

Fast, unstyled command menu React component.
https://cmdk.paco.me
MIT License
9.04k stars 259 forks source link

Role "listbox" causes some aria issues #179

Open jtstothard opened 10 months ago

jtstothard commented 10 months ago

I spotted this one when running an axe check on my code, it flagged up that you couldn't have a role="separator" as a child of a role="listbox". I also have another issue of this when using a role="progressbar" as a child of a "listbox". Is "listbox" the correct role for the top level list or does that suit the "list" component better?

https://github.com/dequelabs/axe-core/issues/3938