Lesson 6 of 7 · 12 min
Type on screens, for everyone
Goal:Set type that works on every screen size and for people with different needs.
On a poster you control everything. On screens you control very little: people use different devices, zoom in, choose larger text in their settings, switch to dark mode and translate pages. Good screen typography bends without breaking.
Screen type basics
- px
- A fixed size. Simple, but it ignores the reader's own text-size setting.
- rem
- A size relative to the reader's base text size. 1rem is 16px by default and grows if they raise it.
- Web font
- A font file the page downloads. Fewer files and weights mean faster pages.
- Variable font
- One file that contains a whole range of weights (and sometimes widths), instead of a file per style.
- font-display: swap
- A setting that shows text in a fallback font straight away, then swaps in the web font when it arrives.

Nine weights from one variable font file. Thin weights look elegant at large sizes and disappear at small ones.
Type that works for everyone
The Web Content Accessibility Guidelines (WCAG) include several rules about text. They're written for websites, but they're good habits for any screen.
- Contrast: body text needs at least 4.5:1 against its background, large text at least 3:1.
- Resize: text must still work when zoomed to 200%, without losing content or features.
- Text spacing: layouts must cope when people increase line height to 1.5, paragraph spacing to 2× the font size, letter spacing to 0.12em and word spacing to 0.16em.
- Real text: use actual text, not pictures of text, so it can be resized, translated and read aloud.
That third rule catches a lot of designs. Fixed-height boxes and fixed-width buttons look fine until someone needs more space. Try it.
Turn on the reader's settings and watch both cards.
Fixed-size card
Your order is on its way
We'll text you when the courier is ten minutes away. You can change the delivery address until then.
Track orderFixed heights and widths clip the text and the button. Content is lost.
Flexible card
Your order is on its way
We'll text you when the courier is ten minutes away. You can change the delivery address until then.
Track orderBuilt with auto layout: the card grows with its content, so nothing is lost.
- Avoid thin weights for small text, especially in light grey.
- Avoid long passages in all capitals: words lose their shape and become slower to read.
- In dark mode, light text on dark backgrounds can look heavier; check it and adjust.
- Leave room for translation: many languages need more space than English for the same message.
Before you ship type
Check it on a phone
Real device, real light, at arm's length.
Zoom to 200%
Use your browser zoom. Does anything overlap, clip or disappear?
Raise the text size
Turn on large text in your phone's settings and open your design.
Measure contrast
Check every text colour against its background with a contrast checker.
Use real content
Long names, long words, translations. Placeholder text hides problems.
A button label in Spanish gets cut off: "Seguir comp…". Which design choice caused it?
Stress-test a real screen
Find out how a product you use copes with real readers.
- 1Open a website you use often on your computer and zoom to 200%.
- 2On your phone, turn on the largest text size and open its app or mobile site.
- 3Note three things that break: clipped text, overlapping elements, hidden buttons.
- 4For one of them, describe how you'd fix it in Figma with auto layout or a type change.
- 5Share your findings.
Read next
- MDNVariable fonts guideHow one font file can hold many weights and widths.
- W3C · WCAG 2.2Understanding resize textText must work at 200% zoom.
- W3C · WCAG 2.2Understanding text spacingThe four spacing values your layouts must survive.
- W3C · WCAG 2.2Understanding contrast (minimum)Where 4.5:1 and 3:1 come from.
- Apple Human Interface GuidelinesTypographyApple's guidance on type in apps, including larger text sizes.