accessibility-guidelines

This document is in beta. Help us by reporting issues via Github or email.

Back to the overview page

Device motion

Does a feature uses the device’s motion (like shaking or tilting)?
→ Make sure that responses to these motions can be turned off. And that the feature can be used in another way.

If you’ve implemented any feature that responds to moving or shaking the device (like shake to undo), make sure that the same functionality is available in other ways (like pressing a button), and that responses to motions can be disabled.


On this page:


Requirements

Why?

This helps people who:

Fixing this will ensure users:

Common mistakes

Official wording in the Web Content Accessibility Guidelines

2.5.4 Motion Actuation: Functionality that can be operated by device motion or user motion can also be operated by user interface components and responding to the motion can be disabled to prevent accidental actuation, except when: (Level A)

See the W3C’s detailed explanation of this guideline with techniques and examples.

More info

Sources

Contribute

This document is in beta. Help us by reporting issues via Github or email.