# Reduced motion

Reduced motion is a setting in the operating system that asks apps to minimise non-essential movement, and `prefers-reduced-motion: reduce` is how a web page reads it. A good response replaces sliding, scaling and spinning with fades, so state changes still show. Meadowstack's kit does exactly that in one block of CSS, because switching animation off froze its loading states.

Checked 2 December 2026. By Bohuslav Poláček. https://meadowstack.com/glossary/reduced-motion/

*The start of the kit's reduced-motion block: every moving keyframe becomes a fade of the same length, and the spinner pulses.*

From `packages/kit/src/styles/kit.css` in the Meadowstack repository:

```css
 * Reduced motion means fades only, not no feedback (audit C1b). Every
 * keyframe that moves or scales becomes a fade, the spinner pulses instead
 * of turning, and transitions keep colour and opacity but drop transform, so
 * nothing slides, grows or rotates. The old rule set every animation to
 * 0.01ms, which froze the spinner and the skeleton: a user with reduced
 * motion could not tell that data was loading.
 * 1 Dec 2026 (decision 0015, the audit's reduced-motion rule): what stays is
 * short. Every motion step lasts --duration-exit (120ms) at most, so a fade
 * is a quick change of state, not a slow dissolve; a transition the kit's
 * classes ask for keeps its 120ms colour or opacity fade, any other
 * transition (an inline style, a component's own CSS) changes at once. The
 * loading loops (spinner, skeleton, typing dots) keep their slow pulse: they
 * say that work is in progress.
 */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-press: var(--duration-exit);
    --duration-enter: var(--duration-exit);
    --duration-drawer-enter: var(--duration-exit);
    --duration-drawer-exit: var(--duration-exit);
    --duration-pop: var(--duration-exit);
    --duration-morph: var(--duration-exit);
    --duration-layout: var(--duration-exit);
    --duration-glide: var(--duration-exit);
    --default-transition-duration: var(--duration-exit);
    --animate-check-draw: fade-in var(--duration-exit) var(--ease-out) both;
    --animate-pop-in: fade-in var(--duration-enter) var(--ease-out);
    --animate-pop-out: fade-out var(--duration-exit) var(--ease-out) forwards;
    --animate-fold-in: fade-in var(--duration-enter) var(--ease-out);
    --animate-fold-out: fade-out var(--duration-exit) var(--ease-out) forwards;
    --animate-fold-row: none;
    --animate-slide-in: fade-in var(--duration-drawer-enter) var(--ease-out);
    --animate-slide-out: fade-out var(--duration-drawer-exit) var(--ease-out) forwards;
    --animate-rise-in: fade-in var(--duration-enter) var(--ease-out);
    --animate-spin: pulse 1.6s ease-in-out infinite;
```

## Why it matters in a business app

Business apps move a lot when they are made well: a record panel slides in beside the list, a card is dragged across a board, a finished task's line runs across it. For some people movement on screen is a physical problem, not a matter of taste, and others find it distracting over a working day.

The easy fix, every animation at 0.01ms, breaks feedback. A spinner that does not turn and a skeleton that does not shimmer look like a frozen screen, and a panel that appears with no transition is easy to miss.

## How Meadowstack handles it

- **Fades only.** Under `prefers-reduced-motion: reduce`, `kit.css` redefines the kit's animation tokens: pop, fold, slide, rise, blur and sheet become fades of the same length; nudges, bursts and lifts go away.
- **Feedback stays.** The spinner pulses instead of turning, a [skeleton](https://meadowstack.com/glossary/skeleton-screen/) keeps a slow pulse, a working step keeps a still, full ring.
- **Pages.** Page changes use View Transitions; with reduced motion nothing is named, so the page only fades.
- **Scroll-tied effects stay.** Effects driven by the scroll position follow the person's own hand, not the clock, so they are kept.
- **Central, so it holds.** `npm run check:motion` makes every interactive element move with the kit's tokens and flags hand-made curves and lengths, so the one reduced-motion block covers the whole app. The catalogue is `docs/motion.md`.

## Common mistakes

- **Killing all animation.** Loading states freeze and nothing tells people the app is working.
- **Only CSS.** A JavaScript animation library that ignores the media query keeps sliding.
- **Hand-made timings.** A `duration-[450ms]` in one component escapes the central switch; tokens do not.

## Questions

### Where do people turn on reduced motion?

In the operating system: on macOS and iOS under Accessibility, on Windows 11 under Accessibility, Visual effects, Animation effects, on Android as Remove animations. Browsers pass the setting to pages as prefers-reduced-motion.

### Does WCAG require support for reduced motion?

Criterion 2.3.3 Animation from Interactions asks that motion triggered by interaction can be disabled unless it is essential. It is level AAA, so it is not part of the usual AA target, but honouring the setting is how most apps meet it.

### Should reduced motion remove all transitions?

No. Changes of colour and opacity are fine and keep feedback visible. Movement, scaling and rotation are what the setting asks to reduce.

## Sources

- [MDN, prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion), checked 2 December 2026
- [WCAG 2.2, 2.3.3 Animation from Interactions](https://www.w3.org/TR/WCAG22/), checked 2 December 2026

## Related

- [Business app UI check](https://meadowstack.com/tools/ui-check/) (Tools)
- [The business app UI standard, with the numbers behind each rule](https://meadowstack.com/blog/business-app-ui-standard/) (Blog)
- [What a phone audit of our own website found](https://meadowstack.com/blog/phone-audit-of-our-website/) (Blog)
- [A workflow canvas where a test run walks the steps](https://meadowstack.com/screens/workflow-canvas/) (Screens)
- [An invoice form that shows its totals as you type](https://meadowstack.com/screens/invoice-form/) (Screens)
- [BulkBar: what to do with the selection](https://meadowstack.com/components/bulk-bar/) (Components)
