Correct: Media Should Have Alternative Text Descriptions

A small service station whose red roof is in the shape of a cowboy hat

Adding alt attributes allow screen readers to describe images

Source: John Margolies, "Hat & Boots Texaco, Seattle, Washington", Library of Congress.

Correct Code

<img src="/accessibility/media/05482r.jpg" alt="A small service station whose red roof is in the shape of a cowboy hat">

Resources