- Success Criterion 2.5.4
- Conformance level A
- W3C reference F106
Shake or Tilt Control With No Way to Turn It Off
2.5.4 — Motion Actuation
Scenario
Setting
A streaming music app's search results
What’s wrong
A shake/tilt-controlled feature can't be switched off — users with tremors trigger it accidentally, and users who can't move the device can't use it.
Example
window.addEventListener('devicemotion', undoLastAction); // shake-only Why it matters
People with tremor and people whose device cannot be moved freely.
How to test
Trigger the motion-activated feature (shake, tilt), then check device/app settings for a way to turn it off: if no such setting exists, it fails.
How to fix
Add a UI control for the motion feature and a setting to turn motion input off. window.addEventListener('devicemotion', undoLastAction); // plus a visible Undo button doing the same thing Motion-triggered actions need a standard UI control alternative, and a way to turn motion actuation off.
Outcome
On a streaming music app's search results, this barrier is gone for people with tremor and people whose device cannot be moved freely — they no longer have to work around this.
Who is affected
People with tremor and people whose device cannot be moved freely.
Learn more
- Understanding Understanding document (opens in a new tab)
- Technique Related technique (opens in a new tab)