prefers-reduced-motion: what to change when people ask for less motion

Some people get dizzy or sick from movement on screen, and others find it distracting. Every major system has a setting for it, and browsers pass it to the page as the prefers-reduced-motion media feature. Respecting it does not mean a static page: it means replacing movement with gentler changes.

Every Motionmart item ships with a reduced-motion version. Browse them at https://motionmart.store/components

Where people turn it on

What to reduce, and what can stay

In CSS

Write the full animation for everyone and override it inside the media query. A blunt reset that sets every transition and animation duration to almost zero is a useful safety net, because transitionend still fires and nothing waits forever, but a hand-made reduced version per component reads better.

.panel { transition: transform 420ms var(--spring); }

@media (prefers-reduced-motion: reduce) {
  .panel { transition: opacity 150ms ease; transform: none; }
}

In JavaScript

Read the same query with matchMedia and listen for changes, since people can switch it while the page is open. A canvas or WebGL scene should render one still frame instead of running its loop.

const reduce = window.matchMedia('(prefers-reduced-motion: reduce)');
let still = reduce.matches;
reduce.addEventListener('change', (e) => { still = e.matches; });

In React and Vue

Test it

In Chrome DevTools, open the Rendering panel and emulate prefers-reduced-motion: reduce. In Playwright, call page.emulateMedia({ reducedMotion: "reduce" }) before taking screenshots, so both versions are checked on every change.

Questions

Does prefers-reduced-motion mean no animation at all?

No. It asks for less movement. Fades, color changes and short state changes are fine; large movement, parallax, zooms and loops should stop or be replaced.

Which browsers support prefers-reduced-motion?

All current versions of Chrome, Edge, Firefox and Safari, on desktop and mobile.

Is reduced motion required by WCAG?

WCAG 2.2 success criterion 2.3.3 (level AAA) asks that motion triggered by interaction can be turned off unless it is essential. Respecting the system setting is the usual way to meet it.

Browse by use case