Question about #accessibility that I can't seem to find an answer to anywhere:

<img>s have alt attributes. What is the equivalent for a <video>?

For example, let's say you're using <video autoplay muted loop playsinline>, i.e. it's basically a glorified animated GIF. What's the best way to make this accessible for users of assistive technologies?


@nolan, I would say that the closest equivalent would have to be a `<figcaption>` with a "visually-hidden" class (this class would be a hack, but there's no better alternative I can think of)

@walter Ahhh, <figcaption> seems like a great idea! I like it a lot, and yeah although it's a hack to visually hide it, it's not a big deal to me.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!