An alt Decision Tree | Web Accessibility Initiative (WAI) | W3C
A great resource to understand how to use the alt attribute in various situations.
A great resource to understand how to use the alt attribute in various situations.
I keep forgetting, but the alt attribute of the <img> element is not just useful for users who are visually impaired. It is also useful when the image is not displayed in the browser for whatever reason. For example: the src attribute does not contain a valid path to an image.