커스텀 배지에 대체 텍스트가 적용되지 않아요

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개의 좋아요

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:

https://github.com/discourse/discourse/pull/39755

4개의 좋아요

Woohoo! Thanks a bunch for the quick turnaround!

1개의 좋아요