Skip to content
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

Typeahead does not fully follow WAI-ARIA spec #35

Closed
rgossiaux opened this issue Jan 10, 2022 · 0 comments
Closed

Typeahead does not fully follow WAI-ARIA spec #35

rgossiaux opened this issue Jan 10, 2022 · 0 comments
Labels
upstream bug Bugs that also affect the official React and/or Vue libraries

Comments

@rgossiaux
Copy link
Owner

The WAI-ARIA spec for Listbox mentions (emphasis mine):

Type a character: focus moves to the next item with a name that starts with the typed character.

However, as reported by a user on Reddit, Headless UI does not do that; instead, we search for the first item with a name that starts with the typed character. You can see this in action on https://headlessui.dev/react/menu by repeatedly typing the letter d (with pauses in between). This affects Listbox and Menu both.

@rgossiaux rgossiaux added the upstream bug Bugs that also affect the official React and/or Vue libraries label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream bug Bugs that also affect the official React and/or Vue libraries
Projects
None yet
Development

No branches or pull requests

1 participant