-
-
Notifications
You must be signed in to change notification settings - Fork 631
feat(linter): add dangerous suggestion for jsx-a11y/tabindex-no-positive
#12963
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
feat(linter): add dangerous suggestion for jsx-a11y/tabindex-no-positive
#12963
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #12963 will not alter performanceComparing Summary
Footnotes
|
Merge activity
|
…tive` (#12963) There should be 3 different fixes, but I moved with the "safest" one: ### Change tabindex to 0 Still be focusable with the keyboard ### Changing tabindex to -1 Could work when the focus is only needed with the JS API `element.focus()` ### Removing tabindex This could break applications which have custom aria roles and need the tabindex to work correctly.
fbc101c
to
4ce252c
Compare
…tive` (oxc-project#12963) There should be 3 different fixes, but I moved with the "safest" one: ### Change tabindex to 0 Still be focusable with the keyboard ### Changing tabindex to -1 Could work when the focus is only needed with the JS API `element.focus()` ### Removing tabindex This could break applications which have custom aria roles and need the tabindex to work correctly.
There should be 3 different fixes, but I moved with the "safest" one:
Change tabindex to 0
Still be focusable with the keyboard
Changing tabindex to -1
Could work when the focus is only needed with the JS API
element.focus()
Removing tabindex
This could break applications which have custom aria roles and need the tabindex to work correctly.