Follow

friends: what's the current state of the art for applying accessible alt text to text itself?

I.e. alt text for zalgo text, text that uses Unicode letter variants, emoji-heavy text, etc.

I'm aware of the technique of applying `aria-hidden="true"` to the problem text, then applying "screenreader" CSS styles to the accessible version, but in the interest of making my content portable I'd like a way that didn't rely on CSS from my own website.

Thoughts?

@alx interesting, `role="img"` hadn't crossed my mind

@esbe Yeah, it feels like a little bit of a stretch, but viewed as 'img' meaning "information presented in a graphical, screen-reader-unfriendly manner" it's more acceptable than the alternatives I've seen.

Sign in to participate in the conversation
weirder.earth

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