Skip to content

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​

Tier: preferimg-earn-placeCheck: judgment

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.

Instead of
Select Save. Figure 3 shows the Save button.
Write
Select Save.

No images of code​

Tier: neverimg-no-code-imagesCheck: judgment

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.

Instead of
See the screenshot below for the deploy command.
Write
Run acme deploy --region eu-west.

Alt text​

Alt text on every image​

Tier: neverimg-alt-requiredCheck: mechanical

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.

Instead of
<img src="export-dialog.png">
Write
<img src="export-dialog.png" alt="Export dialog with CSV selected as the format">

What alt text says​

Tier: avoidimg-alt-contentCheck: judgment

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.

Instead of
alt="Acme Cloud"
Write
alt="Export dialog with the Format list open and CSV selected"

Alt text length and form​

Tier: avoidimg-alt-formCheck: mechanical

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.

Instead of
alt="Screenshot of the export dialog"
Write
alt="Export dialog with CSV selected"

Text never only in an image​

Tier: neverimg-text-not-only-in-imageCheck: judgment

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.

Instead of
The error is shown in the screenshot below.
Write
The command fails with Error: token expired, as the screenshot shows.

Captions and annotations​

Captions that say why​

Tier: preferimg-captionsCheck: judgment

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.

Instead of
Figure 2: The export dialog.
Write
Figure 2: The Format list set to CSV. Any other value produces a file the importer rejects.

Cropping and annotation​

Tier: avoidimg-crop-annotateCheck: judgment

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.

Instead of
Full-window capture of the console. Red box around the project name, green arrow to the region selector.
Write
Crop to the Project settings panel. Callout 1 on the project name, callout 2 on the region selector, both in the document’s highlight color.

Figure numbers and references​

Tier: avoidimg-figure-numbersCheck: judgmentScope: whole documentStatus: drafted, awaiting review

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.

Instead of
As the chart below shows, most tickets close within a day.
Write
Most tickets close within a day (Figure 3).

Credit lines and licenses​

Tier: neverimg-credit-lineCheck: judgmentStatus: drafted, awaiting review

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.

Instead of
Figure 2: Volunteers at the spring cleanup.
Write
Figure 2: Volunteers at the spring cleanup. Photo: Dana Example, used with permission.

Keeping images current​

Record the product version​

Tier: avoidimg-record-versionCheck: judgmentScope: whole document

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.

Instead of
![Export dialog](export-dialog.png)
Write
![Export dialog](export-dialog.png) <!-- Acme Cloud 4.2, 2026-09 -->

Diagrams​

Diagram labels​

Tier: avoidimg-diagram-labelsCheck: judgment

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.

Instead of
Figure 4: A, B, and C, with arrows between them.
Write
Figure 4: Client, API gateway, and Job queue; the arrows read “sends request” and “enqueues job.”

Video and audio​

Captions on video​

Tier: neverimg-video-captionsCheck: judgmentStatus: drafted, awaiting review

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.

Instead of
A product walkthrough published with the platform’s automatic captions, which spell Acme Cloud “Acne Cloud.”
Write
The same walkthrough with captions corrected against the script, and “[notification chime]” where the sound tells the viewer something.

Transcripts for audio and video​

Tier: neverimg-transcriptsCheck: judgmentStatus: drafted, awaiting review

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.

Instead of
Listen to the quarterly update (audio, 14 minutes).
Write
Listen to the quarterly update (audio, 14 minutes), or read the transcript.

Maps​

Maps​

Tier: avoidimg-mapsCheck: judgmentStatus: drafted, awaiting review

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.

Instead of
Figure 5: Map. See the map for where to park.
Write
Figure 5: Parking for the open house, as of March 2026. Map data: Example Atlas, CC BY 4.0. Park in lot B, on the east side of the building, off Example Road.