Skip to main content
WCAGrules
Quick navigation

ACT Rule 24afc2

Important letter spacing in style attributes is wide enough

Text spacing is a setting some people need before they can read at all. An inline style marked !important cannot be overridden by anything the reader brings with them. This rule checks that a style attribute is not pinning letter-spacing below the 0.12 times the font size the criterion asks for.

A tool can decide this one on its own, which is why it turns up in scanner output. The rule is approved, which in W3C's process means it was implemented in full by at least one tool or methodology and then signed off by a working group. Approval is a statement about tools, not a statement that this is the settled way to test the criterion.

What passing this rule proves

When this rule fails, 1.4.12 Text Spacing is not satisfied, and that half is certain. When it passes, W3C's own outcome mapping says the criterion still needs further testing. So a green result here is evidence that one specific thing is not broken, and it is the answer W3C gives on 59 of its 87 live rules.

It looks at style attributes because those are the ones a reader's own stylesheet cannot beat. Spacing pinned in a stylesheet is a different problem and this rule does not see it. The real test is applying the criterion's four spacing values and reading the page for text that now overlaps or gets cut off.

The criteria this rule is a test for

These are the criteria the rule names as its own conformance requirement. Each one is a far bigger question than this rule asks, and our page for it sets out what the whole criterion covers.

The normative rule text lives at W3C

What the rule applies to, and exactly what it expects, is published by W3C and can change. We link to it rather than restate it, so nothing here can quietly fall out of date against the source. Read rule 24afc2 at W3C.

Text must survive when users adjust spacing

People with dyslexia and low vision often increase line height, letter spacing or word spacing to read comfortably. The criterion sets the amounts a page must tolerate without losing content.

The failure is not the spacing itself. It is what the spacing reveals. A container with a fixed height clips its own text once the text needs more room.

Inline styles marked important are the direct cause. They override the user's own stylesheet and stop the adjustment from applying at all. The text overflows and becomes unreadable.

1.4.12 Text Spacing

Fixes that satisfy it

If this rule fails on your site, these are the techniques that put it right.

Other rules W3C files under the same criteria

Each of these asks a different question about the same part of the standard. Passing all of them is still not the same as satisfying the criterion.

All 87 ACT rules are grouped by the criteria they test, and 24 of them decide nothing about WCAG on their own. Run a free scan to see which of these your own pages trip.

Go somewhere useful

Find tools, resources and your workspace.

29 destinations