Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sysix
Copy link
Member

@Sysix Sysix commented Aug 10, 2025

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.

@github-actions github-actions bot added A-linter Area - Linter C-enhancement Category - New feature or request labels Aug 10, 2025
Copy link
Member Author

Sysix commented Aug 10, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

@Sysix Sysix marked this pull request as ready for review August 10, 2025 13:28
@Sysix Sysix requested a review from camc314 as a code owner August 10, 2025 13:28
Copy link

codspeed-hq bot commented Aug 10, 2025

CodSpeed Instrumentation Performance Report

Merging #12963 will not alter performance

Comparing 08-10-feat_linter_add_dangerous_suggestion_for_jsx-a11y_tabindex-no-positive_ (fbc101c) with main (166f5cc)

Summary

✅ 34 untouched benchmarks

@camc314 camc314 self-assigned this Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter C-enhancement Category - New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants