- Success Criterion 2.5.4
- Conformance level A
Motion Input Triggered Accidentally by Hand Tremors
2.5.4 — Motion Actuation
Scenario
Setting
A photo-sharing app's upload screen
What’s wrong
Motion input that can be triggered accidentally (tremor) with no setting to turn it off.
Example
window.addEventListener('devicemotion', (e) => {
if (e.acceleration.x > 3) undoLastEdit(); // threshold is low, and there is no off switch
}); Why it matters
Someone with a hand tremor loses their last filter adjustment just from ordinary shaking while holding the phone.
How to test
Hold the device with a slight natural tremor: if the motion feature triggers accidentally with no setting to turn it off, it fails.
How to fix
Motion sensitivity thresholds are too easy to trip involuntarily; make an explicit undo button the default path.
<button onclick="undoLastEdit()">Undo</button>
// the devicemotion listener is removed, or gated behind a settings toggle that defaults to off Outcome
A user with tremor edits photos without losing work to accidental shakes.
Who is affected
People with Parkinson's, essential tremor, or any condition causing involuntary hand movement.
Learn more
- Understanding Understanding document (opens in a new tab)