tailwindlabs/tailwindcss-custom-forms

Add Fieldsets + Legends to Radios & Checkboxes

avr opened this issue · 0 comments

avr commented

For accessibility, radio groups and checkbox groups should use <fieldset> as a wrapper and <legend> as a label. They both come with their own default browser styles.

Here are a few references (the IU design system has had a lot of vetting):

I can work on a PR for markup - but may need help with style choices.