minimum-font-size

⌘K
  1. Home
  2. SiteLint
  3. Accessibility Rules
  4. minimum-font-size

minimum-font-size

Print this article

Description

This rule determines if a given element has defined font size no less than 10px.

Purpose

A minimum font size of 10px is recommended to ensure text is easy to read for all users. Another is ensuring that text can be expanded to 200% on Web sites and still readable.

How to fix it

  • When using CSS, most font sizes should be made in relative units (e.g. rem). Relative length units are relative to something else, mostly the size of the parent element’s font, or the size of the viewport.

Standard

Accessibility, Best Practice

Was this article helpful to you? No Yes

How can we help?