WCAG 1.4.12: Text Spacing

Level AA

Quick answer: Users must be able to increase line height, paragraph spacing, letter spacing, and word spacing without content breaking.

What This Means

On ecommerce sites, Text Spacing usually shows up in repeating storefront components such as product cards, PDP media, search results, cart drawers, checkout forms, and support content. If the live experience depends on patterns like pdp accordions clip text when line height is increased. or coupon banners with uppercase text overflow when letter spacing is customized., disabled shoppers can lose context or get blocked before purchase.

This criterion matters because D2C teams often fix the homepage but miss reusable app blocks, campaign pages, and mobile-specific UI. The practical standard is simple: build the same outcome for keyboard users, screen-reader users, low-vision users, and anyone relying on captions, labels, structure, or predictable behavior.

For Shopify, WooCommerce, and custom storefronts, the fastest remediation path is usually template-level work. Fix the repeated component once, then retest every place it appears across browse, buy, and post-purchase journeys.

Common Violations on Ecommerce Sites

How to Fix It

Start with the live customer journey, not isolated components in Storybook or Figma. Audit the problem on category pages, product detail pages, quick views, cart, checkout, account, and help templates.

  1. Avoid fixed heights on text containers that shoppers may customize.
  2. Let buttons, tags, and helper messages wrap to multiple lines.
  3. Test popular user stylesheet spacing settings on checkout and account flows.
  4. Use margin and padding that tolerate expanded paragraph spacing.

On Shopify, fix the theme section or app block that repeats the defect. On WooCommerce and WordPress, update the template override or plugin output. In custom React or headless storefronts, move the fix into shared components so merchandisers cannot reintroduce the issue with every campaign.

Code Example

<!-- Before -->
.notice { height: 48px; }

<!-- After -->
.notice { min-height: 48px; height: auto; }

FAQ

What is WCAG 1.4.12?
Users must be able to increase line height, paragraph spacing, letter spacing, and word spacing without content breaking.

How does WCAG 1.4.12 affect ecommerce sites?
It affects ecommerce anywhere shoppers interact with pdp accordions clip text when line height is increased. and coupon banners with uppercase text overflow when letter spacing is customized. If those patterns are inaccessible, customers can miss product information, fail forms, or abandon checkout.

How to fix WCAG 1.4.12 violations?
Start by auditing the live storefront, then Avoid fixed heights on text containers that shoppers may customize.; Let buttons, tags, and helper messages wrap to multiple lines.; Test popular user stylesheet spacing settings on checkout and account flows.. Prioritize templates and apps that repeat the issue across product, cart, checkout, and account pages.

Check if your store passes WCAG 1.4.12 → Free ADA Compliance Scan