-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radio buttons need to be grouped for proper interaction #71
Comments
Yes, I agree. This should also improve their API and ensure you cannot use them as a multiselection widget, where checkboxes would make more sense. The main challenge here, in the long run, will be styling flexibility. |
We could have something like a |
Radio buttons should always belong to a group, so that things like the arrow keys work to select a different value, and so that accessibility tools can understand what’s going on with them.
In HTML, this means that grouped radio buttons need to share a
name
attribute.The text was updated successfully, but these errors were encountered: