@mayank this is really great
5 comments
@mayank @anniegreens I agree, so thank you for the PSA; TIL! having said that, MDN's explanation there seems a little less than straightforward (or perhaps I'm overthinking it), so just to clarify: when using `content` to inject purely decorative symbols, adding `/ ""` advises assistive technologies to ignore/skip that visual part (equivalent to `<img alt="">`)? @FND yes, exactly! there's some good information in https://adrianroselli.com/2020/10/alternative-text-for-css-generated-content.html @mayank alright, so I was overthinking it 😅 thank you for confirming if I may point out a tangentially related challenge, I've just had to realize that things are a bit more complicated in combination with `attr()` fallback values: https://prepitaph.org/wip/accessible-generated-content/ (at least I don't think there's a good way to avoid those additional permutations for now) @FND @mayank I use it for special/external links for a clear visual communication: 🔗 :mastodon: https://chaos.social/@kubikpixel/111748723740511343 |
@anniegreens this is the kind of shit that seems so insignificant but i care about it 100x more than view transitions or whatever