joaooliveira
Crownpeak (Retired)

Do not use white space characters to control spacing within a word

Why is this important?

Whenever a set of characters is intended to be rendered as a single word ensure that the text does not include line breaks or white space within the word. Line breaks and white space can cause assistive technology or search engine to not be programmatically recognised or interpret the single word as separate characters and thus rather than saying the word it may spell out the letters one at a time. If unevenly distributed white spaces can also affect dyslexic users by creating rivers of white making it harder to read e.g. W   H  I   T  E.

How can I resolve this issue?

Avoid using white spaces in text or alternatively if it is unavoidable you can use CSS with letter-spacing for a similar effect in an accessible way.

What topics do this checkpoint affect?

  • Accessibility (WCAG 2.1 Level A, 1.3.2)

Can you explain how this checkpoint works?

The checkpoint examines the entire HTML source code of a page and reports if at least 3 consecutive spaces are found.

References

Labels (1)

Can't find what you are looking for?

Find Answers

Search our DQM Forum to find answers to questions asked by other DQM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question