3 ms·
> Having to individually play each reaction image would make them unusable. Good, I'm not a fan of them ;-) > The proper way to handle this is to respect the
by lapcat 5y ago
> Having to individually play each reaction image would make them unusable.
Good, I'm not a fan of them ;-)
> The proper way to handle this is to respect the prefers-reduced-motion CSS media feature.
There's a big difference between clicking to play an animation and never playing an animation. The <video> element uses the former. But prefers-reduced-motion seems more appropriate for the latter.
In any case, why wouldn't prefers-reduced-motion also make reaction animations unusable?
- lilyball 5y agoBecause prefers-reduced-motion isn't the default, but "no autoplay" is. And prefers-reduced-motion is also the correct answer here, because people who have prefers-reduced-motion enabled most likely don't want animating reaction images (they're a perfect example of the sort of motion that this setting is supposed to suppress).
- lapcat 5y ago> people who have prefers-reduced-motion enabled most likely don't want animating reaction images (they're a perfect example of the sort of motion that this setting is supposed to suppress). I don't want AUTO-animating images. That's a crucial distinction. I still want to be able to see the animation, if desired. It should be under user control. Reduced motion is not the kind of thing you can trivially turn off and on. You have to go layers deep into settings to find and change it. This is why click to play is the correct answer here.