Writing alt text for images that actually does its job
Alt text describes what an image conveys to someone who cannot see it, in plain language. Decorative images take an empty alt attribute, not a forced description or a keyword.
Content
Writing alt text for a website — it serves two audiences, assistive technology and search engines, and one accurate description serves both.
Alt text serves two audiences: a person using a screen reader or a browser with images disabled, and a search engine working out what a page contains. One short, accurate description serves both. Alt text on small-business sites routinely serves neither. It sits blank on images that carry real information, or holds a keyword phrase unrelated to what the image actually shows.
What alt text (alternative text) is actually for a screen reader
The alt attribute conveys, to someone who cannot see the image, the information the image contributes to the page. A photo of a tradesperson repairing a specific appliance takes alt text that states exactly that, in plain language — the information a sighted visitor gets at a glance. A purely decorative image, such as a background texture or a repeated pattern with no informational content, takes an empty alt attribute instead of a strained description of a picture that was never meant to convey anything.
Getting this distinction wrong in either direction causes a real problem. An informative image left blank hands a screen-reader user nothing where a sighted visitor gets real information. A decorative image described in full forces a screen reader to announce something with no purpose. That adds noise rather than removing it.
What good alt text says, and how it describes the image — an example
Good alt text is short, specific, and describes what the image conveys. It is not a caption, not a keyword phrase, and not a restatement of the surrounding heading. The contrast below sets a working description against the common failure for each test. “A licensed electrician installing a switchboard in a residential meter box” tells a screen-reader user what a sighted visitor sees. “Electrician Brisbane switchboard installation cheap” tells them nothing usable, and reads as exactly what it is to a search engine as well.
| What good alt text does | What it commonly does instead |
|---|---|
| Describe what the image conveys, in plain language | Restate a target keyword phrase regardless of what the image shows |
| Stay concise — a sentence, not a paragraph | Either be left entirely blank on an informative image, or padded unnecessarily |
| Use an empty attribute for purely decorative images | Force a description onto an image that was never meant to carry information |
| Match what a sighted visitor actually sees | Describe an idealised or generic version of the image rather than the actual one |
| Skip “image of” or “picture of” — the alt attribute already implies that | Start every entry with the same redundant phrase |
Where alt text and decorative images sit inside a page’s accessibility
Alt text is one specific, checkable item within the set of things that determine whether a page is usable by someone relying on assistive technology. Headings and structure, keyboard operability and sufficient colour contrast are the other items in that set. Alt text is one of the easier items to get right, because a reviewer checks it image by image rather than running a full technical audit. That makes it a reasonable starting point for a business improving accessibility without a full review. Where a fuller picture of a site’s accessibility position is useful, the accessibility self-assessment tool works through the broader set of questions a business checks itself, alongside what an automated scan confirms and what it does not. The accessibility guide to alternative text that is actually useful covers the screen reader side, including when an image deliberately takes empty alt text.
Alt text on images from a shoot or a stock library
Alt text is written after the image exists, so it depends on the image showing what it is supposed to show. A photograph briefed properly in the first place is far easier to write accurate alt text for than a stock image standing in for something it does not depict. Photography briefs covers planning a shoot around the pages and information a photo needs to carry — the upstream decision alt text has to describe honestly, whatever it ends up saying.
Complex images and how screen readers announce charts, diagrams and screenshots
A photograph is straightforward to describe in one sentence; a chart, diagram or screenshot carrying real information is not. The alt attribute alone rarely holds enough space to convey what such an image shows. Where an image carries data or a process a reader genuinely needs, the reliable approach is a short alt description naming what the image is, paired with the same information written out in the surrounding text — a table, a list, or a paragraph that stands on its own without the image. The information then survives for a reader who cannot see the image at all, rather than being lost because it existed only inside a graphic.
A quick way to check existing alt text
Browsing a page with images disabled, or using a browser’s accessibility inspector to list every image’s alt attribute at once, quickly surfaces both failure modes on an existing site. Images can have no alt text at all, or alt text stuffed with a keyword phrase unrelated to what the image shows. Either is a fast, low-cost fix once identified. Correcting alt text requires no design or development change — only a more accurate sentence in a field that already exists.
What to do next: writing alt text for a photograph, a painting, or a screenshot
Go through a page’s images and write, for each one, the plain sentence a sighted visitor gives to describe what it shows to someone on the phone. If an image is purely decorative, set its alt attribute empty rather than inventing a description for it. That single pass through a page’s existing images is a short task, and it is one of the few accessibility improvements that requires no design or development change to apply.