-
-
Notifications
You must be signed in to change notification settings - Fork 238
fix(a11y): add tabindex to main content #1385
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
fix(a11y): add tabindex to main content #1385
Conversation
Add tabindex="-1" to the #main-content container so it can receive focus when using the skip-link feature.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
📝 WalkthroughWalkthroughThe change modifies the main content wrapper div in Suggested reviewers
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Comment |
|
|
|
GG |
Add tabindex="-1" to the #main-content container so it can receive focus when using the skip-link feature.
Before tabbing and clicking the skip link, it would simply scroll to the main content, but tabbing would still start from the first element on the page (the logo).
Screen.Recording.2026-02-11.at.16.20.22.mov
After adding tabindex="-1", clicking the skip link focuses on the main, and the next tab goes to the first element of the main content.
Screen.Recording.2026-02-11.at.16.17.58.mov