Justified Text

Justified Text

WCAG Focus: WCAG 1.4.8 (AAA) · Cognitive Readability

WordPress editors sometimes apply text-align: left to make columns look like a printed newspaper. On the web, full justification stretches spaces unevenly between words, creating distracting “rivers of white” down the paragraph that disrupt tracking for people with dyslexia, ADHD, or low vision using screen magnifiers.

Why This Pattern Violates WCAG

WCAG 1.4.8 Visual Presentation (Level AAA) explicitly stipulates that text should not be justified (aligned to both left and right margins).

Left-aligned text (in left-to-right languages) provides a consistent ragged right edge that helps the eye track cleanly from one line to the next.

Code Comparison

Hard-to-Track Justified Paragraph

<p style="text-align: left;">Long paragraphs stretched across both margins create uneven spacing between words...</p>

Compliant Left-Aligned Prose

<p style="text-align: left;">Consistent word spacing and a natural right edge make reading much easier...</p>

How to Fix It in WordPress

  • Set body prose alignment to left (or start for multi-directional layouts) in your theme and Gutenberg paragraph blocks.
  • Remove legacy justify alignment rules from imported Classic posts.

Finding This Issue Automatically

Guest authors and imported WordPress articles frequently carry inline text-align: left formatting. The WP ADA Compliance Check plugin flags justified text blocks and can automatically fix the issue by converting justified text to left or right alignment and removing the option to justify text.

Subscribe

Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

Cart Accessibility Tools
hide