Reduced motion

What it is

Reduced motion is a user preference that asks an interface to limit
movement. An operating system or browser can communicate the
preference to a website. In CSS, a `(prefers-reduced-motion:
reduce)` media query applies its rules when the user asks to reduce
motion. An interface can keep its actions and feedback available
while choosing a presentation with less movement.

Movement can be useful when it shows what changed or connects an
action to its result. An element sliding a long distance, a
continuously turning ornament or a large scene that moves as a
person scrolls can also make the page uncomfortable. Consider which
information a movement adds. A menu can reveal its options without a
visible sweep. A status can change immediately while keeping the
same result clear.

The preference should apply to the actual interface, including later
interactions. A page might arrive with stationary decorations and
still start a large transition when someone opens a menu. Review
initial load, scrolling and state changes. The rules should give
people a working product in all those situations.

Why it matters

Movement can interfere with reading, focus and a person's physical
comfort. A large transformation near the text can make it difficult
to track the place where the person was reading. A repeated
animation can continue competing with the task while the reader
tries to act. Giving users control over the motion helps them keep
their attention on a stable part of the page.

A preference also needs to cover behaviour in context. Suppose a
control opens a results panel. Removing its movement can still leave
the panel and the new result fully available. If the animation also
delayed setting an expanded state, the reduced-motion path might
reveal a bug in when the application exposes its outcome. Treat
state and movement as separate aspects of the interface and verify
that the same operations complete.

Some forms of motion carry important information about what is
happening. A process might show progress, or a moving marker might
display a change in position. Keep useful feedback through text, a
stable state indicator or a small change whose meaning is clear.
Test whether a user can identify an in-progress operation and its
completion without following a continuously moving visual cue.

What it looks like in practice

Consider a menu whose panel rotates or slides into view. Define the
opened and closed states first. With reduced motion enabled, reveal
the same items and expose the same expanded state, using a stable
appearance. Check the result with keyboard input, including where
focus goes and what happens when a person closes the menu during a
transition. Repeat after reloading the page and after opening other
controls.

Engineer's reduced-motion case study documents a blanket rule that
appeared to stop movement but lost to more specific selectors. It
describes consolidating movement rules and checking transitions in
the relevant stylesheet. The lesson applies to the delivery step.
Inspect the computed style and what actually moves under a
reduced-motion preference. A declaration in a source file is only
one part of the browser's decision.

Make the check quantitative where possible. Record the amount of
element movement after the action, and look for delayed or recurring
changes during the same interval. Confirm that necessary feedback
still appears after changing the preference. Test the variants used
for small and large layouts, because a rule dedicated to one
viewport can reintroduce movement when an ordinary style is
correctly covered.

Include the before-and-after states in the result. The menu should
still open, its items should remain reachable and the state should
be clear. These checks make progress visible even where the path has
very little movement.

Where it goes wrong

A common failure is using one broad selector that loses in the
cascade to more focused declarations. Look at the browser's computed
result for each major interaction. Check transitions and animations
that start in a different stylesheet or a later media query.
Preserve a clear place for motion rules so a new component can be
reviewed against the same contract.

A change can also remove timing without adjusting the associated
interaction. State updates tied to the end of an animation may not
run as intended when the transition is immediate. Define the final
state independently and test the action with the preference active.
Include an interrupted action and the case of opening and closing a
control quickly.

Test the preference as it changes where the platform supports live
updates. A page might read its value only when it first loads. A
person can then change the system setting while the page stays open.
A browser exercise can open a menu, change the emulated preference
and trigger another movement. Inspect the end state and whether a
recurring animation continues. Separate preference detection from
the rules that pick the presentation.

Include motion initiated by layout. Focus and scroll may move the
viewport even when an explicit decorative transition is disabled.
The interface can give prominence to its target without a long
asymmetric animation. Test both keyboard navigation and a
pointer-initiated action, and check how a user finds the new state
in each case.

Finally, distinguish useful feedback from ornament. A reader should
be able to tell whether something is loading, expanded or complete
when large motion is reduced. Observe the relevant text, focus and
state in the delivered product. Use stable cues where they fit so
the preference changes the presentation while preserving what the
person needs to do.

Further reading

  * W3C Media Queries reduced-motion feature. Defines how a user
preference is expressed in CSS.

  * WCAG Animation from Interactions. Describes
interaction-triggered motion and ways to offer control.

  * Mozilla's prefers-reduced-motion documentation. Shows CSS usage
and examples.

hThis page on the web	URL:https://engineer.company/glossary/reduced-motion/	engineer.company	70
