• Success Criterion 1.4.4
  • Conformance level AA
  • W3C reference F94

Font Size Set in Viewport Units That Ignores Browser Zoom

1.4.4 — Resize Text

Scenario

Setting

A fitness app's workout tracker

What’s wrong

Font size is set in viewport (vw) units, so browser zoom / text-size settings don't enlarge the text at all.

Example

html { font-size: 14px; } /* fixed px, breaks at 200% browser zoom */

Why it matters

Low-vision people who enlarge text instead of using a screen reader.

How to test

Inspect font-size values in DevTools: if set in vw (viewport width) units, browser/OS text-size settings won't enlarge them at all.

How to fix

Size text in rem/em/%, not viewport units, so user zoom and text-size settings work. html { font-size: 100%; } body { font-size: 1rem; } /* scales with zoom */ Text sized in rem/em scales when the user zooms; hard-coded pixel sizes can get clipped or overlap.

Outcome

On a fitness app's workout tracker, this barrier is gone for low-vision people who enlarge text instead of using a screen reader — they reach the same outcome without extra effort.

Who is affected

Low-vision people who enlarge text instead of using a screen reader.

Learn more