Commit fcd8ad6
committed
style(docs[a11y]): Add reduced-motion guard to view transitions
why: View transition animations ran unconditionally, ignoring users who
opted out of motion in their OS settings.
what:
- Wrap view transition rules in @media (prefers-reduced-motion: no-preference)1 parent 6e16a61 commit fcd8ad6
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| 400 | + | |
400 | 401 | | |
401 | | - | |
402 | | - | |
403 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
404 | 407 | | |
405 | 408 | | |
406 | 409 | | |
| |||
0 commit comments