F24: Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa
Corpus WCAG 2.2Applies to WCAG 2.0, 2.1, 2.2Level AA, AAAAutomatable: yes
Summary: specifying foreground colors without specifying background colors or vice versa
Why it fails: This page reproduces the F24 failure pattern so auditors can verify detection against 1.4.3, 1.4.6, 1.4.8.
Failure technique
Understanding
Quickref
Intentional failure — audit this region
F24
Light gray text with no background color declared on this element.
<p class="f24-text">Light gray text with no background color declared on this element.</p>Expected audit result
- 1.4.3: fail — Specimen demonstrates failure of 1.4.3.
- 1.4.6: fail — Specimen demonstrates failure of 1.4.6.
- 1.4.8: fail — Specimen demonstrates failure of 1.4.8.
Manual check: Confirm the specimen demonstrates the documented F24 failure in isolation.