Digital Quality Management
cancel
Showing results for 
Search instead for 
Did you mean: 

DQM Checkpoints and Standards

Checkpoints - Use relative font measurements

 

Absolute sizing dimensions should not be utilised to specify font size. When absolute font sizes are used, users may not be able to increase or decrease the size of the font or the font may become unreadable or overlap other content. Declaring font sizes in relative units will not only allow the user to increase or decrease the font size but will also automatically display in a size relative to their existing browser settings.

Text font size specified in em units allows user agents to scale content effectively. Since the em is a property of the font, it scales as the font changes size. If a font-size is specified for the body element, all other elements inherit that value, unless overridden by a more specific selector.

Absolute font size:

  • Small
  • Large
  • Smaller
  • Larger
  • Medium
  • Inherit
  • px (pixel)
  • pt (points)
  • pc (picas)
  • in (inches)
  • cm (centimeters)
  • mm (millimeters)

 

Affects Accessibility (WCAG 2 Level AA, 1.4.4)
Technical Details The checkpoint examines the entire HTML source code of a page and reports if any absolute font size are used within the measurement tags.
References

Understanding Success Criterion 1.4.4: Resize text

C14: Using em units for font sizes

Labels (2)
Version history
Revision #:
4 of 4
Last update:
‎05-14-2019 01:16 PM
Updated by:
 
Looking for more?
Ask in Discussions
Developers

Peer-to-peer support  and answers on developing CMS templates, modifying privacy scripts or building integrations.

Digital Experience Management

Find answers and ask questions on content management, personalization and targeting.

Digital Quality Management

Find answers and ask questions on WCAG and SEO quality management.

Digital Governance

Find answers and ask questions on consent and monitoring solutions.