Typography & Reading Accessibility

Text Spacing Simulator

Users with dyslexia or low vision often override site stylesheets with WCAG 1.4.12 spacing values. Fixed-height cards or overflow:hidden buttons break under these overrides—test your layouts live.

Your files and content are processed locally in your browser. We do not upload your files to our servers.

What This Tool Does

  • Toggles exact WCAG 1.4.12 CSS overrides with one click.
  • Includes sliders for custom line-height, paragraph spacing, letter-spacing, and word-spacing.
  • Tests both long prose and constrained UI buttons/cards to expose clipping risks.

Who Should Use It

  • CSS & UI engineers
  • Designers
  • Accessibility QA

How to Use Text Spacing Simulator

  1. Click 'Apply WCAG 1.4.12 Override' or tweak sliders to inspect reflow and clipping.

Accessibility Principles & Technical Methodology

Avoid fixed px heights on containers holding text—use min-height and padding so buttons and cards expand gracefully when spacing increases.

Technical Methodology

Applies WCAG 1.4.12 exact multiples: line-height >= 1.5, margin-bottom >= 2em, letter-spacing >= 0.12em, word-spacing >= 0.16em.

Practical Examples

Safe Button CSS

Use min-height: 2.5rem; padding: 0.5rem 1rem; instead of fixed height: 40px.

Relevant WCAG 2.2 Criteria

  • 1.4.12 Text Spacing (AA)
Explore WCAG 2.2 Guide

Common Mistakes to Avoid

  • Setting height: 40px; overflow: hidden; white-space: nowrap; on card titles or buttons.

Text Spacing Simulator — FAQs

No! WCAG 1.4.12 only requires that your UI does not break or clip text if a user injects those overrides.
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
Typography

Word Spacing Tester

Preview CSS word-spacing and test the WCAG 1.4.12 0.16em override threshold.

Open tool
Typography

Readability Checker

Compute Flesch Reading Ease, Grade Level, sentence length, and plain-language hints.

Open tool