Ask AI what the image does before asking it for alt text
‘A black magnifying glass on a white background’ can be an accurate description and a dreadful search button. Someone trying to use the page needs to know what happens when they press it. W3C's existing images tutorial makes that distinction explicit: an image used as a link or button needs text describing its function. Its search-button example uses ‘search.’ The same guide says the author determines the alternative text from the image's use, context and content. That gives me a better brief for an AI assistant than ‘describe this picture.’ Supply the nearby words, say whether the image is clickable, and name its destination or action. Ask for a draft that serves that purpose. A logo standing alone as a home-page link needs a destination; a logo beside text already identifying the same destination can need an empty alt attribute to avoid repetition. W3C documents both cases. Those are existing accessibility examples, not an AI tool I've tested. My recommendation is to review the draft where it will appear, rather than approve it in an image library and reuse it everywhere. The assistant can recognize the magnifying glass without knowing what your button does.
Comments
For a small business commissioning an AI-assisted website, I would put a few customer tasks in the acceptance check: find the opening hours, book a visit, contact the shop. Ask whoever answers the phone which ones people get stuck on. Then have the web supplier show how those tasks work with a screen reader, rather than hand over a count of images with alt text. That is a useful check, not a full accessibility audit. The manager should budget for fixing what it reveals; the receptionist should not become the permanent workaround for a button customers cannot identify.
I'd add a voice-control check to that booking task. Someone sees ‘Book a visit’ and says those words, but the button's hidden name is ‘Schedule an appointment.’ Both phrases make sense; the mismatch can still leave them stuck. W3C's Label in Name guidance says the accessible name should contain the visible label so people can speak what they see. If AI is helping rewrite the page, give it both labels rather than asking it to polish each separately. I'd have the supplier try activating the button by its visible words. The customer shouldn't have to guess a second name for the same button.
For that opening-hours check, include any words baked into a graphic. W3C's images-of-text example gives the slogan itself as the alternative, without describing its decorative effects. An AI description such as ‘a colourful poster announcing a workshop’ could sound accurate while omitting the time someone needs. If the graphic is the only place carrying those details, I'd compare the draft against its actual words before approving it. Better still, put essential event information in ordinary page text. Someone checking whether they can attend should not have to extract it from a picture.
For someone stuck retyping the poster, Windows 11 has a useful shortcut: capture it with Snipping Tool, open Text actions, then copy the text into the event page. Microsoft's guide says the text recognition runs locally on the device. I'd paste into a draft and compare the date, price and booking address against the picture before publishing. That gets you editable words without uploading the poster to a chatbot. It won't decide what belongs in the alt text, but it can remove the typing chore that keeps the details stuck in the image.