Text spacing is the set of typographic distances between lines, paragraphs, letters and words, and in digital accessibility it refers specifically to a user’s ability to increase those distances without losing content or functionality. The concept is formalized in WCAG 2.1 Success Criterion 1.4.12, a Level AA requirement that applies to web content built with markup languages such as HTML and CSS.
Adequate spacing helps people with low vision, dyslexia and other reading or cognitive differences track lines and recognize word shapes. Because no single default setting suits every reader, the criterion does not prescribe a design; it requires that layouts tolerate user overrides applied through style sheets, browser extensions or assistive technology.
The four text spacing properties in WCAG
WCAG Success Criterion 1.4.12 names four properties and a minimum value for each, expressed relative to the font size. A page conforms when no content or functionality is lost after a user sets all four at once.
| Property | Minimum user setting | CSS property |
|---|---|---|
| Line height | At least 1.5 times the font size | line-height |
| Paragraph spacing | At least 2 times the font size | margin-bottom on paragraphs |
| Letter spacing | At least 0.12 times the font size | letter-spacing |
| Word spacing | At least 0.16 times the font size | word-spacing |
These figures are test thresholds, not design targets. A designer may choose tighter defaults for visual reasons, provided the layout still works when a reader applies the larger values. Exceptions exist for human languages and scripts that do not use one or more of these properties, and for text in images, which falls under a separate criterion.
Why spacing changes reading performance
Spacing affects reading because it controls visual crowding, the effect in which neighboring letters and lines interfere with recognition of the target character. Crowding is stronger in peripheral vision and in many forms of low vision, and it is commonly reported as a barrier by readers with dyslexia.
Generous line height makes it easier to return to the start of the next line without skipping or rereading. Extra letter and word spacing separates glyphs and word boundaries, which can reduce errors for some readers. Research findings on the size of the benefit vary, and individual preference differs widely, which is exactly why WCAG focuses on user control rather than one universal setting.
The table below summarizes how each property supports particular reader groups.
| Adjustment | Main benefit | Reader groups helped most |
|---|---|---|
| Increased line height | Easier line tracking | Low vision, attention differences |
| Increased paragraph spacing | Clearer content chunks | Cognitive and learning disabilities |
| Increased letter spacing | Reduced glyph crowding | Dyslexia, macular conditions |
| Increased word spacing | Clearer word boundaries | Dyslexia, early readers |
Text spacing compared with related accessibility concepts
Text spacing is one part of a broader group of requirements that protect readable, adaptable text. It is often confused with resizing and reflow, but each criterion tests a different user adjustment.
| Requirement | User adjustment tested | WCAG reference |
|---|---|---|
| Text spacing | Larger line, paragraph, letter and word spacing | 1.4.12, Level AA |
| Resize text | Text enlarged up to 200 percent | 1.4.4, Level AA |
| Reflow | Content viewed at 320 CSS pixels wide | 1.4.10, Level AA |
| Contrast ratio | Sufficient luminance difference | 1.4.3, Level AA |
| Visual presentation | Line length, alignment and spacing controls | 1.4.8, Level AAA |
Text spacing also overlaps with accessible typography and dyslexia-friendly typography, which cover default design choices. The WCAG criterion, by contrast, is a robustness requirement: it tests whether the design survives a reader’s changes.
Building layouts that tolerate spacing overrides
Layouts pass text spacing tests when containers grow with their content instead of clipping it. The most reliable approach is to size text containers by content and to avoid fixed heights on elements that hold text.
- Use relative units such as
em,remand unitless line height rather than fixed pixel heights. - Avoid fixed heights with hidden overflow on buttons, cards, tabs and navigation items.
- Let flex and grid items wrap to new lines when labels become wider.
- Do not apply spacing with
!importantdeclarations that block user style sheets. - Allow truncated labels to expand or provide the full text in an accessible way.
Testing is straightforward. Auditors apply a text spacing bookmarklet or a small user style sheet that sets all four values at once, then check every component for clipped, overlapping or hidden text. Automated scanners cannot reliably detect these failures, so manual review remains necessary.
Common text spacing failures
Most failures come from rigid component dimensions designed around one font size and one language. When spacing increases, the text needs more room, and fixed boxes either cut it off or let it spill over other content.
| Symptom | Likely cause | Fix |
|---|---|---|
| Clipped button labels | Fixed height with hidden overflow | Use padding and minimum height |
| Overlapping lines | Absolute positioning of text blocks | Use normal document flow |
| Hidden menu items | Fixed-width navigation bar | Allow wrapping or a menu toggle |
| Cut-off tooltip text | Pixel-sized tooltip container | Size the container by content |
| Ignored user settings | Spacing set with !important | Remove the forced declarations |
A frequent misunderstanding is that authors must ship these larger values by default. They do not; the obligation is that content remains complete and usable when readers apply them.
In everyday language
Text spacing is about the empty room around words: the gaps between lines, paragraphs, letters and words. Many people read more easily when those gaps are larger, so they change them with browser settings or special tools.
A well-built website keeps working when someone does this. Nothing gets cut off, covered up or pushed out of view. It is a bit like a suitcase with expandable sides: if you pack a little more, the case stretches instead of bursting at the zipper.
Seen in the real world
A public library redesigns its online catalog and commissions an accessibility audit before launch. The auditor applies a style sheet that sets line height to 1.5, paragraph spacing to 2, letter spacing to 0.12 and word spacing to 0.16 times the font size, then walks through searching, reserving and renewing books.
Two problems appear. The Reserve button has a fixed height of 32 pixels, so its label is cut in half, and the filter tabs sit in a fixed-width bar, so the last tab disappears entirely. A patron with dyslexia who uses a spacing extension daily would be unable to reserve a book or filter results.
The developers replace the fixed heights with padding and allow the tab bar to wrap onto a second line. On retest, all content remains visible and operable, and the catalog meets WCAG 1.4.12 before it goes live.