Custom Badges are not applying Alt Text

When using WAVE to scan for accessibility issues on my new Discourse site, I’m noticing that Custom Badges don’t seem to load any Alt-Text (below screenshot is from the Discourse badges, but the point remains the same):

Doesn’t seem like it pulls the name of the file or the badge itself as the Alt Text.

Not sure if there’s anything I can do from my end or if this needs to be filed by devs to address.

Thanks!

2 Likes

Yes, thanks for reporting it — we should add an empty alt tag here, because the badge image is decorative and adding the name of the badge again would be redundant because it’s already available as text.

Will be done here:

4 Likes

Woohoo! Thanks a bunch for the quick turnaround!

1 Like