Support for fieldset and legend for radio input with @tailwindcss/forms #3829
apoorvmote
started this conversation in
Ideas
Replies: 1 comment
-
I would also like to request this. From an a11y-perspective fieldsets are a must when dealing with multiple options. See: https://a11y-style-guide.com/style-guide/section-forms.html#kssref-forms-radio-buttons |
Beta Was this translation helpful? Give feedback.
0 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.
-
I don't use select option anymore because it requires two clicks. I have converted all of my selects into radio.
Best use case for fieldset is to show that all radio buttons belong to single group field. And have legend to show the field name.
I am using @tailwindcss/forms plugin and currently I am using variable paddings to show that these radio buttons belong to one group. I would like to have support for legend and fieldset to group related radios together.
Beta Was this translation helpful? Give feedback.
All reactions