Images and alt text
Decides when an image belongs in a document, what its alt text and caption say, and how screenshots and diagrams are prepared and kept current.
This section covers screenshots, diagrams, and other images in documentation and product content: when to include one, how to describe it for readers who can’t see it, how to crop and annotate it, and how to keep it from going stale.
An image is a claim about the product at one moment, made to readers who can’t see it. So every image needs a reason to exist, a text equivalent, and a record of when it was true. The day the interface changes, an image without that record becomes wrong without anyone editing it.
When to use an image
When a screenshot belongs
Add a screenshot only when the interface is hard to describe in words or the reader needs to recognize something. A crowded dialog, an icon with no text label, or an expected result the reader must confirm by eye earns a screenshot. A step such as “select Save” doesn’t; the words already match the screen. Test: cover the image and read the step; if nothing is missing, the image goes.
No images of code
Don’t use an image of code; use a code block. Code in an image can’t be copied, searched, read by a screen reader, or updated in place. The same applies to terminal output, configuration files, and log excerpts.
acme deploy --region eu-west.Alt text
Alt text on every image
Give every informative image alt text, and give every decorative image an empty alt attribute. An image that carries information has alt text that stands in for it. An image that only decorates (a divider, a background, a logo beside a heading) has alt="" so screen readers skip it. A missing alt attribute is neither: the screen reader reads the filename.
<img src="export-dialog.png"><img src="export-dialog.png" alt="Export dialog with CSV selected as the format">What alt text says
Say what the image shows and, for a screenshot, what matters in it. For a screenshot, name the screen and the state or control the reader should notice, and leave out the parts the step doesn’t depend on. For a chart or diagram, state the result.
alt="Acme Cloud"alt="Export dialog with the Format list open and CSV selected"Alt text length and form
Don’t write alt text of more than 125 characters, and don’t start it with “image of” or “screenshot of.” Screen readers already announce that the element is an image, so the prefix is said twice. If the image needs more than 125 characters, describe it in the surrounding text and keep the alt text short.
alt="Screenshot of the export dialog"alt="Export dialog with CSV selected"Text never only in an image
Never let text that matters live only in an image. Error messages, settings values, commands, and steps shown in a screenshot must also appear in the text of the page. Text in an image can’t be translated, searched, resized, copied, or read aloud.
Error: token expired, as the screenshot shows.Captions and annotations
Captions that say why
Write a caption that says what the reader should notice. “The export dialog” tells the reader nothing the image doesn’t. “The Format list must show CSV before you continue” tells them why they’re looking.
Cropping and annotation
Crop a screenshot to the area that matters, and annotate it with one highlight color and numbered callouts. Cut away window chrome, other windows, and empty space the step doesn’t need. Use one color for every highlight across the document, number the callouts, and refer to each number in the text. The example pair is the image note a writer leaves for whoever prepares the screenshot.
Figure numbers and references
In a report or any document that will be printed or saved as a PDF, number the figures in order through the whole document and refer to each by its number before it appears. Write the caption as “Figure 3:” followed by the caption text, and in the text write “Figure 3 shows …” with a capital F. Never point with “the figure below” or “the chart above”: a page break or a narrow screen moves the image, and a screen reader has no above. Number tables in their own sequence, as long-table-figure-numbers says. A web page or help article with one or two images that sit beside the step they illustrate needs no numbers. This rule applies to a document.
Credit lines and licenses
Give every image the organization didn’t make a credit line, and publish it only under a license or permission that covers the use. The credit names the creator and the source, and the license when the license asks for it, in the form “Photo: Dana Example, Example Images” or “Map: Example Atlas, CC BY 4.0.” Put it at the end of the caption, or under the image when there is no caption; a license that asks for more, such as a link and a note of changes, gets the full attribution cite-reuse-license sets out. A credit is not permission: an image found on the web belongs to someone, and reusing it without a license is a legal question, which Global and legal sends to the legal team. Images the organization made, including its own screenshots, need no credit.
Keeping images current
Record the product version
Record the product version with each screenshot. Store the version (or the date and build) beside the image, in a source comment or in the image metadata, so a reviewer can tell whether the screenshot predates a change. An outdated screenshot is worse than none, because it contradicts the text with the authority of a photograph. The HTML comment in the example is one convention; a company’s overlay can name another. This rule applies to a document.
 <!-- Acme Cloud 4.2, 2026-09 -->Diagrams
Diagram labels
Label every box and arrow in a diagram in words, and explain the diagram in the text. A box without a name and an arrow without a verb (“sends,” “reads from,” “calls”) leave the reader guessing at the mechanism. A diagram the text doesn’t explain is decoration.
Video and audio
Captions on video
Give every video with speech or meaningful sound synchronized captions that a person has checked. Captions serve readers who are deaf or hard of hearing and everyone watching with the sound off. Automatic captions are a draft: correct the names, product terms, and numbers before publishing. Captions identify a change of speaker and describe sounds that matter (“[alarm sounds]”). Text burned into the picture doesn’t count, because it can’t be resized, translated, or turned off.
Transcripts for audio and video
Publish a text transcript with every audio recording, and with every video whose pictures carry information the soundtrack doesn’t. Put a link to the transcript directly beside the player. The transcript gives the speech, names each speaker, and describes what happens on screen when it matters to the meaning (“The presenter opens the Billing page”). A transcript is also the only version a reader can search, skim, or translate.
Maps
Maps
Give every map a title, a legend for any symbol or color it uses, a date for its data, and a credit for its source, and put the facts the reader needs in the text. A reader who can’t see the map still needs the address, the route, or the boundary it shows, so state it in words (“The entrance is on the north side, off Example Road”). Mark meaning with labels or patterns as well as color, as incl-no-color-only requires. Map data usually comes under a license that requires a credit, so img-credit-line applies to it. The alt text says what the map is for; the text carries the detail.