~/talk

GIFs Are Forever, Let’s Make Them Better

Talkat CascadiaJS 2024 · 2024-06-19..06-22· [web-performance, web-animation]
slides:none on file

Animated GIFs become smaller and higher quality by converting to webp and avif or short MP4/WebM transcodes (libvips/sharp, FFmpeg, HandBrake), with a Homer-backing-into-hedge clip dropping from ~1 MB to a fraction while gaining color depth. Use picture/source fallbacks for images, swap to <video> with controls + muted + playsinline + loop for user playback, respect reduced-motion via matchMedia or a tiny web component, and expose alt text via figcaption or aria-labelledby.

AI-written summary · about

  1. 0:00The evolution of the GIF
  2. 1:36Defining the modern GIF
  3. 4:02Prioritizing accessibility
  4. 5:55Optimizing image assets
  5. 8:38Respecting motion preferences
  6. 10:09Adding user playback controls
  7. 13:27Fixing accessibility and motion
  8. 16:19Using custom web components
  9. 19:00Future-proofing animations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.