# Reduced Motion: prefers-reduced-motion and WCAG 2.3.3

Source: https://allyway.ai/glossary/prefers-reduced-motion

Reduced motion is a user setting that asks websites to minimize non-essential animation. WCAG 2.3.3 requires that motion animation triggered by interaction can be disabled, unless it is essential.

Reduced motion is a setting in every major operating system that tells websites: please keep movement to a minimum. Parallax effects, zooming transitions and elements that slide in on scroll can trigger dizziness, nausea or headaches for people with vestibular disorders. CSS lets you react to that setting with the `prefers-reduced-motion` media query.

## What it means

[WCAG 2.3.3 Animation from Interactions](https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html) is a Level AAA criterion: motion animation triggered by interaction can be disabled, unless the animation is essential to the functionality or the information being conveyed. W3C defines motion animation as the "addition of steps between conditions to create the illusion of movement or to give a sense of a smooth transition".

The intent, in W3C's words, is to allow users to prevent animation from being displayed. It covers movement that a user's action sets off – scrolling, clicking, hovering – not videos or animations that start on their own (those fall under [Pause, Stop, Hide](https://allyway.ai/glossary/pause-stop-hide), 2.2.2).

| Situation | Under 2.3.3 |
|---|---|
| Parallax background that moves while you scroll | Must be possible to turn off |
| Page-flip transition after a click | Must be possible to turn off, e.g. via `prefers-reduced-motion` (W3C example) |
| Color or opacity change on hover | Not motion animation – no movement is simulated |
| Tool for authoring animated sequences | Allowed – the animation is essential (W3C example) |
| Auto-playing slider | 2.2.2 instead – it is not triggered by interaction |

W3C names two ways to meet it: technique C39 (the CSS `prefers-reduced-motion` query) and SCR40 (the same query in JavaScript). A visible "turn off animations" control on the page also works, as in W3C's parallax example.

> **Tip:** > **AAA, but cheap to get right**
> 2.3.3 is not required for WCAG AA, so laws based on AA do not demand it. Respecting the reduced motion setting usually takes a few lines of CSS – and spares visitors real physical symptoms.

Who benefits: people with vestibular disorders, migraine, and people who find movement distracting, such as some users with ADHD. For flashing content there is a separate, stricter Level A rule: [three flashes](https://allyway.ai/glossary/three-flashes).

## Examples

Write the full animation for everyone, then remove the movement when the visitor has asked for less:

```html title="Example"
<style>
  .card { transition: transform 0.4s ease, opacity 0.4s ease; }
  .card.is-visible { transform: translateY(0); opacity: 1; }
  .card.is-hidden  { transform: translateY(40px); opacity: 0; }

  @media (prefers-reduced-motion: reduce) {
    .card { transition: opacity 0.2s ease; } /* fade only */
    .card.is-hidden { transform: none; }
    html { scroll-behavior: auto; }
  }
</style>
<script>
  const reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
  if (!reduce) startParallax(); // SCR40: same query in JavaScript
</script>
```

**Do:** Do

Wrap parallax, zoom and slide-in effects in a reduced motion check. Replace movement with a short fade or an instant change. Set `scroll-behavior: auto` for these users. Stop autoplay in an [accessible carousel](https://allyway.ai/glossary/accessible-carousel) when the setting is on.

**Don't:** Don't

Remove focus styles or state changes along with the animation – only the movement should go. Rely on users finding a hidden toggle when the system setting already tells you what they want. Use large, full-screen motion as the only way to show that something happened.

## How to check reduced motion



## Questions

Q: What does prefers-reduced-motion do?
A: It is a CSS media feature that reports whether the visitor has asked the system to minimize non-essential motion. Its value is `reduce` when the setting is on and `no-preference` otherwise. Your styles and scripts can then turn movement off or replace it with a fade.

Q: Is reduced motion required by law?
A: WCAG 2.3.3 is Level AAA. Standards like EN 301 549 and the [European Accessibility Act](https://allyway.ai/regulations/eaa) build on Level AA, so 2.3.3 is not part of those minimum requirements. Moving content that starts by itself is covered at Level A by 2.2.2, though.

Q: Should I remove all animations when reduce is set?
A: No. The setting is about motion, not about all visual feedback. A short fade, a color change or a focus outline usually stays; parallax, zooming and large movements across the screen should go.

Q: Which animations count as essential?
A: W3C calls an animation essential if removing it would fundamentally change the information or functionality, and that cannot be achieved another way. A tool for creating animations is an example; a decorative slide-in effect is not.

Q: How do I find other barriers on my website?
A: Motion needs a manual test, but many other issues can be detected automatically. The [free WCAG scanner](https://allyway.ai/free-wcag-accessibility-scanner-for-websites) checks your homepage against WCAG 2.2 AA in seconds.
