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

leandrowdgh-545: Remove tabindex for non-interactive div #586

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

greenyouse
Copy link
Contributor

Hi, here is one a11y change for the .carousel-root div. When the useKeyboardArrows prop is true a tabIndex=0 will be set on the div so users can enter keyboard commands. When it's not set (which is the default case) the tabIndex won't be added.

This was for the #545 from a a couple months back. Sorry about the delay.

@leandrowd leandrowd merged commit fbc4981 into leandrowd:master Jul 2, 2021
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

Successfully merging this pull request may close these issues.

2 participants