You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the label-tag needs to be wrapped around the Radio-tag within the JSX-code. I think it would be preferable if one would to have the label-tag separated (and not wrapped around) and without the need to be written.
The output would be:
It would be great if the for-attribute would be generated automatically from the value-prop.
I know, the placement of the label-tag is debatable but one benefit would be that you don’t need to include the label-tag in the code like in the example:
It seems to me that this library provides enough flexibility to build something more opinionated on top of it without too much hassle. So I'm in favour of keeping it like it is. Maybe it's worth adding a section in the readme showcasing how to build something more opinionated on top of it.
Currently the label-tag needs to be wrapped around the Radio-tag within the JSX-code. I think it would be preferable if one would to have the label-tag separated (and not wrapped around) and without the need to be written.
The output would be:
from this JSX-input:
It would be great if the for-attribute would be generated automatically from the value-prop.
I know, the placement of the label-tag is debatable but one benefit would be that you don’t need to include the label-tag in the code like in the example:
See https://www.w3.org/TR/WCAG20-TECHS/H44.html#H44-examples
The text was updated successfully, but these errors were encountered: