Why is “Checkbox” rendered as a button, not an input? What’s the rationale behind that choice? #2878
Unanswered
getflourish
asked this question in
Help
Replies: 1 comment 2 replies
-
Have you found out the reason ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Honest question:
I would like to understand why the Checkbox and Switch components have been implemented as button elements with ARIA attributes.
What are the advantages over using a native input type="checkbox"?
Beta Was this translation helpful? Give feedback.
All reactions