-
Notifications
You must be signed in to change notification settings - Fork 58
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
Items under non-tabbable shadow-roots should not be tabbable #1462
Comments
Thanks for bringing this to my attention! |
@Eden-Mironi-Evinced I had a closer look. There is already a test that covers this use case for the
So this already works as expected. I'm going to guess the issue is that you're calling Both We're lacking a test for If you need the context, then you could implement your own wrapper function that checks I'm going to close this issue as "not a bug" when I merge the additional test. |
The tabbable library identifies elements that are usually tabbable as tabbable even though that in cases the shadow root has attribute of tabIndex="-1" it should remove all of its children from the tabbing sequence.
In this case:
both of the buttons should not get a true value for the isTabbable function.
The text was updated successfully, but these errors were encountered: