← All articles

5 min read

Readable typography on the web: make your content easier to access

Good web typography helps your visitors find and understand information. Here is how to check and improve type, text structure, contrast and zoom.

You open a website and look for a specific piece of information: What does the service cost? How does working together go? Who is your contact person? The answers are on the page. Still, you have to work your way through small type, cluttered blocks of text and faded labels. This is exactly where typography becomes a question of usability.

How well a website reads depends on how its texts and its design work together. This article shows how to spot typical weak points and how to approach a revision sensibly.

Make sure line spacing is sufficient

A laptop compares the same text with tight and more generous line spacing.

When lines of text sit too close together, it gets harder to stay on the right line while reading. Spacing that is too large, on the other hand, can break up the coherence of a paragraph. A good starting point for body text is a line height of about 1.5 to 1.6 times the font size. At a font size of 18 pixels, that comes to roughly 27 to 29 pixels. Then check with your chosen typeface whether longer paragraphs are comfortable to read. Line length also plays a role here: wide text columns may need more spacing than narrow ones. Multi-line headings can usually be set tighter, as long as letters and lines don’t touch. Check the result on a laptop and on a smartphone.

Structure your texts with clear headings

A website on a monitor with clearly distinguishable page titles, subheadings and body text.

Sort the content before designing: page title, section headings, explanatory text, supplementary notes and calls to action. Then decide what each of these roles should look like. A price, a caption and an error message need different amounts of attention.

Write headings as concretely as possible. “How setup works” helps with orientation more than “More information”. A paragraph should deal with one coherent thought. If it covers requirements, process and costs all at once, it’s worth splitting it up.

Then check the page by its headings alone: does the offer already make sense? This test quickly shows which sections are still named too vaguely.

Choose reader-friendly typefaces

A laptop shows ornate and plain font samples side by side on its screen.

A type specimen with a few large words says little about a longer technical text. So use a real paragraph, a longer heading and typical details such as phone numbers or article numbers to make your choice. Also check umlauts, the ß and the font weights you need.

Compare variants in the actual layout. Look at whether letters appear open and distinct, whether emphasis is recognizable and whether numbers can be told apart easily. For a business-like company website, a single type family with matching weights is a sensible starting point.

Use appropriate font sizes

A monitor compares small and larger type in two text areas arranged side by side.

Larger type alone doesn’t solve every reading problem. If it makes the text area too narrow, you get short lines all the time. If the text area stays very wide on a big screen, the trip back to the start of the next line gets long. So change text size, column width and line spacing together, and compare several complete paragraphs.

Pay special attention to long words, lists and multi-line headings. Manually inserted line breaks can look good at one screen width and wrong at another. Normally let body text wrap automatically, and check how it looks on a narrow smartphone.

Ensure sufficient contrast

A monitor compares light gray and black type on a white background.

Supplementary information is often set smaller and lighter. That becomes a problem when it holds delivery terms, legally required information or notes about a form. Their importance remains, even if they are meant to take a back seat visually.

For checking contrast, WCAG sets concrete values at level AA: normal text generally needs a contrast ratio of at least 4.5:1 against the background. For large text, 3:1 applies; that means at least 24 CSS pixels, or roughly 18.7 CSS pixels in bold. Check the color combinations you actually use, including on colored areas and over images.

For an error message, the text should also explain what is missing and what to do next. “Please enter an email address with an @” is more helpful than a red border without an explanation.

Allow text to be enlarged

A browser on a monitor shows enlarged text at 200 percent zoom.

Not everyone reads with their browser’s default settings. According to WCAG, text must generally be resizable to 200 percent without losing content or functionality; exceptions apply to captions and images of text. Also test navigation, forms and buttons. That’s where fixed heights can cause labels to be cut off.

Changed text spacing must not hide any content either. For this, WCAG describes a test with, among other things, 1.5 times line spacing and a paragraph spacing of two font sizes. These values are not a requirement for the original design. The website has to cope with such adjustments made by users.

Check readability on different devices

The same article adapts to the screen width of a monitor, tablet and smartphone.

To finish, read a longer passage on a smartphone and on a computer. Then look specifically for a price, a way to get in touch or a requirement. Also check the page with enlarged text. A convincing headline in the mockup isn’t enough if the contact form is barely legible later.

Document the settings that work for recurring elements. That way new subpages get the same dependable foundation. When revising, start with the content that is needed for a decision or an action. That’s where better readability makes your website immediately easier to use.

Further information on accessibility

WCAG: Contrast (Minimum)

WCAG: Resize Text

WCAG: Text Spacing