Crownpeak (Retired)

Do not use absolute fixed text

Why is this important?

People with low vision or dyslexia may override an author's set spacing to enable readability or increased reading speed. Increased spacing between lines, words, letters, and paragraphs has benefits for people who override author settings via user stylesheet, bookmarklet, extension, or application. Setting a fixed format (px, cm, mm, pt, pc) on letter-spacing, line-height or word-spacing may restrict the ability of these users to override the default setup of the page. If the line-height is defined in pixels but the font size is larger than the pixel value, lines of text will clash into each other. If letter or word spacing is defined in an absolute value larger text might have letters or words that are too close to each other. This is now a recommended checkpoint only. Not using absolute fixed text will help to prevent possible accessibility issues on your website, but if used may not necessarily fail a WCAG topic.


How can I resolve this issue?

Instead of using fixed font measurements use relative font measurements instead such as em and % that adjust based on how the page is being viewed.

What topics do this checkpoint affect?

  • Accessibility (This is now a recommended checkpoint only)

Can you explain how this checkpoint works?

This checkpoint flags an issue when: 

  • The CSS property letter-spacing: is using a fixed format (px, cm, mm, pt, pc) 
  • The CSS property line-height: is using a fixed format (px, cm, mm, pt, pc) 
  • The CSS property word-spacing: is using a fixed format (px, cm, mm, pt, pc)
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