How alt text works
Alt text is a short written description attached to an image in the page’s code, through the alt attribute. Nobody sees it while the image is loading normally on a working screen. It surfaces in three situations: a screen reader announces it in place of the picture, a browser shows it when the image fails to load or has been blocked, and a search engine reads it to work out what the picture shows.
What to write depends on the job the image is doing. An image carrying information — a product, a chart, a diagram, a screenshot — needs that information written out in words. An image carrying none, such as a divider or a background flourish, should have an empty alt attribute rather than no attribute at all. The empty value tells a screen reader to pass over it in silence, while a missing attribute leaves the software guessing, and it often falls back to reading the file name aloud.
Why alt text matters
Most obviously, it is how a blind or partially sighted visitor understands an image. If your process diagram, your pricing screenshot or your product photo has no description, that visitor simply loses the content. Accessibility obligations apply to many public sector and larger commercial sites, and image descriptions are among the first things any audit looks at.
It also matters when images never arrive. On a slow or expensive mobile connection — an ordinary condition across much of Nepal — images are the first thing to fail, and a page whose meaning lives in its pictures becomes unreadable. Alt text keeps such a page usable. For search, it is the main way an engine understands an image at all, which is what makes image results possible.
Common mistakes with alt text
Keyword stuffing is the oldest. Because the text is invisible on screen, it gets treated as somewhere to hide phrases, which helps nothing and produces a page that is genuinely unpleasant to listen to. Read your alt text aloud in sequence; if it sounds like a keyword list, that is what it is.
The rest are smaller but just as common: opening with the words image of, which a screen reader has already announced; leaving the camera’s file name in place as the description; writing long descriptions for decorative graphics, so a listener hears furniture instead of content; and naming a chart rather than saying what it shows. Text inside a graphic is a special case. If an image contains words, those words belong in the alt text, or nobody who cannot see the graphic can read them.
Getting it right
Ask what the image is doing on this particular page, then write that in a sentence a person would actually say. A product photo describes the product. A screenshot describes what it demonstrates. A chart states the point it makes rather than repeating its title. Keep it brief: this is a description, not a caption, and a caption can carry the longer explanation where one is needed.
Audit what already exists instead of only fixing new uploads. A crawl lists every image with a missing or empty alt attribute quickly, and on most sites the problem clusters in a few templates and a few old posts. The fix is cheap, it improves accessibility straight away, and it is one of the few on-page tasks that helps people and search engines at the same time. Do not confuse it with the image title attribute, which is a separate thing doing a much smaller job.
