[Form Styling] alignment issues when creating accessible forms #8173
Labels
good first issue
Great for first contributions. Enable to learn the contribution process.
new feature
New feature or request
When creating forms, the recommendation for accessability is to use the rules defined at w3 site here
When using a
legend
component forSelection Controls
it creates a default 2px padding (browser definition). When combined with other form components it creates a non aligned structure.See the following example and compare "Gender" text against the components of Text Field (Helper text), "Gender" and the radio buttons themselves are padded by 2px
https://codesandbox.io/s/j4zvvx0x4v
The text was updated successfully, but these errors were encountered: