Very low font size that makes the text unreadable
Description
Rule ID: minimum-font-size
This rule determines if a given element has a defined font size of 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 while still being 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