Writing alt text for images

  • alt-text
  • accessibility
  • seo
  • media-library
  • ai

Alt text describes an image for screen readers and helps search engines understand the photo. Set it on the attachment in the media library so every place that image appears can reuse it. Prepare files first with Formatting images.

Add alt text in the media library

  1. Go to Media → Library and open an image (or choose one in a media modal).
  2. Find Alternative Text (sometimes shortened to Alt Text) in the attachment details.
  3. Write a short, specific description of what the image shows.
  4. Leave the field empty only when the image is purely decorative.

Save is automatic in the media modal; on the classic edit screen, update the attachment if prompted.

Good alt text names the subject (“Volunteer packing food boxes at the community pantry”), not the file name or “image of…”.

Draft alt text with AI (optional)

When Dirigible AI Alt Text is installed:

  1. Go to Dirigible → AI Alt Text.
  2. Under API Configuration, choose OpenRouter or OpenAI and enter an API key (session keys are not saved unless the site already has a persistent OpenRouter key).
  3. Choose a Model.
  4. Review Images Without Alt Text.
  5. Click Generate All Alt Text to draft missing descriptions, or Generate Alt Text on a single image card.
  6. Open important images in the media library and edit any draft that needs a human touch.

Automatic generation on upload

On the same screen, under Automatic Generation, turn on Automatically generate alt text when images are uploaded when a site OpenRouter key is available. New uploads are processed only when their alt text is still empty.

You still own the final wording — treat AI output as a draft.

Tips

  • Prefer meaningful alt on logos, heroes, and product photos; skip fluff on decorative dividers.
  • Pair alt text with focal points so cropped images still show the subject you described.
  • Dirigible → Tools & Maintenance can include a Missing alt text report for review — use it as a checklist, not a list of definite errors.