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

[EuiSelectable][AXE-CORE]: UL role="listbox" must have the tabindex attribute when we have a combined input an list #5298

Closed
Tracked by #5265
1Copenut opened this issue Oct 20, 2021 · 1 comment

Comments

@1Copenut
Copy link
Contributor

Description

Our EuiSelectable component that includes a search box and a selectable list has a tabindex="0" applied to a parent div instead of the actual ul[role="listbox"] and axe-core is throwing an error. Moving the tabindex to the UL fixed the issue in local testing.

Guidance

Screenshot

Screen Shot 2021-10-20 at 3 29 24 PM

@1Copenut 1Copenut changed the title [EuiSelectable][AUTOMATION]: UL role="listbox" must have the tabindex attribute when we have a combined input an list [EuiSelectable][AXE-CORE]: UL role="listbox" must have the tabindex attribute when we have a combined input an list Oct 20, 2021
@1Copenut
Copy link
Contributor Author

This issue has been resolved as part of the PRs associated with EuiSuggest being rebuilt on EuiSelectable here: https://github.com/elastic/eui/issues?q=is%3Aissue+is%3Aclosed+3733

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

No branches or pull requests

1 participant