Quote:
Originally Posted by odedta
The alt should always be a descriptive text, it should tell the user what is in the image. This is so when a blind person uses a screen reader for example he will understand what that picture is about and not be read a file name, if the alt is empty the reader will simply skip it.
|
What it should be depends on the image and the intent. For purely ornamental images, I advocate for alt="", because if you are blind, or if you are seeing the book without images, you don't want to be informed that there is a "fleuron" or an "ornament" here and there.
Even for illustrations, I wouldn't like the text to be interrupted by "illustration of John walking through the woods". I'd only use a non-empty alt when the image is important for the text.