Skip to content

<Radio /> in single select mode items? #7797

Closed Answered by snowystinger
arzatskis asked this question in Q&A
Discussion options

You must be logged in to vote

Radios need to be in a radiogroup role, and collections generally has some other role such as gridlist.
You could share the element which visually looks like a radio, and use it in both your Radio and in the collections Checkbox. I know it's not quite as nice as having them be completely the same element, but there are accessibility restrictions here unfortunately.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by arzatskis
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants