F59: Failure of Success Criterion 4.1.2 due to using script to make div or span a user interface control in HTML without providing a role for the control
Corpus WCAG 2.2Applies to WCAG 2.0, 2.1, 2.2Level A, AAAAutomatable: partial
Summary: using script to make div or span a user interface control in HTML without providing a role for the control
Why it fails: This page reproduces the F59 failure pattern so auditors can verify detection against 4.1.2, 1.3.1, 2.1.1, 2.1.3.
Failure technique
Understanding
Quickref
Intentional failure — audit this region
F59
Flashing region may exceed safe thresholds.
<div class="f59-flash" aria-hidden="true"></div>
<p>Flashing region may exceed safe thresholds.</p>Expected audit result
- 4.1.2: fail — Specimen demonstrates failure of 4.1.2.
- 1.3.1: fail — Specimen demonstrates failure of 1.3.1.
- 2.1.1: fail — Specimen demonstrates failure of 2.1.1.
- 2.1.3: fail — Specimen demonstrates failure of 2.1.3.
Manual check: Confirm the specimen demonstrates the documented F59 failure in isolation.