Re: Alt is not a description (was Re: when to use longdesc for images)

> A reason to include a blank attribute is due to the fact that 
> some screen readers will read the image's file name ( ie; image.jpg ) if "alt"
> is excluded from your code.

The reason have having a blank alt attribute is because alt is mandatory, so
the HTML would be invalid if it were not there.  It's mandatory for the
rather naive reason of forcing authors to think about the
content (in reality, they or their tools will simply stick in a blank
value, with exactly the same meaning - I didn't think about this - as
omitting it in older HTML where you could do so legally).

Received on Tuesday, 21 December 2004 21:59:08 UTC