-
Notifications
You must be signed in to change notification settings - Fork 657
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
Checkbox in label is technically invalid #1138
Comments
Hey @samgreen-spp , I would like to work on this issue can you please assign this to me? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
label
elements should only contain phrasing content, which does not includediv
elements. The checkbox example is technically invalid for this reason since theCheckbox
component is wrapped in aBox
which defaults to adiv
. Would it be possible to provide a prop to change the type of tag that is used for this container element? For example, being able to set it to be aspan
This guideline is defined in the following spec
Thanks for the awesome library :)
The text was updated successfully, but these errors were encountered: