Skip to content
BENIBIX Learn

Text Resize

Design♿ AccessibilityVision and Motion

Also known as Text Resizing, Zoom Support

People can make the text big, and the page still works.

Think of it like

It is like a book that grows its letters when you squint. The page still fits.

Example

Leo sets his phone to large text. A well-built app grows its words, and no button is cut off.

Why it matters

Many people need larger text, and their numbers grow as people age.

Definition

Text resize means people can make the text bigger and the page still works. WCAG asks that text can grow to 200% with nothing cut off or lost. A related rule, reflow, asks that a page fits a narrow screen without scrolling sideways. Sizes set in rem units grow with the reader's own setting; fixed pixel sizes may not.

Example code

css
body { font-size: 1rem; }
h1 { font-size: 2rem; }
rem sizes follow the reader's own text setting, so they grow when it grows.

Common mistake

Boxes with a fixed height. When the text grows, it spills out or gets cut.

Key takeaways

  1. 1
    Up to 200%. Nothing cut off.
  2. 2
    No sideways scroll. It reflows.
  3. 3
    Use rem. It follows the reader.

Compare