-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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: use tabindex when href is not available #7269
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Lighthouse Results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does hitting enter
or spacebar
work for anyone? this seems non-functional to me in
- chrome
- firefox
Opps, it's not working because it's still a link. Maybe we should convert it into a real button instead of using it as a link |
Really, I would like to help, but running Next.js is too heavy for my computer |
I'm sorry to hear this but understand. The project has plenty of reasons to choose the stack we have, but I acknowledge (and have argued against) the complexity it brings. We'll continue to aim for a balance of accessibility and capability, and it's my goal to make it more than lip service. |
I'm sorry to hear that. Could you tell me what exactly is too heavy? Is it consuming too much compute resources? |
Yep, too many resources consumed by Next.js, which makes the computer really slow. When I have more resources, I'll come back here. |
Description
Since a button is being simulated in the bottom component, a tabindex is added to buttons that don't have an href so they can be selected with the keyboard
Related Issues
closes #7247
Check List
npm run format
to ensure the code follows the style guide.npm run test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.