mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
## Problem Similar to #45064, switch fields aren't accessible with tab on Safari. Example: - Open https://studio-staging-git-gildasgarcia-fe-2998-suggest-e7fb9e-supabase.vercel.app - Create a new project - Move through fields with tab, note that you can't focus _High Availability_ ## Solution - Add a `tabindex="0"` on `<Switch>` - Add a `tabindex="0"` on `<Toggle>` (was a mistake as we don't actually use it yet but it will be needed when we do) ## How to test - Open the staging - Create a new project - Move through fields with tab, note that you can focus _High Availability_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Switch and Toggle controls now correctly participate in keyboard tab order, improving focusability and keyboard navigation for accessibility. <!-- end of auto-generated comment: release notes by coderabbit.ai -->