--- url: "https://www.w3.org/WAI/WCAG22/Techniques/css/C8" titulek: "C8: Using CSS letter-spacing to control spacing within a word | WAI | W3C" h1: "Technique C8:Using CSS letter-spacing to control spacing within a word" popis: "" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 04:43:34" znaku: 2111 slov: 285 kodovani: "utf-8" sha256: "d49223365ad835d8173426871a7150d057e914555da7ba40560b7b2d22a17362" --- # Technique C8:Using CSS letter-spacing to control spacing within a word ## About this Technique This technique relates to: - [1.3.2 Meaningful Sequence](https://www.w3.org/WAI/WCAG22/Understanding/meaningful-sequence) ( **Sufficient** when used with [G57: Ordering the content in a meaningful sequence](../general/G57) ) - [1.4.5 Images of Text](https://www.w3.org/WAI/WCAG22/Understanding/images-of-text) ( **Advisory** ) - [1.4.9 Images of Text (No Exception)](https://www.w3.org/WAI/WCAG22/Understanding/images-of-text-no-exception) ( **Advisory** ) - [1.4.12 Text Spacing](https://www.w3.org/WAI/WCAG22/Understanding/text-spacing) ( **Advisory** ) This technique applies to all technologies that support CSS. Techniques are examples of ways to meet Web Content Accessibility Guidelines (WCAG). They are **not required** to meet WCAG. Content can satisfy the normative requirements of WCAG even if it does not use any of the documented techniques. See [About WCAG Techniques](https://www.w3.org/WAI/WCAG22/Techniques/about). ## Description The objective of this technique is to demonstrate how the visual appearance of spacing in text may be enhanced via style sheets while still maintaining meaningful text sequencing. The CSS `letter-spacing` property helps developers control the amount of white space between characters. This is recommended over adding blank characters to control the spacing, since the blank characters can change the meaning and pronunciation of the word. ## Examples ### Example 1: Increasing the spacing between characters in a word The following CSS would add the equivalent of a space between each character in a level-2 heading: #### The CSS ``` h2 { letter-spacing: 1em; } ``` #### The HTML ```

Museum

``` The rendered result might look something like: ``` M u s e u m ``` ## Related Resources *No endorsement implied.* - [MDN - `letter-spacing`](https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing) ## Tests ### Procedure For each word that appears to have non-standard spacing between characters: 1. Check whether the CSS letter-spacing property was used to control spacing. ### Expected Results - Check #1 is true. Back to Top