Text Spacing Checker.

WCAG 1.4.12 Testing. Test and verify WCAG 1.4.12 text spacing compliance. Adjust line height, letter spacing, word spacing, and paragraph spacing with interactive controls. Ensure your layout doesn't break when users increase spacing for better readability. Generate CSS code and validate compliance.

Loading...

Use cases

Real-world uses.

Web Developers & Designers
Test layouts with increased text spacing to ensure WCAG compliance and responsive design that adapts gracefully.
Accessibility Specialists
Verify WCAG 1.4.12 compliance, document spacing requirements, and audit websites for text spacing issues.
QA & Testing Teams
Add text spacing tests to your accessibility checklist and identify layout breakage before production.
Content Creators
Understand how spacing affects readability and create content that works well with user customization.
UX Researchers
Study the impact of text spacing on readability and user comprehension for different audiences.
Compliance Officers
Verify that digital products meet WCAG AA requirements for text spacing customization.

How it works

Six steps.

  1. 01

    Use the sliders to adjust line height, letter spacing, word spacing, and paragraph spacing values

  2. 02

    Watch the preview update in real-time to see how spacing changes affect text readability

  3. 03

    Click 'Apply WCAG Spacing' to instantly set all values to meet WCAG 1.4.12 minimum requirements

  4. 04

    Check the color-coded badges (green = compliant, red = below WCAG minimum) for each spacing value

  5. 05

    Edit the sample text to test with your own content and see how it responds to increased spacing

  6. 06

    Copy the generated CSS code to implement proper text spacing in your website or application

Features

Complete Text Spacing Testing Features.

Test WCAG 1.4.12 compliance with interactive spacing controls, real-time preview, automatic validation, and CSS code generation for accessible text layouts.
  • Interactive Spacing Controls

    Adjust line height, letter spacing, word spacing, and paragraph spacing with live preview

  • WCAG 1.4.12 Compliance

    Instantly apply WCAG minimum spacing requirements and verify compliance with visual indicators

  • Real-Time Preview

    See how text spacing changes affect readability with immediate visual feedback

  • CSS Code Generation

    Get ready-to-use CSS code for implementing proper text spacing in your projects

  • Automatic Validation

    Check if current spacing meets WCAG requirements with one-click compliance verification

  • Editable Sample Text

    Test with your own content to see how spacing affects real-world text

  • Accessibility Guidelines

    Learn why text spacing matters and get practical tips for fixing common issues

  • Visual Indicators

    Color-coded badges show which spacing values meet or fail WCAG requirements

FAQ

Questions.

Can't find an answer? Send us your question.

What is WCAG 1.4.12 Text Spacing?

WCAG 1.4.12 (Text Spacing) is a Level AA success criterion that requires content to remain readable and functional when users apply these minimum spacing values: Line height (line spacing): At least 1.5 times the font size Letter spacing (tracking): At least 0.12 times the font size Word spacing: At least 0.16 times the font size Paragraph spacing: At least 2 times the font size This ensures that users who need increased spacing (due to dyslexia, low vision, or other conditions) can customize text without content loss or overlap.

Why do some users need increased text spacing?

Increased text spacing significantly helps users with: Dyslexia: Wider spacing reduces visual crowding and letter confusion Low vision: More space between lines and words improves tracking Cognitive disabilities: Clearer separation aids comprehension Reading difficulties: Reduced visual stress and fatigue Aging: Natural decline in visual processing benefits from increased spacing Studies show that proper text spacing can improve reading speed and comprehension by up to 20% for affected users.

How do I make my website pass WCAG 1.4.12?

To ensure your website handles increased text spacing: Use relative units: Use em, rem, or % instead of px for spacing Avoid fixed heights: Let containers expand with content Use min-height: Instead of height for containers with text Flexible layouts: Use flexbox or grid instead of absolute positioning Test with user stylesheet: Apply WCAG spacing and verify nothing breaks Adequate whitespace: Design with generous spacing from the start Avoid overflow hidden: Don't hide overflowing text CSS to test: * { line-height: 1.5 !important; letter-spacing: 0.12em !important; word-spacing: 0.16em !important; } p { margin-bottom: 2em !important; }

What are common failures of WCAG 1.4.12?

Common issues that cause text spacing failures: Fixed height containers: Text overflows or gets cut off Absolute positioning: Text overlaps other content Pixel-based spacing: Doesn't scale with font size Overflow hidden: Content becomes invisible Tight layouts: Elements collide when spacing increases Fixed width with nowrap: Text can't expand Background images with text: Text moves out of readable area Test your layout by applying the WCAG spacing values and checking for content loss, overlap, or horizontal scrolling.

Does this apply to all text on my website?

WCAG 1.4.12 applies to most text content, with some exceptions: Must comply: Body text and paragraphs Headings and titles Navigation links Button labels Form labels and inputs List items Exempt: Captions on images or videos Text in images (logos, screenshots) Text that's part of a logo or brand name The requirement is that when users override spacing, content must remain readable - you don't have to use these values by default.

Can I test this on my production website?

Yes! There are several ways to test WCAG 1.4.12 on your live website: Browser bookmarklet: Create a bookmarklet that applies WCAG spacing via JavaScript Browser extension: Use extensions like "Text Spacing Editor" or "WCAG Text Spacing" Custom stylesheet: Apply user stylesheet in browser settings with WCAG spacing DevTools: Add spacing CSS in browser DevTools and inspect the page Automated testing: Use tools like axe DevTools or Pa11y to check compliance This tool helps you understand the requirements and test sample content before implementing on your site.

Related tools

More Accessibility tools.