Glossary term
Alt Text
Alt text is a text alternative that conveys an image’s purpose in its particular context. It gives people who cannot see the image access to the information or function it contributes.
The right wording depends on why the image is there. A product photo, a decorative flourish, and an image used as a link do different jobs. They do not need the same kind of description.
Describe what matters here
“Navy canvas tote with short handles and a front pocket.”
A useful alternative includes details relevant to choosing the product.In the HTML, that description is the image’s alt value:
<img
src="navy-tote.svg"
alt="Navy canvas tote with short handles and a front pocket."
>“Image of a bag” gives a shopper little to use. Listing every possible visual detail can be unhelpful too. The description should carry the information the picture contributes to that page, rather than become an inventory of everything visible.
Some images need a different answer
A decorative background flourish may add no information and can have an empty alternative, written as alt="". If an image is the only content in a link, its alternative should explain the destination or action. A logo linking home has a different job from the same logo shown in a brand-history article.
Charts and diagrams may need a short alternative plus a fuller explanation nearby. A few words cannot always carry the relationships or figures the image contains.
Frequently asked questions
Does alt text help SEO?
Descriptive alternatives can help search engines understand an image, but their first job is to make its contribution available to people who cannot see it. Repeating keywords instead of describing the useful content makes the alternative less helpful.
Should every image have a description?
Not every image needs a spoken description. A purely decorative image can use an empty alternative so it does not add noise. That is different from accidentally omitting the alt attribute. Informative and functional images need alternatives suited to their purpose.


