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

Accessibility issue in "Forms → Autocomplete" (missing roles) #223

Open
roelvangils opened this issue Nov 22, 2020 · 0 comments
Open

Accessibility issue in "Forms → Autocomplete" (missing roles) #223

roelvangils opened this issue Nov 22, 2020 · 0 comments

Comments

@roelvangils
Copy link

roelvangils commented Nov 22, 2020

Describe the bug

The dropdown looks and behaves like a list box (visually) but some roles are missing. In accordance with WCAG 2.1, this does not satisfy 1.3.1 Info and Relationships. In its current implementation, the list box is not usable by users of AT.

Note: this issue is blocking.

How to fix

Apply at least these attributes:

  • List items need role="option"
  • Turn the <ul> into a listbox with role="listbox"

Additional information

@roelvangils roelvangils changed the title Accessibility issue "in Forms → Autocomplete" Accessibility issue in "Forms → Autocomplete" (blocking) Nov 22, 2020
@roelvangils roelvangils changed the title Accessibility issue in "Forms → Autocomplete" (blocking) Accessibility issue in "Forms → Autocomplete" (missing roles) Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant