Why "alt" attribute for <img> tag has been considered mandatory by the HTML validator .. ?
- by infant programmer
Is there any logical or technical reason (with the W3C validation) for making alt as required attribute ..
This is my actual problem:though my page is perfect enough with respect to W3C validation rules .. Only error I am getting is
line XX column YY - Error: required attribute "ALT" not specified
I know the significance of "alt" attribute and I have omitted that where it is unnecessary .. (to be more elaborate .. I have added the image to increase the beauty of my page and I don't want alt attribute to show irrelevant message to the viewer)
getting rid of the error is secondary
.. rather I am curious to know whether is it a
flaw with validation rules .. ??
I thank stackOverflow and all the members who responded me ..
I got my doubt clarified .. :-)