Typography & Reading5 min readUpdated 2026-11-15

WCAG 1.4.12 Text Spacing: Testing & Preventing Clipped Layouts

Prevent truncated text and overlapping controls when users apply custom reading spacing stylesheets.

Key Takeaways

  • Test with line-height >= 1.5, paragraph spacing >= 2em, letter-spacing >= 0.12em, word-spacing >= 0.16em.
  • Replace fixed px height with min-height and allow flex items to wrap.

CSS Patterns That Break vs. Scale

Fixed-height pill buttons and single-line overflow:hidden headings collapse when letter-spacing expands by 0.12em. Using min-height and flex-wrap fixes almost every failure.

Spacing-Safe Button CSS

Avoid
.pill { height: 32px; white-space: nowrap; overflow: hidden; }
Recommended Pattern
.pill { min-height: 32px; padding: 0.375rem 0.875rem; line-height: 1.5; }

Frequently Asked Questions

Truncating essential text with '...' when spacing increases fails 1.4.12 unless the full text remains accessible.

Interactive Tools for This Guide

Typography

Text Spacing Simulator

Apply exact WCAG 1.4.12 overrides (1.5x line, 2x para, 0.12em letter, 0.16em word).

Open tool
Typography

Line Height Tester

Tune unitless CSS line-height ratios for comfortable multi-line scanning.

Open tool
Typography

Letter Spacing Tester

Test CSS letter-spacing from tight tracking through WCAG 1.4.12 (0.12em).

Open tool

Continue Reading