Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Text spacing overrides break layout: how to find and fix it

PRF-334Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Many people with dyslexia, low vision or reading difficulties use a browser extension, a user stylesheet or a bookmarklet to open up the spacing of text. WCAG 1.4.12 (Text Spacing) says content must still work when a user sets these values:

The text spacing values WCAG 1.4.12 tests against
PropertyValue to support
Line height (line-height)At least 1.5 times the font size
Paragraph spacingAt least 2 times the font size
Letter spacing (letter-spacing)At least 0.12 times the font size
Word spacing (word-spacing)At least 0.16 times the font size

The issue appears when your design only works with its default spacing. Text is clipped, buttons cut off their labels, or lines overlap neighbouring elements. You do not need to make your design use these values yourself. The page just must not break when a user applies them.

Why it costs you leads or sales

The business impact is low for most sites because only a minority of visitors change text spacing. But those visitors are exactly the ones who rely on it. If a field label, error message or button label is cut off, they cannot complete the form or checkout. You also carry legal and procurement risk where accessibility standards apply to you.

Where a spacing override breaks a lead form
  1. Landing pageReads the offer with custom spacing
  2. Form fieldsLabels wrap and overlap the inputs
  3. Submit buttonLabel is clipped by a fixed height
  4. Lead receivedNever reaches your inbox

A visitor who uses wider spacing reaches the form but cannot read the submit button.

Fixed box versus flexible box

Breaks

  • Button has height: 44px and overflow: hidden
  • Wider spacing pushes the label onto two lines
  • Second line is cut off

Works

  • Button has min-height: 44px and padding
  • Box grows to fit two lines
  • Full label stays readable

How to check if your site has it

Test your pages with increased text spacing
  1. Apply the spacing values

    Use a text spacing bookmarklet or browser extension that sets the four values from the table above. Alternatively, paste the CSS below into a user stylesheet or the DevTools console as a temporary style.

  2. Walk through key pages

    Check the home page, landing pages, forms, cart, checkout, cookie banner, menus and pop-ups.

  3. Look for clipped or overlapping text

    Watch for cut-off button labels, labels covering inputs, text spilling out of cards, and menus that hide items.

  4. Test at a narrow width too

    Repeat on a phone-sized window, where there is less room for text to grow.

Test CSS that mirrors WCAG 1.4.12 (for testing only)css
* {
  line-height: 1.5 !important;
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}
p {
  margin-bottom: 2em !important;
}

How to fix it

Make containers grow with their text
  1. Replace fixed heights

    Change height to min-height on buttons, cards, banners, menu items and form rows. Use padding to create space.

  2. Remove clipping

    Avoid overflow: hidden on text containers unless the content truly cannot grow. Also avoid text-overflow: ellipsis and white-space: nowrap on important labels.

  3. Use relative units

    Size boxes with em or rem so they scale with the text, rather than fixed px heights.

  4. Avoid absolute positioning for text

    Labels, error messages and hints positioned absolutely over inputs will collide when text grows. Put them in normal flow.

  5. Re-test

    Apply the test spacing again and check every key page.

A button that survives wider spacingcss
.btn {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
}
Where to make the change
  1. Find the rule

    Use browser DevTools to find the CSS rule that sets the fixed height. It usually lives in your theme or page builder styles.

  2. Override it

    Add the fix under Appearance > Customize > Additional CSS (or in a child theme), changing height to min-height and removing overflow: hidden.

How to confirm it's fixed

Confirmation checklist
  • With the test spacing applied, no button, label or error message is cut off
  • No text overlaps another element
  • Forms can be filled in and submitted
  • Menus, cookie banner and pop-ups show all their text
  • Checked on desktop and a phone-sized window
  • Page still looks right with the test spacing removed

How to prevent it happening again

Add the text spacing check to your design and QA checklist for every new template, form and component. Write CSS with min-height and padding as the default. Re-run the test after theme updates, page builder changes and new plugins or apps, since they often bring their own fixed-size styles.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. FunnelGuard is a synthetic monitoring service that runs your real customer journeys on a schedule and checks steps, tracking hits and lead delivery. It does not test how your layout responds to user-applied text spacing. The right tool is an accessibility testing tool: a browser extension or automated accessibility scanner, combined with a manual check using a text spacing bookmarklet. If a broken layout stops the robot visitor from completing a form or button step, that would show up as a failed journey, but FunnelGuard would not identify the spacing cause.

Questions people ask

What is WCAG 1.4.12 text spacing?

WCAG 1.4.12 (Text Spacing) is a Level AA success criterion. It says content must keep working with no loss of text or function when a user sets line height to 1.5, paragraph spacing to 2, letter spacing to 0.12 and word spacing to 0.16 times the font size.

Why is my text cut off when I increase letter spacing?

The text sits inside a box with a fixed height or width, often with overflow hidden. Wider spacing makes the text need more room than the box has, so the extra gets clipped. Use min-height, padding and normal wrapping so the box can grow.

How do I test text spacing on my website?

Apply a text spacing bookmarklet or browser extension, or temporarily inject CSS that sets line-height 1.5, letter-spacing 0.12em, word-spacing 0.16em and paragraph margins of 2em. Then look through your key pages for clipped or overlapping text.

Do I have to use these spacing values in my design?

No. The rule does not require you to use these values by default. It requires that nothing breaks when a user overrides spacing to these values or more.

Does text spacing affect conversions?

Usually only a little, because few visitors change text spacing. But for those who do, a clipped button or label can stop them from completing a form or checkout.

Which CSS patterns most often break under text spacing changes?

Fixed height values, overflow: hidden, white-space: nowrap, text-overflow: ellipsis on important labels, and absolutely positioned labels or error messages over inputs. Replace them with min-height, visible overflow, normal wrapping and in-flow placement.

Can FunnelGuard check text spacing problems?

No. FunnelGuard monitors journeys, tracking and lead delivery, and does not test text spacing overrides. Use an accessibility testing tool or a manual bookmarklet check for this.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.