Files
supabase/packages
Gildas Garcia cf3569c16d fix: switch fields aren't accessible with tab on Safari (#45083)
## 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 -->
2026-04-21 09:45:34 +02:00
..