The person with accessibility problems just told you that it is a potential accessibility issue. Perhaps we should ask them whether alt text will help, before telling them that it will.
tarboreus, what's your experience with alt text for this kind of thing?
In a related manner, I'd actually be curious to hear in general about other things we do/don't do that makes life more difficult for blind people on the web.
This is the exact situation alt text is designed for. If you use alt text properly and it still isn't handicap accessible, it's not your fault full stop.
If accessibility is the exact situation alt text is designed for, and it works for the most part, who is to blame for it not being accessible if not the person putting inaccessible text in there? Merely providing something is not equivalent to providing a good solution.
By my understanding (as a sighted person who has relatively zero experience using such features) alt text is for short pieces of text that might aid in communication of an image to a blind person. I have even less understanding on whether or not dumping a chunk of code in there would be at all useful, and I expect very few sighted persons would know better. Hence my complaint, and hence my question.
Yes, "alt" attribute is for short descriptions. From the w3.org site:
"The alt text should be the most concise description possible of the image’s purpose. If anything more than a short phrase or sentence is needed, it would be better to use one of the long description methods discussed in complex images."
The alternatives for long descriptions are the "longdesc" attribute, "figure" with "figcaption" tag or the "aria-describedby".
True, but I kind of get where their headspace is here. It feels like a weird jaunt to rely on alt tags for what is ultimately just simulacrum of what exists in the alt tags considering that-for the sake of accessibility-going with plain text to begin with probably makes a lot more sense.
If it has alt text, we can't ask for much more. But typically pictures on Twitter don't have alt text. I've perhaps encountered an image with alt text once. But I'm glad that at least there will be alt text if they use it in the web app.
In short, if the image has alt text, it's fine. But this seems likely to be used in ways that mean uploads without alt text.
tarboreus, what's your experience with alt text for this kind of thing?
In a related manner, I'd actually be curious to hear in general about other things we do/don't do that makes life more difficult for blind people on the web.