Text Resize
Text must scale to 200 percent without breaking, which means never sizing type in absolute units.
Definition
WCAG 1.4.4 requires text to be resizable up to 200 percent without loss of content or functionality. On mobile platforms, the operating system font size setting must also be respected.
Craft convention. True because the industry converged on it. Breaking it costs familiarity, not correctness.
On this page
Requirements
- Size text in rem or em, never in px, so the user's browser setting applies.
- Do not set a font size on the html element in pixels, which overrides the user preference.
- Avoid fixed-height containers around text.
- Include a rem term in any clamp expression, or viewport-based sizing will ignore zoom entirely.
- On mobile, respect the platform's dynamic type or font scale setting.
- Test at 200 percent text-only zoom, which is different from full page zoom and breaks more layouts.
Sources
Where a source establishes something narrower than the popular reading of it, the note says so.
Understanding Success Criterion 1.4.4: Resize Text
W3C, WCAG 2.1
Continue from here
Each link says what the connection is, so you can tell a principle from an alternative from a thing people mix this up with.
Applies when you are designing
Check your work
Review passes that test whether this was done properly.
- Accessibility ChecklistChecklist
Related concept
Connected closely enough to change how you apply this.
- Reflow and ZoomAccessibility
- Text SpacingAccessibility
- Line HeightUI foundation
- Responsive TypographyUI foundation
- Type ScaleUI foundation