This document is in beta. Help us by reporting issues via Github or email.
Web browsers allow users to change the spacing between lines of text, letters, words and paragraphs. Make sure that no loss of content or functionality happens when users do that.
On this page:
If users apply all of these changes together, no content or functionality should disappear from the screen or be truncated:
You can use a browser plug in or directly edit typographic CSS on a page to change the styles so that:
Make sure that all text fits within its containing box without being cut off or without overlapping other boxes.
1.4.12 Text Spacing (Level AA): In content implemented using markup languages that support the following text style properties, no loss of content or functionality occurs by setting all of the following and by changing no other style property:
- Line height (line spacing) to at least 1.5 times the font size;
- Spacing following paragraphs to at least 2 times the font size;
- Letter spacing (tracking) to at least 0.12 times the font size;
- Word spacing to at least 0.16 times the font size.
Exception: Human languages and scripts that do not make use of one or more of these text style properties in written text can conform using only the properties that exist for that combination of language and script.
See the W3C’s detailed explanation of this guideline with techniques and examples.
See the W3C’s detailed explanation of this guideline with techniques and examples.
This document is in beta. Help us by reporting issues via Github or email.