WCAG 2.5.4: Motion Actuation
Understanding WCAG 2.1 Success Criterion 2.5.4: Motion Actuation
WCAG 2.1 Success Criterion 2.5.4 Motion Actuation (Level A) mandates that if functionality is triggered by device motion or user gestures, an alternative method not requiring motion must be provided. This ensures that all users, regardless of their physical abilities or environment, can interact with the content.
This criterion specifically addresses interactions such as shaking, tilting, or rotating a device to perform an action. For instance, if shaking a phone performs an „undo” action, there must also be a standard user interface component (like an „Undo” button) that achieves the same result.
Why Motion Actuation Matters for Accessibility
Relying solely on motion-based input creates significant barriers for many users. Providing non-motion alternatives is crucial for universal accessibility:
By offering alternatives, designers and developers ensure that functionality is accessible to the widest possible audience, promoting inclusivity and a better user experience for everyone.
Success Criterion 2.5.4 Requirements
The official wording for Success Criterion 2.5.4 Motion Actuation is:
2.5.4 Motion Actuation: Functionality that is triggered by moving the device or by a gesture of the user (e.g., shaking, tilting, or rotating the device) can also be operated by user interface components, unless the motion is essential for the function or the motion is performed through a supported accessibility API. (Level A)
Let’s break down the key components of this criterion:
Practical Guidelines for Compliance
To ensure your web content complies with SC 2.5.4, follow these practical guidelines:
Examples of Correct and Incorrect Implementations
Correct Implementation Example: Shake to Undo with a Button Alternative
In this example, shaking the device triggers an „undo” action, but a clearly visible „Undo” button is also provided for users who cannot or prefer not to use motion.
Incorrect Implementation Example: Shake to Undo (Motion Only)
This implementation fails WCAG 2.5.4 because the „undo” action can only be triggered by shaking the device, with no alternative UI component provided.
Best Practices and Common Pitfalls
Best Practices:
Common Pitfalls:
By adhering to WCAG 2.1 SC 2.5.4, you contribute to building a more inclusive web where everyone can access and interact with digital content effectively.
Related posts
- WCAG 5.2.3: Complete processes
- WCAG 5.2.4: Only Accessibility-Supported Ways of Using Technologies
- WCAG 5.2.5: Non-Interference
- WCAG 5.3.1: Required elements of the conformity declaration
- WCAG 5.3.2: Optional Components of a Conformance Claim
Still looking for answers?
Ask our experts using online chat