OkayWolf

mostly a strange space ghost

  • they/them

Queer genre writer, printmaker, and pianist | 👍🐺 | white settler Muslim disabled



sapphicfettucine
@sapphicfettucine

you should make them accessible to folks who are motion sensitive!

steps:

  1. make a static version of your gif. i personally use imagemagick: convert 'button.gif[0]' button.static.gif
  2. use HTML to switch between both versions depending on the prefers-reduced-motion property:
<picture>
  <source srcset="[ANIMATED VERSION OF YOUR GIF]" media="(prefers-reduced-motion: no-preference)" />
  <img src="[STATIC VERSION OF YOUR GIF]" alt="[BUTTON ALT TEXT]" />
</picture>

trick copied from Accessible animated content without the compromise, on tempertemper.net


ireneista
@ireneista

we aren't fond of unnecessary animation in general, so we won't be needing it, but others might


You must log in to comment.

in reply to @sapphicfettucine's post: