Skip to content

Conversation

serhatx1
Copy link
Contributor

@serhatx1 serhatx1 commented Oct 11, 2025

Fixes #8417

  • Add tabIndex={0} to Button, Checkbox, RadioGroup, Select, Switch, and Toggle components
  • Fixes keyboard navigation issue in Safari where Tab key skips these form elements
  • Safari doesn't include button-based form controls in tab sequence by default
  • This ensures consistent keyboard navigation across all browsers

Components affected:

  • Button
  • Checkbox
  • RadioGroup
  • Select
  • Switch
  • Toggle

…gation

- Add tabIndex={0} to Button, Checkbox, RadioGroup, Select, Switch, and Toggle components
- Fixes keyboard navigation issue in Safari where Tab key skips these form elements
- Safari doesn't include button-based form controls in tab sequence by default
- This ensures consistent keyboard navigation across all browsers
- Resolves #[issue-number]

Components affected:
- Button
- Checkbox
- RadioGroup
- Select
- Switch
- Toggle
Copy link

vercel bot commented Oct 11, 2025

@serhatx1 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: Safari browser not working tab on selectables and checkboxes

1 participant