Closed LeopoldTal closed 1 year ago
The prefers-reduced-motion media query allows users to specify an accessibility setting for less animation.
prefers-reduced-motion
This pull request wraps all animations in helper functions that animate normally if the user prefers full animation, and instantly otherwise. They also accept a flag force (currently unused) to force animation in all cases.
force
The
prefers-reduced-motion
media query allows users to specify an accessibility setting for less animation.This pull request wraps all animations in helper functions that animate normally if the user prefers full animation, and instantly otherwise. They also accept a flag
force
(currently unused) to force animation in all cases.