4 ms·
You are right. It seems screen readers these days do skip over images with empty alt tags. I don't use one myself and have most of my knowledge from friends th
by Grumbledour 6y ago
You are right. It seems screen readers these days do skip over images with empty alt tags.
I don't use one myself and have most of my knowledge from friends that do, but this info is obviously outdated.
- JimDabell 6y agoThere's no such thing as an alt tag, you're mixing up tags with attributes. Screen readers have skipped over empty alt attributes for decades. I'm not certain they ever behaved differently, but if there were a time when empty alt attributes caused problems, it was back in the 90s. Best practice for purely decorative images has been to use empty alt attributes for 20+ years.
- bryanrasmussen 6y ago>but if there were a time when empty alt attributes caused problems, it was back in the 90s. Maybe my memory is off but I think up until the middle of the first decade of this century empty alt text was not good for screen readers, although maybe that was just because you always have to take into account older screen readers still in use.
- JimDabell 6y agoI was paying attention to this stuff by the turn of the century and best practice back then was the same as it is now. Screen readers have come a long way, but they could handle empty alt attributes correctly back then as well. I just checked, and the HTML 4 specification has been advising people to use empty alt attributes in this situation since 1997. https://www.w3.org/TR/WD-html40-970708/struct/includes.html#h-7.7.7 https://www.w3.org/TR/WD-html40-970708/struct/includes.html#...
- Grumbledour 6y agoYeah, I meant to write attribute of course.
- frereubu 6y agoRereading my comment I see that I only said "empty alt attribute" at the beginning and then started saying "no alt text", which is much more ambiguous and easy to misinterpret.
- xanthine 6y ago<rant> The thread till here is a perfect example of how discussions/debates should be like on the web. Someone expressed an opinion, someone else expressed an opposing opinion (misinterpreting the first opinion). Both opinions, if interpreted correctly, are valid, and the person who misinterpreted admitted it. Beyond that, (and note this) the author of the original opinion also apologized for being confusing in his statement of his opinion. Well done! </rant>
- 5Qn8mNbc2FNCiVV 6y agoThat's more of a <appreciation>