Reducing motion with the picture element

added by JavaScript Kicks
5/31/2019 4:10:28 PM

245 Views

I was just talking with Dave about the accessibility of moving images on the web, and he said: hm... I wonder if you could use picture + prefers-reduced-motion? He then sends the following code: I copied the code, dropped it into a post of mine, created a static image of an animated GIF, and turned on the "reduce motion" preference (System Preferences > Accessibility > Display).


0 comments