Skip to content
PDF Accessibility

How-to · 7 min read

Alt Text for PDF Images: How to Write It Well

How to write alt text for PDF images, with good and bad examples for photos, charts, maps, logos and decorative images, plus how to add it to a PDF.

Good alt text for a PDF image says what the image contributes to the document in one or two plain sentences, in context — not what it looks like in exhaustive detail, and never the filename. Charts need their key finding (with the full data available elsewhere), decorative images should be marked as artifacts so they are skipped, and images of text should repeat the text. In a PDF, alt text is stored on the Figure tag, so the image must be tagged before alt text can do anything.

Why alt text matters in PDFs

A screen reader cannot see an image. When it reaches a tagged figure, it reads the alternative text instead. Without it, users hear "graphic" or nothing at all — and miss whatever the image was there to communicate.

Alt text is required by WCAG success criterion 1.1.1 (Non-text Content) and by PDF/UA, which requires every Figure to have alternative text. It is also one of the requirements automated tools are worst at judging: a checker can confirm alt text exists, but not that it is useful.

The core rule: purpose, not appearance

Ask: if I had to replace this image with words in this document, what would I write? The answer depends on context. The same photo of a library can need different alt text in different documents.

ContextAlt text
Library opening-hours leaflet"Front entrance of Central Library on Market Street"
Architecture award submission"Central Library's curved glass facade, with timber louvres shading the upper reading room"
Accessibility guide"Step-free entrance to Central Library, with automatic doors and a level threshold"

Good and bad examples

Photos

  • Bad: "IMG_4021.jpg"
  • Bad: "Photo"
  • Bad: "Image of a picture of some people smiling at an event in a large room with windows and chairs"
  • Good: "Volunteers sorting donations at the October food bank drive"

Logos

  • Bad: "logo"
  • Good: "Riverside County Council" (the organisation's name is what the logo communicates)

If the same logo appears in every page header, it is usually page furniture and should be an artifact instead.

Images of text

  • Bad: "Quote from the mayor"
  • Good: the full quote, followed by "— Mayor Jane Smith"

Better still, use real text instead of an image of text.

Icons that carry meaning

  • Bad: "phone icon"
  • Good: "Phone:" (when it labels a phone number)

Describe the destination or action: "Download the 2026 budget summary", not "budget cover image".

Charts and graphs

Charts are where alt text most often fails. The goal is to convey the point the chart makes, then make the data available.

  1. Write a short alt text that states the chart type and its key message.
  2. Put the detailed data in an accessible table nearby, in the body text, or in an appendix.
  3. Refer to it in the alt text if it is not adjacent.

Example for a bar chart:

  • Bad: "Bar chart"
  • Bad: "Chart showing data"
  • Good: "Bar chart: library visits rose each year from 2022 to 2025, from about 210,000 to 340,000. Full figures are in Table 3."

For a line chart showing a trend, describe the trend and any notable points. For a pie chart, give the largest segments and their shares. If the surrounding text already explains the chart fully, the alt text can be brief and refer to that text.

Maps and diagrams

Maps and diagrams usually carry too much for one sentence.

  • Location map: give the location in words — "Map showing the depot at 12 Mill Lane, north of the ring road, next to the recycling centre."
  • Route map: describe the route in steps, or put directions in the body text.
  • Flowchart or org chart: provide the structure as a list or nested list in the text, and keep the alt text short: "Flowchart of the complaints process, described step by step below."

Decorative images

Some images add nothing to the meaning: background textures, divider lines, stock photos used purely for mood, page borders. These should not have alt text; they should be marked as artifacts so assistive technology skips them entirely.

Giving a decorative image alt text like "decorative swirl" is not harmful in the way missing alt text is, but it adds noise. Users hear it every time.

ImageTreatment
Section divider lineArtifact
Repeating header logoArtifact
Stock photo of a smiling person on a cover, no informationArtifact, or very brief alt text if it sets context the reader needs
Photo of the actual new buildingAlt text
ChartAlt text plus data elsewhere
Signature image on a letterAlt text, e.g. "Signed, A. Patel"

Length and style

  • Keep most alt text under about 150 characters; there is no hard limit, but long alt text cannot be navigated easily.
  • Do not start with "Image of" or "Picture of" — screen readers already announce the figure.
  • Use sentence case and normal punctuation; screen readers pause at full stops.
  • Do not repeat the caption word for word. If a caption already describes the image, the alt text can add what the caption leaves out, or be short.
  • Spell out abbreviations if they would be read oddly.
  • Match the language of the document.

How to add alt text to a PDF

In the source file (best)

  • Word and PowerPoint: right-click the image, choose "View Alt Text" or "Edit Alt Text", and type the description or tick "Mark as decorative".
  • InDesign: Object > Object Export Options > Alt Text.
  • Google Docs: right-click the image > Alt text.

Then export a tagged PDF. Check that the alt text survived the export.

In an existing PDF

  1. Make sure the image is tagged as a Figure. Untagged images cannot carry alt text in a way screen readers use.
  2. Open the tag's properties and enter the alternate text.
  3. For decorative images, change the tag to an artifact.

You can also use our add alt text to PDF tool, which detects figures, drafts alt text and lets you edit each description before saving. Machine-drafted alt text is a starting point; a person who understands the document should confirm it says the right thing.

Checking your alt text

  • Run an automated check: it will flag figures with missing alt text. Our free PDF accessibility checker does this.
  • Then review quality manually: read each alt text without looking at the image and ask whether you would miss anything important.
  • Listen with a screen reader or a screen reader preview to hear alt text in context.

The W3C's alt text decision tree is a useful reference for deciding whether an image is informative, functional or decorative.

Frequently asked questions

What is alt text in a PDF?

Alt text is a short text description stored on an image's `Figure` tag in a tagged PDF. Screen readers read it aloud in place of the image, so people who cannot see the image still get its meaning.

Should every image in a PDF have alt text?

Every meaningful image should. Purely decorative images, such as divider lines and background patterns, should instead be marked as artifacts so screen readers skip them. Both WCAG and PDF/UA allow decorative content to be hidden this way.

How long should alt text be?

As long as it needs to be to convey the image's purpose, which is usually one or two short sentences. For complex images like detailed charts and maps, keep the alt text brief and provide the full information in the text or a data table.

Can AI write alt text for my PDFs?

AI can produce useful drafts, especially for photos, and it saves time on large documents. It cannot know why the author included the image, so someone familiar with the content should review and edit the drafts, particularly for charts, diagrams and maps.

Why does my alt text not get read?

Usually because the image is not tagged as a figure, the alt text is set on a different element, or the image has been marked as an artifact. Check the tag tree to confirm the image has a `Figure` tag with the alt text attached.