free tools runs in this tab no account, no upload
Text spacing
What are the WCAG 1.4.12 text spacing values at my font size?
Type a font size and get the four WCAG 1.4.12 text spacing values in px and em, applied to a sample as you type. Free, and it runs in your browser.
The quick brown fox jumps over the lazy dog, at the size body text is actually set.
The quick brown fox jumps over the lazy dog, at the size body text is actually set.
/* Values to survive, not values your design has to use */
line-height: 1.5;
letter-spacing: 0.12em;
word-spacing: 0.16em;
p { margin-bottom: 2em; }
- line height 1.5em 24px
- space after a paragraph 2em 32px
- letter spacing 0.12em 1.92px
- word spacing 0.16em 2.56px
- success criterion w3.org/TR/WCAG22/#text-spacing 1.4.12 Text Spacing, Level AA
Drag this link to your bookmarks bar, then press it on the page you want to check. Press it again to remove the spacing.
A site with a strict content security policy may block bookmarklets, and then nothing happens.
how to use it
- Type the font size of the body text you are checking, in px.
- Read the four values and look at how the sample sits with them applied.
- Drag the bookmarklet to your bookmarks bar to try the same spacing on a page.
what this page cannot do
The extension applies the spacing to a live page, measures every box before and after, and lists the ones that newly cut their text off, which a calculator and a bookmarklet leave to your eyes.
Text stress in the panel Does this page survive WCAG text spacing, and right-to-left?
no host permissions · 24-hour trial