-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Carousel | Tab key malfunction #15111
Comments
This is the problem with scroll in view. Once start using Tab key, it will navigate to every next actionable if available, bringing page into view without changing current page. Hence once reached on last page using Tab key, navigation button doesn't work as page is already in view. Moreover, navigation keys aren't being captured at all. enter, space |
Hi, In the demo, it fails to steal focus because buttons inside the demo content are focusable by default. Setting tabindex to the buttons will remove them from the tabbing order. Unfortunately we cannot interfere with the tabindex values of projected content inside the component, some users might need to focus inside the content. Simply, adding tabindex to the buttons solves the issue. Please see the example: https://stackblitz.com/edit/er3agn?file=src%2Fapp%2Fdemo%2Fcarousel-basic-demo.html Closing the issue since we cannot reset tabindex values of the projected content. |
The text was updated successfully, but these errors were encountered: