Open Throne3d opened 6 years ago
Improved by #1242 but we probably still need to audit for Unhelpful Alt Text
Hmm, is there a way to set a linter for this going forward? Even a presence check would help, since presence-and-helpfulness is probably hard. Or maybe we already have that and just need to audit historically.
I think haml-lint checks for presence/absence of alt text, that was how I found all the ones missing it
https://html.spec.whatwg.org/multipage/images.html#alt
The context this came up in was copying & pasting a thread list containing hiatused threads, labeled with
alt
s of "Hourglass". Instead, "Hiatused" or "(Hiatused)" or some such should be used. It looks like describing the picture should only be done if the point of the picture is to showcase the picture – that is, pictures that are used as icons to represent something else should not be described, but instead we should describe [the "something else", here "hiatused"]. It looks like a lot of currentalt
text is autogenerated from image names.