Review the four different image types.
Decorating example 1:
<img src="decorative.jpg" alt="">
Informative example 1:
<img src="informative.png" alt="Sydney Opera
House Environmental Sustainability Manager
Emma Bombonato, with some of the 35 kilometres
of pipes that heat and cool the building">
Functional example 1:
<button>
<img src="functional.png" alt="Dismiss">
</button>
Functional example 2:
<a href="#">
<img src="#" alt="Wayne Enterprises home">
</a>
This does not need to be a functional image as there is text available that describes the function. So, it be be a decorative image instead:
<button>
<img src="functional.png" alt="">
Dismiss
</button>
Complex example 1:
<img aria-details="aaa" src="complex.png"
alt="Venn diagram depicting content category
relationships. Detailed description below">