WCAG 2.5.4 · Level A · WCAG 2.1
Motion Actuation
Functionality triggered by device motion (shake to undo) must also have a standard UI control and be disableable.
- Principle
- Operable
- Guideline
- Input Modalities
- Level
- A
- Added in
- WCAG 2.1
What it means
Functionality triggered by device motion (shake to undo) must also have a standard UI control and be disableable.
This is the short summary — a long-form breakdown (with code examples, common failures, and fix patterns) is queued for this criterion. In the meantime, the official W3C document linked at the end of the page is the authoritative source.
Quick checks
- Run axe DevTools against the page and filter for rules citing 2.5.4.
- Navigate the component with Tab + Enter only and confirm nothing is orphaned.
- Inspect the accessibility tree in DevTools (Accessibility pane in Chrome/Firefox).
Further reading
The authoritative source is the official W3C Understanding document for 2.5.4. Framework-specific patterns and axe-rule mappings land here as the library grows.