Skip to content

Conversation

@Half-Shot
Copy link
Member

As per https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/switch_role, this represents an "on"/"off" state while the default role checkbox is more generic. I think it's sensible to assume all toggles are switches, and we can use the checkbox type for true checkboxes.

@Half-Shot Half-Shot requested a review from a team as a code owner July 8, 2025 11:14
@Half-Shot Half-Shot requested review from dbkr and robintown and removed request for a team July 8, 2025 11:14
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 8, 2025

Deploying compound-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: e0cdb9a
Status: ✅  Deploy successful!
Preview URL: https://0c47d8fa.compound-web.pages.dev
Branch Preview URL: https://hs-toggle-input-should-have.compound-web.pages.dev

View logs

@Half-Shot Half-Shot enabled auto-merge July 8, 2025 12:59
@Half-Shot Half-Shot merged commit 72b7f91 into main Jul 8, 2025
8 checks passed
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.

3 participants