Skip to content

When search is disabled Choices is not accessible #1297

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

Open
erwingeiger opened this issue Apr 11, 2025 · 0 comments
Open

When search is disabled Choices is not accessible #1297

erwingeiger opened this issue Apr 11, 2025 · 0 comments
Labels

Comments

@erwingeiger
Copy link

erwingeiger commented Apr 11, 2025

When you use choices with search enabled you get a wrapper div with the role combobox and inside a role listbox. This is correct.
When you disable the search, the wrapper role is changed from combobox to listbox. Then you have two nested listboxes. This is not correct. The children of the listbox must have the role option. The wrapper div with the role listbox don't have that.

So if search is disabled please remove the wrapper role with the value listbox to make it accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant