Tree of DesignAll terms A–Z

Alt Text

A text description of an image.

See it on the 3D tree

Going deeper

Good alternative text conveys the image's purpose in its context, so one photograph may need different wording on different pages. A linked or button image should describe the destination or action. Decorative images take an empty alt attribute so they are skipped. Complex charts usually need a longer explanation nearby.

Why it matters

It gives people who cannot see an image the same information, and shows it when the image fails to load.

In practice

For a magnifying glass icon used as a button, the alternative is Search, not Magnifying glass.

Common mistake

Leaving the alt attribute off decorative images, which can make a screen reader announce the file name.

Connected terms