design-system
design-system copied to clipboard
Add to the radio and checkbox inputs to meet WCAG 2.1 target size standards
Description
- Currently the checkbox and radio input components have a touch target of 32px (height) (see attached screenshot)
- Per the WCAG 2.1 standards, we should provide a touch target size of 44x44px. This will benefit our mouse (and other pointer type) users as well as those on mobile who may struggle with fine motor control.
Check out the documentation here https://www.w3.org/WAI/WCAG21/Understanding/target-size.html
Tracked in Jira here - https://jira.cms.gov/browse/WNMGDS-702
There are a few ways I'm thinking we could tackle this
- Increase the padding around the radio/checkbox to meet the 44px min height
- Increase the checkbox itself to meet the 44px min height
- Some combination of making the checkbox larger and adding padding around the radio/checkbox
Closing this as we are fine for AA standards and the standard I listed above is AAA.