Decorative images
Decorative images include any images whose only purpose is to add visual decoration to the page, rather than to convey information that is important to understanding the page. Examples of decorative images include backgrounds and line dividers.
tip
For help with determining what kind of image you have, please refer to the W3C Web Accessibility Initiative's Alt decision tree.
Example decorative imagesβ
Example 1: Decorative image as part of a text linkβ
Imageβ
Source: Unity User Manual 2021.3 (LTS) (Unity Manual).
Contextβ
This image is used to make the link easier to identify and to increase the clickable area. However, it doesnβt add to the information already provided in the adjacent link text (of the same anchor).
Alt textβ
(alt="")
Example 2: Decorative image with adjacent text alternativeβ
Imageβ
Source: Select your guided project (Unity Learn).
Contextβ
This image is fully described by the adjacent text. As a result, there is no need to repeat this information in the alt text.
Alt textβ
(alt="")
Example 3: Decorative image for visual interestβ
Imageβ
Source: High Definition Render Pipeline overview (Unity Manual).
Contextβ
A decorative image on a landing page that doesn't explain or clarify any content in the main body text. This image is used only to add ambiance or visual interest to the page.
note
If the purpose of your image is to demonstrate a specific concept that's discussed in the main text, then refer to Essential images. For example, images that show a specific lighting effect or graphics setting are likely to be informational images.
Alt textβ
(alt="")
Example 4: Image used as part of a webpage designβ
Imageβ
Source: Decorative images (W3C WAI).
Contextβ
This image is used as a border in a webpage design. Its purpose is purely decorative.
Alt textβ
(alt="")