this week is really illustrating why I don’t like to make plans and usually just fly by the seat of my pants for everything.
Website | https://knowler.dev |
GitHub | https://github.com/knowler |
Location | Treaty 1 (Winnipeg) |
Pronouns | he/him/his |
Website | https://knowler.dev |
GitHub | https://github.com/knowler |
Location | Treaty 1 (Winnipeg) |
Pronouns | he/him/his |
@swithinbank @mayank I’ve used `role=img` with an `aria-label` before (it was a pattern we used on a website that had accessibility requirements which had to pass before shipping; we had a dedicated team of specialists reviewing our work too).
Also, I think some browsers actually support something like `<img src=video.mp4>`. This is pretty dated: https://calendar.perfplanet.com/2017/animated-gif-without-the-gif/
tl;dr GIFs are awesome but terrible for quality and performance Replacing GIFs with <video> is better but has perf. drawbacks: not preloaded, uses range requests Now you can <img src=".mp4">s in Safari Technology Preview Early results show mp4s in <img> tags display