text size
GUIDELINES 1.4.4
Who is impacted
How to test
Resources
Resizable Text
Users should be able to resize text up to 200% without assistive technology and without loss of content or functionality. This means avoiding fixed font sizes in pixels where possible and using relative units like em, rem, or percentages instead.
When text is resized, the layout should adapt gracefully. Content should not overflow, overlap, or become hidden. Horizontal scrolling should not be required to read a line of text at 200% zoom.
Implementation Tips
Use responsive design techniques and relative units for typography. Set base font sizes on the html or body element and use rem units throughout. Avoid setting fixed heights on containers that hold text, as enlarged text may overflow. Test your layouts at various zoom levels to ensure content remains accessible.