Inappropriate Line Height Check
Description
The “Inappropriate Line Height Check” evaluates whether the CSS line-height
for all applicable elements is at least 1.5 times the font size, as required for enhanced readability.
Example outcome
I identified 1 instance where CSS specifies a spacing between lines smaller than 1.5.
Impact
- Visual Impairments: Users with low vision may use screen magnification, which can make densely spaced text more difficult to track.
- Motor Impairments: People relying on assistive tech (e.g. voice control or switches) may have a harder time navigating denser text blocks.
- Cognitive Disabilities: Insufficient spacing can reduce focus and reading comprehension, especially in longer content.
- Dyslexia: Tight line spacing causes lines of text to visually blend together, increasing cognitive load and reducing reading accuracy.
Fixes
To address inappropriate line height:
- Locate the text or readable element where line height is inferior than 1.5 times the text or readable element size.
- Update the CSS referent to that text or readable element to ensure a minimum
line-height
of 1.5.