F54: Failure of Success Criterion 2.1.1 due to using only pointing-device-specific event handlers (including gesture) for a function
Corpus WCAG 2.2Applies to WCAG 2.0, 2.1, 2.2Level A, AAAAutomatable: yes
Summary: using only pointing-device-specific event handlers (including gesture) for a function
Why it fails: This page reproduces the F54 failure pattern so auditors can verify detection against 2.1.1, 2.1.3.
Failure technique
Understanding
Quickref
Use a mouse — the control listens to mousedown only with no keyboard equivalent.
Intentional failure — audit this region
F54
Press (mouse only)
<div class="f54-btn" onmousedown="document.getElementById('f54-out').textContent='Activated'">Press (mouse only)</div>
<p id="f54-out"></p>Expected audit result
- 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 F54 failure in isolation.