-
Notifications
You must be signed in to change notification settings - Fork 839
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
[EuiComboBox][KEYBOARD]: Removing tabindex -1
from EuiComboboxPill
SVG
#5560
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_5560/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5560/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Resolves the axe warning and the svg is still not focusable
Preview documentation changes for this PR: https://eui.elastic.co/pr_5560/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Preview documentation changes for this PR: https://eui.elastic.co/pr_5560/ |
Summary
Our
EuiComboBox
component had a nested SVG with a tabindex -1 passed into...closeButtonProps
that was causing axe to throw a violation. We removed the negative tabindex because the SVG is nested inside a standard button.Closes #5545
Checklist
Props have proper autodocs and playground togglesAdded documentation