Overview

4 Make text easy to understand

```html

This chapter explains that accessibility is not only about making content visible, but also about making it easy to understand. It encourages authors to write for humans by using clear, empathetic language, short paragraphs, headings, and plain wording that avoids jargon, unusual abbreviations, figurative language, and double negatives. The goal is to reduce cognitive effort so readers can quickly grasp meaning without struggling through dense or robotic text.

It also emphasizes that assistive technologies need to know the language of the content. Setting the correct lang attribute on the page and on specific passages helps screen readers and braille tools pronounce text correctly, and it becomes especially important on multilingual sites. The chapter shows how to build accessible language selectors that are keyboard friendly, clearly labeled, and programmatically identify the active language without relying on flags or automatic switching.

Finally, the chapter focuses on readable typography and adaptable layouts. It recommends legible fonts, adequate size and weight, strong contrast, and relative units such as rem so text can scale with user preferences. It explains how to support zooming, text resizing, reflow, and custom spacing without clipping, overlap, or horizontal scrolling, and it warns against embedding text in images because that prevents users from resizing, reflowing, or semantically accessing the content.

```
Rendering of semantically marked-up content, which is organized in sections, including headings and paragraphs. It is also optimized for readability, with expanded abbreviations and definitions for complex terms that can be linked elsewhere in the content.
Rendering of semantically marked-up content, which is organized in sections, including headings and paragraphs. It is also optimized for readability, with expanded abbreviations and definitions for complex terms that can be linked elsewhere in the content.
A page showing a language selector with three languages – English, Spanish, and French. A number of best practices are applied, such as showing the language in its native form rather than using icons or English, indicating the active language visually and programmatically, and ensuring that all of them are keyboard-accessible.
A page showing a language selector with three languages – English, Spanish, and French. A number of best practices are applied, such as showing the language in its native form rather than using icons or English, indicating the active language visually and programmatically, and ensuring that all of them are keyboard-accessible.
The same body text is shown in two ways: the first version (top) is based on a thin-stroked font, while the second (bottom) emphasizes readability with a darker and heavier sans-serif font.
The same body text is shown in two ways: the first version (top) is based on a thin-stroked font, while the second (bottom) emphasizes readability with a darker and heavier sans-serif font.
This image shows how x-height is measured. This is the distance between the baseline and the top of a lowercase letter “x” in any given typeface. Fonts with a larger x-height make lowercase letters without ascenders or descenders (such as a, e, s, c, o) appear larger relative to the font size and more legible.
This image shows how x-height is measured. This is the distance between the baseline and the top of a lowercase letter “x” in any given typeface. Fonts with a larger x-height make lowercase letters without ascenders or descenders (such as a, e, s, c, o) appear larger relative to the font size and more legible.
Content should reflow without introducing horizontal scrolling. This image shows a page rendered in a 1280px-wide viewport at 200% page zoom. Notice that to access the content, the user must scroll horizontally and vertically because the line width exceeds the available viewport width.
Content should reflow without introducing horizontal scrolling. This image shows a page rendered in a 1280px-wide viewport at 200% page zoom. Notice that to access the content, the user must scroll horizontally and vertically because the line width exceeds the available viewport width.
This image shows content that reflows in a single direction, rendered at 200% page zoom within a 1280-pixel-wide viewport.
This image shows content that reflows in a single direction, rendered at 200% page zoom within a 1280-pixel-wide viewport.
Content and functionality should not be cut off when users modify font settings, such as increasing line height, character, word, or paragraph spacing. This image shows that some content, in this case, the “read more” link, is no longer visible after applying custom spacing.
Content and functionality should not be cut off when users modify font settings, such as increasing line height, character, word, or paragraph spacing. This image shows that some content, in this case, the “read more” link, is no longer visible after applying custom spacing.
Comparison of two “Read more” button implementations: a styled semantic button with text value (bottom-left) and an image-based button (bottom-right). Text embedded in images does not scale with the user's font size preferences.
Comparison of two “Read more” button implementations: a styled semantic button with text value (bottom-left) and an image-based button (bottom-right). Text embedded in images does not scale with the user's font size preferences.

Summary

  • Content can make or break any website or web application. It must respect human capabilities and limitations to ensure users can perceive and understand it. Content needs to be simple to understand, authored using the correct semantics, and well-structured. Complex terms should be defined, and abbreviations expanded in full.
  • The lang attribute is often overlooked, and yet, it has an important role in accessible web applications. It communicates the language used for the page, as well as for parts of the page, such as individual quotes. Assistive technologies use this attribute to ensure content is communicated correctly, using the right pronunciation in the case of screen readers. Search engines also use this attribute to index pages correctly.
  • Accessible typography requires us to make text easy to read for the broadest range of users. For this reason, we need to adopt clean, legible web-safe fonts, particularly for body text and UI controls. Fancy, decorative, or thin-stroked fonts may work well for branding, but they shouldn't carry the weight of your content. Font color and weight are also important considerations when styling text to ensure readability, while maintaining sufficient contrast against its background. Default system UI fonts can be used, as they are typically designed for on-screen readability across different resolutions. Other fonts that perform well from an accessibility perspective include Inter, Noto Sans, and Source Sans Pro, while widely available fonts like Arial and Verdana are also good choices.
  • Text needs to be elastic and adaptive enough to respond to text scaling, zooming, device orientations, and text spacing settings. This requires us to use relative measurement units, avoid fixed container widths and heights, and avoid placing text inside images, as this would take away the flexibility many users require. Content should not be cut off or hidden when viewed on smaller displays or when page zoom or text scaling is used.

FAQ

Why should text in web content be written for humans instead of sounding overly technical or robotic?

Because content is only useful if people can understand it easily. Plain, empathetic language reduces cognitive effort, helps more readers follow along, and improves accessibility for people with cognitive, learning, language, or non-native language limitations.

What kinds of words and phrases should be avoided to improve readability?

Avoid rarely used words, jargon, figurative language, abbreviations that are not explained, and words that change meaning depending on context. If technical terms are necessary, define them clearly the first time they appear.

How can I structure text so it is easier to scan and understand?

Use short paragraphs, meaningful subheadings, and lists to break content into smaller chunks. This lowers cognitive load, makes scanning easier, and helps users find and remember information more quickly.

Why is defining the page language with the lang attribute important?

The lang attribute tells assistive technologies which language to use, especially screen readers and braille tools. It helps with correct pronunciation, intonation, and translation behavior, and it also supports search engines and multilingual sites.

How should language be marked up on single-language and multilingual pages?

Set the main page language on the html element, for example <html lang="en">. If part of a page is in another language, add a lang attribute to that specific section so assistive technologies can switch pronunciation rules correctly.

What font choices make body text easier to read?

Use legible, web-safe sans-serif fonts for body text, with a font size of at least 1rem, normal or medium weight, and enough contrast. Avoid decorative, thin, or overly stylized fonts for core content unless they are made larger and stronger for readability.

Why should I avoid fixed pixel font sizes and use relative units instead?

Relative units such as rem, em, and % adapt better to user preferences, browser zoom, and OS text scaling. Fixed pixel sizes can block or reduce the user’s ability to enlarge text comfortably.

What does it mean for content to reflow properly when zoomed or on smaller screens?

It means content should wrap and rearrange to fit the available space without overlap or loss of functionality. Users should not need to scroll horizontally except in special cases like data tables or maps.

Why is pinch-to-zoom not enough on its own for accessibility?

Pinch-to-zoom only magnifies the viewport and can make reading harder by forcing users to pan in multiple directions. Users must also be able to resize text and zoom the page in ways that preserve layout, readability, and operability.

Why should text not be embedded inside images?

Text inside images cannot reflow, scale properly, or respond to custom spacing and font settings. It is also less accessible to screen readers. Whenever possible, use real text styled with CSS; reserve image text for cases like logos, and provide clear alternative text when needed.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Architecting Accessibility Architecting Accessibility ebook for free
Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Architecting Accessibility Architecting Accessibility ebook for free