Line height set with !important in style attributes must be at least 1.5

distinguishable/line-height · WCAG 1.4.12 · Level AA

Line height set with !important in style attributes must be at least 1.5.

WCAG 1.4.12 requires users to be able to override text spacing. Using !important on line-height with a value below 1.5 prevents this. Either increase the value to at least 1.5 or remove !important.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0