Images often carry information faster than words. A photo can show what a product looks like, a chart can explain a pattern, and an icon can tell someone where to click. But an image is not automatically available to every reader in the same way. Someone may use a screen reader, browse with images turned off, have a slow connection, or open a page where an image file fails to load. Alt text exists for that moment: it gives the image a meaningful text replacement so the page still makes sense.
The idea is simple, but good alt text takes judgment. It is not a caption, a keyword box, or a place to describe every visible detail. It is a short piece of text that stands in for the image’s purpose in that exact context. The same photo can need different alt text in different places, because the surrounding paragraph changes what the image is doing. That is why the strongest guidance from the World Wide Web Consortium’s Web Accessibility Initiative starts with a practical question: what information would be lost if the image disappeared?
Alt text replaces meaning, not pixels
In HTML, ordinary images use an alt attribute. When the image is informative, that attribute should contain text that communicates the same essential meaning. A screen reader can then read the text aloud or send it to a braille display. If the image does not load, many browsers can also show the alt text in the empty image space, giving the reader a clue about what belongs there.
This is why literal descriptions are sometimes useful and sometimes not. If a science page shows a diagram of water moving from roots to leaves, alt text such as “diagram of a plant” is too thin. The image is not merely proving that a plant exists; it is explaining movement. A better replacement might say, “Water moves from the roots through the stem and into the leaves.” The words do the job the diagram was doing.
On the other hand, not every small visual needs a long description. A photo of a student writing in a notebook might simply support a paragraph about revision. If the paragraph already explains the point, the alt text can be brief: “Student revising notes in a notebook.” The test is not whether the image can be described in detail. The test is whether the reader receives the information the image was meant to add.
Different images need different choices
The W3C Web Accessibility Initiative groups images by purpose, and that is a helpful way to avoid both missing descriptions and noisy ones. Informative images need alt text because they carry content. Functional images need alt text because they act like controls. Decorative images usually need an empty alt attribute so assistive technology can skip them. Complex images, such as charts or maps, often need a short alt text plus a fuller explanation nearby in ordinary page text.
A functional image is one that performs an action. If a magnifying-glass icon opens search, the useful alt text is not “magnifying glass.” It is “Search.” If a trash-can icon deletes a file, the useful text is “Delete file.” In those cases, the image is acting like a labeled button. The label should name the action, not the artwork.

Decorative images are the opposite. A flourish, divider, background pattern, or purely ornamental photo may add visual texture without adding information. If it is inserted as an HTML image, it should normally use an empty alt value: alt=””. Leaving the attribute out is not the same thing. Some screen readers may announce the file name instead, which can turn a harmless decoration into distracting clutter.
Context decides what good alt text says
Alt text should be written after looking at the sentence, section, and task around the image. A photo of the Eiffel Tower in a travel history piece might need the words “Eiffel Tower in Paris” because the landmark is the point. The same photo in a lesson about camera angles might need “Low-angle photo of the Eiffel Tower emphasizing height.” In a page about file naming, the photo might not need to be described at all if it is only decoration.
This context rule also helps with charts. A chart’s alt text should not try to squeeze every number into one sentence. A short replacement might identify the chart and state the main takeaway, while the surrounding text gives the details. For example, alt text might say, “Line chart showing afternoon electricity demand rising during a heat wave.” The paragraph or data table nearby can then explain the exact values. That gives screen-reader users the same route through the information that sighted readers get: first the big pattern, then the evidence.
Images of text need special caution. WCAG guidance generally pushes authors to use real text whenever possible because real text can resize, reflow, translate, and be read more reliably. If text is trapped inside an image, the alt text should include the words that matter. A poster that says “Library closes at 5 p.m. Friday” cannot be replaced by “library announcement.” The important information is the closing time, so the text alternative must carry it.
Common mistakes make images harder to understand
One common mistake is starting every description with “image of” or “picture of.” Screen readers usually announce that something is an image, so those words often waste space. There are exceptions, especially when the medium matters, such as a painting, satellite image, or historical photograph. Most of the time, the description can begin with the information itself.
Another mistake is stuffing alt text with extra terms that do not help the reader. A long list of labels may look thorough, but it can be tiring to listen to and may bury the main point. Strong alt text is usually concise. It names the relevant subject, action, or message, then stops. If the image needs a long explanation, that explanation belongs in nearby visible text where everyone can use it.
A third mistake is repeating the caption word for word. Captions and alt text can work together, but they should not automatically duplicate each other. A caption might explain where a photograph came from or why it matters. Alt text should replace what the image communicates. When both say the same thing, screen-reader users may hear the same sentence twice.
A practical way to write better alt text
A useful routine begins with one question: why is this image here? If the answer is “to make the page look nicer,” it may be decorative. If the answer is “to show what this object looks like,” the description should identify the object clearly. If the answer is “to tell the reader what to do,” the alt text should name the action. If the answer is “to explain data,” the alt text should give the chart type and the main finding, while the page provides the details in text.
Here are a few examples of how that judgment changes the result:
- Informative photo: “Student checking a course registration page on a laptop.”
- Functional icon: “Download report.”
- Decorative divider: alt=””
- Chart: “Bar chart showing higher recycling rates after curbside pickup expands.”
- Image of text: “Sign reading: Science fair entries due March 8.”

The best alt text often sounds plain. That is a strength. It should not call attention to itself or try to be poetic. Its job is to keep the reader oriented. A person listening to the page should be able to understand why the image is present, move forward without confusion, and receive the same essential information as someone looking at the screen.
Why small descriptions change the reading experience
Alt text is one of the clearest examples of accessibility helping more people than expected. It supports blind and low-vision readers who use screen readers. It helps people with unstable connections when images fail. It helps anyone who copies, saves, or searches through information later and needs the image’s meaning preserved in words. It also makes authors slow down long enough to ask whether a visual is actually doing useful work.
That last benefit matters. Writing alt text can reveal weak visuals. If it is hard to say why an image belongs on a page, the image may be decorative, redundant, or confusing. If the description naturally explains a key idea, the image is probably earning its place. Accessibility is not only a technical requirement; it is a way of making communication more honest.
A good image description does not need to be perfect to be valuable. It needs to be accurate, brief enough to use, and shaped by context. When alt text carries the meaning of an image instead of merely naming what appears in it, digital content becomes easier to understand for readers who arrive in different ways. The image may be visual, but the idea behind it should not depend on sight alone.




Add comment