# 움직임 줄이기 (Reduced motion (prefers-reduced-motion))

분류: 모션 > 모션 원칙·시간 (Motion > Motion principles & timing)
주소: https://ui-glossary-xi.vercel.app/motion/reduced-motion
다른 이름: 동작 줄이기, 모션 줄이기, 애니메이션 줄이기, 움직임 줄이기 설정, reduced motion, reduce motion, prefers-reduced-motion, motion-reduce, motion-safe

움직임을 원하지 않는 사람에게 움직임을 빼거나 바꿔 줌. 기기에서 '움직임 줄이기'를 켠 사람에게 꼭 필요하지 않은 움직임을 없애거나 줄이거나 다른 것으로 바꿔 주는 것. CSS 미디어 특성 prefers-reduced-motion은 사용자가 꼭 필요하지 않은 움직임을 줄이는 기기 설정을 켰는지 알아낸다(MDN). 큰 물체를 확대하거나 옮기는 애니메이션은 전정 장애가 있는 사람에게 불편을 일으킬 수 있다(MDN). web.dev는 패럴랙스 스크롤·확대 효과 등으로 멀미를 겪는 사람이 있고, 움직임을 줄인 판을 따로 만들 수 있다고 설명한다. 웹 콘텐츠 접근성 지침(WCAG 2.2)의 세 기준이 근거다.

| WCAG 2.2 기준 | 수준 | 원문(성공 기준) |
|---|---|---|
| 2.3.3 Animation from Interactions | AAA | Motion animation triggered by interaction can be disabled, unless the animation is essential to the functionality or the information being conveyed. |
| 2.2.2 Pause, Stop, Hide | A | For any moving, blinking or scrolling information that (1) starts automatically, (2) lasts more than five seconds, and (3) is presented in parallel with other content, there is a mechanism for the user to pause, stop, or hide it unless the movement, blinking, or scrolling is part of an activity where it is essential |
| 2.3.1 Three Flashes or Below Threshold | A | Web pages do not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds. |

## 용도
- 2.3.3은 사용자의 조작으로 시작된 움직임, 2.2.2는 페이지가 저절로 시작한 움직임에 적용되며, 한 애니메이션이 둘 다 어길 수도 있다(WCAG 2.3.3 이해 문서).
- MDN의 예: 크게 확대되는 애니메이션을 움직임 줄이기 설정에서는 전정 자극이 아닌 은은한 디졸브(투명도) 애니메이션으로 바꾼다. 모두 없애는 것만이 답은 아니다.
- WCAG 기법 C39: @media (prefers-reduced-motion: reduce)에서 움직임을 끄거나, 거꾸로 정적인 스타일을 기본으로 두고 no-preference일 때만 움직임을 더한다.
- 플루언트 2는 WCAG가 권하는 대로 앱·웹사이트에 '움직임 없음' 설정을 두고, 번쩍임·갑작스러운 움직임을 피하라고 한다. 닐슨 노먼 그룹은 패럴랙스·캐러셀 자동 넘김·스크롤 재킹이 전정 장애가 있는 사용자를 어지럽게 할 수 있다고 적는다.

## 헷갈릴 수 있는 UI
- 패럴랙스 (Parallax scrolling, https://ui-glossary-xi.vercel.app/md/parallax.md): 패럴랙스는 배경과 앞 내용이 다른 빠르기로 움직이는 효과다. WCAG 2.3.3 이해 문서와 web.dev가 전정 장애를 일으킬 수 있는 예로 들어, 움직임 줄이기 설정에서 먼저 끌 대상이다.
- 마키 (Marquee, https://ui-glossary-xi.vercel.app/md/marquee.md): 마키는 저절로 계속 흐르는 띠다. 움직임 줄이기 설정과 별개로, 저절로 시작해 5초 넘게 움직이면 WCAG 2.2.2에 따라 멈춤·정지·숨기기 수단이 있어야 한다.
- 캐러셀 (Carousel, https://ui-glossary-xi.vercel.app/md/carousel.md): 캐러셀이 저절로 넘어가면(자동 넘김) 닐슨 노먼 그룹은 전정 장애 사용자를 어지럽게 할 수 있다고 하고, WCAG 2.2.2의 멈춤 수단도 필요해진다. 이 사전의 설명: 움직임 줄이기 설정이면 넘김 애니메이션을 즉시 바뀜으로.

## AI에게 이렇게 말하세요
- 한국어: 사이트 전체에 움직임 줄이기를 지원해 줘. @media (prefers-reduced-motion: reduce)에서 패럴랙스·스크롤 등장·확대 전환을 끄고, 꼭 필요한 상태 변화는 200ms 이하 투명도 전환으로 바꿔 줘. 저절로 5초 넘게 움직이는 띠·캐러셀에는 설정과 상관없이 멈춤 버튼을 두고, 1초에 3번 넘게 번쩍이는 효과는 만들지 마.
- English: Support reduced motion across the site: under @media (prefers-reduced-motion: reduce) turn off parallax, scroll reveals and zoom transitions, and replace necessary state changes with an opacity transition of 200ms or less. Give any strip or carousel that moves on its own for more than five seconds a pause button regardless of the setting, and never flash more than three times per second.

이렇게 말하면 엉뚱한 게 나와요:
- "애니메이션 다 꺼 줘" — 상태가 바뀌었다는 피드백까지 사라질 수 있다. MDN 예처럼 필요한 변화는 투명도처럼 은은한 것으로 '바꿔' 달라고 말한다.
- "접근성 모드 버튼 만들어 줘" — 기기 설정(prefers-reduced-motion)을 읽지 않고 따로 노는 스위치만 생길 수 있다. 기기 설정을 먼저 따르고, 사이트 안 설정은 덧붙이는 것이다(이 사전의 설명).

## 핵심 구조 요점
### 태그
- @media (prefers-reduced-motion: reduce) { … } — 값은 no-preference와 reduce, @media (prefers-reduced-motion)은 reduce와 같다(MDN).
- 자바스크립트: matchMedia('(prefers-reduced-motion: reduce)').matches와 change 이벤트.
- 테일윈드 CSS: motion-safe:·motion-reduce: 변형.

### 접근성 속성
- ARIA 속성이 아니라 기기 설정을 따르는 것이다. 사용자가 이 설정을 바꾸는 곳은 운영체제의 접근성 설정이다(MDN에 운영체제별 위치가 있다).
- 움직임으로만 전하던 정보(새 내용 도착 등)는 글이나 ARIA 실시간 영역으로도 전한다(플루언트 2).

### 키보드
- 키 조작은 없다. 이 사전의 체험은 기기 설정을 바꾸지 않고, '이 체험 안에서 움직임 줄이기' 스위치로 같은 장면이 어떻게 바뀌는지만 보여 준다.

## 출처
- [MDN — prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/prefers-reduced-motion)
- [W3C — WCAG 2.2](https://www.w3.org/TR/WCAG22/)
- [WCAG 2.2 — Understanding 2.3.3 Animation from Interactions](https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html)
- [WCAG 2.2 Technique C39 — Using the CSS prefers-reduced-motion query to prevent motion](https://www.w3.org/WAI/WCAG22/Techniques/css/C39)
- [web.dev — prefers-reduced-motion: Sometimes less movement is more](https://web.dev/articles/prefers-reduced-motion)
- [Fluent 2 — Motion (Accessible motion design)](https://fluent2.microsoft.design/motion)
- [Nielsen Norman Group — Executing UX Animations: Duration and Motion Characteristics](https://www.nngroup.com/articles/animation-duration/)
