Tabindex on Switch-component #2278
Unanswered
ripers
asked this question in
Feature Requests
Replies: 1 comment 1 reply
-
|
@ripers I did a quick code dive into this._disableable.onInitAndChange(disabled => {
disabled ? removeAttribute(button, 'tabindex', '0') : setAttribute(button, 'tabindex', '0')
})Looks like it may overwrite any custom |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried adding tabindex to the Switch component, but it doesn’t seem to do anything. When I inspect the code it seems to always be 0. The user has a requirement that a particular Switch should not be tab’able. Will this be something that will be added, or am I doing it wrong? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions