Skip to main content
DARKPC.NET

Create Alt Text With a Fact-Checking Checklist

Draft alternative text with an assistant, check visible details and decide when an empty alternative or a longer explanation serves the content better.

Difficulty Beginner

What you will build

You will write and test alternative text for a diagram in a fictional guide to the library. The wording changes as the role of the image changes. This exercise uses a text description so you can work without a vision-enabled assistant or specialist hardware. Use an editor and browser, plus a screen reader if available.

Supply the facts and context

Tell the assistant the diagram contains a labelled entrance at bottom left, an arrow heading right and a reading room on the right. State that the page is an orientation guide, the diagram is the only place the route appears and the image contains no scale. Ask for one short sentence that describes the route and excludes inferred distances, accessibility features and landmarks.

Check what the draft says

An example is “From the entrance, follow the path to the right to reach the reading room.” Check each fact against the diagram. Reject text that introduces stairs, a door colour or a walking time. If an assistant cannot read a label, transcribe it from the original or confirm it with the creator. Keep the route in adjacent text if it needs lengthy directions or several alternatives.

Apply and test

For an informative image, put the checked sentence in the img element's alt attribute. For a decorative image that adds no information, an empty alt attribute lets assistive technology skip it. If the image is the sole content of a link, describe the link's purpose. Open the page and navigate by graphics or links using a screen reader. Check whether the announced content gives a visitor the same actionable information as the page's visual content.

Troubleshooting and practice

If the screen reader reads a filename, inspect the element for a missing alt attribute. If the same directions are announced twice, check whether surrounding text already conveys the complete route. Repeat the exercise with those directions in the preceding paragraph and decide whether the map still adds useful information. Use public or synthetic images for hosted assistants. Obtain permission before uploading photos that identify people or expose private locations.

References and related reading