You ask in plain words
With whatever notes or documents you already have.
What alt text should each image on this page have?
Choose treatments for these images in context.
Your notes
I1: a printer icon is the only child of a button; its documented action is Print receipt. I2: a second printer icon sits beside the words Print receipt in the same button; adds no information. I3: a sales chart contains five monthly values and a seasonal peak; no equivalent data elsewhere.
Your agent answers with a checked method
It runs 5 checks before it replies.
Your agentUsing this skill
Name the icon-only button “Print receipt”. Give the duplicate icon beside those same words an empty alt. Give the sales chart a short identification and put its five monthly figures and the seasonal peak in accessible text or a table nearby.
- An empty alt and an absent alt are different. Some assistive technology announces a filename when alt is missing.
- Naming the shape of an icon seldom tells someone what an otherwise unnamed control does.
- Repeating a visible caption word for word in the alt makes screen-reader users hear it twice. Give the alt only what the caption does not already say.
- A chart alt that only says 'bar chart' leaves out every figure. The data must be somewhere a screen reader can reach, such as a table or text next to the chart.
- Reusing one alt for every copy of an image ignores context. An icon that names a button in one place can be redundant beside text in another.
Why that’s right. Two identical icons require different text treatments because their control names differ.
Is it the right skill?
What it’s for, and when another skill or a person is the better choice.
Use it when
- Someone is writing alt text for images on a page, product listing, email or report and wants to know what each one should say.
- A content audit flagged images with missing alt, file-name alt or 'image of' alt text.
- An icon is the only content of a button or link and the team needs its text alternative.
- A chart, diagram or infographic needs a text equivalent.
Not the right skill when
- Captions or audio description for video. Use the captions skill or a media alternative review.
- Checking the name of a control that already has visible text. Use the Check control labels for speech input skill to check that the name contains the visible words.
The method it follows
7 steps, in order, every time.
- Work through the images in page order. For each, read the surrounding text, caption and enclosing link or button as if the image were absent, and decide whether understanding or the ability to act changes. This follows the W3C alt decision tree.
- If the image is the only content of a link or button, write alt text that names the destination or action ('Print receipt', 'Search', 'Example.com home'), not the picture ('printer icon'). If text in the same link or button already names the action, give the image an empty alt so the name is not repeated.
- If the image contains text that is not also present as real text, the alternative includes that text. If the same words already appear next to it, use an empty alt.
- For a meaningful photo or illustration, say what it shows that matters in this context, such as the defect in a product photo, in a sentence or less. Do not start with 'image of'; screen readers already announce that it is an image.
- For a chart, map or diagram carrying several values or relationships, use a two-part alternative: a short alt that identifies it and says where the detail is, and a long description or data table nearby with the figures and trends.
- For purely decorative images, borders and spacers, use alt="" or move the image into CSS. Never leave alt out: screen readers may then read the file name or URL.
- If the purpose or the chart data cannot be worked out from what was supplied, ask for it instead of inventing a description, and say which images are waiting.
What to have ready
If something’s missing, your agent asks before it starts.
- Each image and its neighbouring text, caption and enclosing link or button.
- Its purpose, any text in the image, and the data or relationship conveyed by a complex graphic.

Where does each image appear, and what are the surrounding text, caption and any link or button around it? The same image can need different text in different places.

What is each image for: to act, to inform, to decorate or to show data? If the page does not make this clear, the author has to say.

For charts and diagrams, can you supply the underlying figures or key points? A long description cannot be written from the picture's appearance alone.
Try it on your own AI
A new question with a known answer, so you can check your AI gets it right.
-
Copy the questionChoose treatments for the catalogue images. Return only JSON following the skill’s test format. P1: photo of a chipped rim on a second-hand jug; no text elsewhere describes the defect. P2: abstract patterned border for decoration. P3: image file 23.jpg, no preview, caption, purpose or other context supplied.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
The chipped rim changes a purchasing decision. The filename supplies no basis for a description.
{
"images": [
{
"id": "P1",
"action": "describe-information"
},
{
"id": "P2",
"action": "empty-alt"
},
{
"id": "P3",
"action": "ask-context"
}
]
}
The check runs in your browser. Nothing you paste is sent anywhere.
Where the method comes from
Free to use and adapt with credit (CC BY 4.0).
Use this skill in Raq.com
Add it to your Skill Library and your agent applies it whenever a request matches. Edit it for your own business and keep every version.