iced
iced copied to clipboard
Radio buttons need to be grouped for proper interaction
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.
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.