- From: Sebastian Zartner via GitHub <noreply@w3.org>
- Date: Wed, 14 Jan 2026 11:11:34 +0000
- To: public-css-archive@w3.org
I believe there was already some discussion around providing a pseudo-element for alternative/fallback text. Though I can't find it right now. Anyway, authors _can already_ style the alternative text. Any properties applied to `<img>` elements also apply to the alternative text. And with the `:broken` and `:loading` pseudo-classes resolved on in #7467, authors get more fine-grained control on how to style it. Though the current solutions _don't_ cover any extra contents that are shown when the image can't be loaded, like a "broken" icon. Providing control over this seems to be the main use case for a pseudo-element to me. Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13345#issuecomment-3749040745 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 14 January 2026 11:11:35 UTC