… and the text is also present as real text nearby. Use an empty alt attribute.
… and the text is only shown for visual effects. Use an empty alt attribute.
… and the text has a specific function, for example is an icon. Use the alt attribute to communicate the function of the image.
If yes, the image is contained in a control…
Use the alt attribute to communicate the destination of the link or action taken. See Functional Images.
This decision tree does not cover all cases. For detailed information on the provision of text alternatives refer to the Image Concepts Page.
If yes, the image contributes meaning…
… and it’s a simple graphic or photograph. Use a brief description of the image in a way that conveys that meaning in the alt attribute. See Informative Images.
… and it’s a graph or complex piece of information. Include the information contained in the image elsewhere on the page. See Complex Images.
… and it shows content that is redundant to real text nearby. Use an empty alt attribute. See (redundant) Functional Images.
If yes, the image is purely decorative…
Use an empty alt attribute.
If yes, the image’s use is not listed above…
This decision tree does not cover all cases. For detailed information on the provision of text alternatives refer to the Image Concepts Page.