• Success Criterion 1.4.12
  • Conformance level AA

Author CSS Blocking the User’s Own Text-Spacing Stylesheet

1.4.12 — Text Spacing

Scenario

Setting

A nonprofit's donation form

What’s wrong

!important inline/author styles blocking user stylesheet overrides from applying at all.

Example

* { line-height: 1 !important; letter-spacing: 0 !important; }

Why it matters

People with dyslexia or low vision who apply extra text spacing to read.

How to test

Apply the text-spacing override via a user stylesheet or extension: if the page's own !important CSS blocks the override from applying at all, it fails.

How to fix

With user text-spacing overrides applied (line height 1.5, paragraph 2x, letter 0.12em, word 0.16em), all content and controls must remain visible and usable. /* No !important overrides — let user style sheets adjust spacing */ !important locks out user stylesheets that increase line/letter/word spacing for readability.

Outcome

On a nonprofit's donation form, this barrier is gone for people with dyslexia or low vision who apply extra text spacing to read — they can finish what they came here to do.

Who is affected

People with dyslexia or low vision who apply extra text spacing to read.

Learn more