العربية
AI and website design

How to write image alt text with AI for a business website

Review AI-written alt text in context. Follow one photo through three placements to decide when to describe it, name a link or leave the alternative empty.

By manassa plusPublished · Updated 6 min read

Give the writing assistant the image, its section heading, the nearby copy and what happens when someone clicks it. Ask what a visitor would miss if the image disappeared. The answer might be a detail worth describing, an action worth naming or nothing at all. Review the proposed alt text in the order a visitor would read the page.

Choose what the visitor needs from the image

Alt text conveys an image’s meaning to someone reading the page without seeing it. A website editor usually stores it in an alternative text field, which becomes the image’s alt attribute. A caption appears on the page for everyone. Read the caption and heading first to work out what the image still needs to say.

  • Informative image. Describe the detail that helps someone understand or choose. If a sample illustrates how a drawer opens, the grip matters more than the colour of the wall behind it.
  • Decorative image. If removing an ornament leaves every instruction and action intact, mark it as decorative in the editor. The resulting image element should have an explicitly empty alt="" attribute. Check that the editor preserves it.
  • Functional image. When the image supplies the only name for a link or button, name its destination or action, such as “Download the size guide”. If text inside that same control already names the action and the image adds nothing, its alternative can be empty.
  • Complex image. Identify the diagram and its main point briefly. Provide the details in nearby text or an accessible table. For a process diagram, for instance, write out the sequence and explain where the path branches so a reader can follow it.

Consult the W3C alt decision tree to classify an image and its complex image examples for ways to provide fuller descriptions.

One photograph, three different decisions

In this hypothetical example, a cabinetmaker has a close-up of an open drawer with a recessed finger pull. An assistant suggests “luxury oak drawer”. The species is unconfirmed, and “luxury” tells a customer nothing about opening it. Start again with the photograph’s placement.

Three uses of the drawer photograph
Image placementEditorial decision
Under “Opening options”, without an explanation“An angled recess along the top edge lets you pull the drawer open.” This conveys the feature the customer is comparing.
Alone inside a link“Explore cabinet handle options.” This names the assumed destination. Open the link to verify it.
Inside the same link as the words “Explore cabinet handle options”Use alt="" if the photo is decoration here. The link already announces its text once.

On a small screen, scroll the table horizontally if needed.

If the visible label sits outside the image link, check that the link itself has an understandable name when navigating through links. The W3C functional image examples show how text inside a link contributes its name.

A reusable prompt for an alt text draft

Use an image you have permission to share, or supply a description of the details your team has verified. Keep actual project photos distinct from illustrative concepts. The AI website image brief helps you pick the asset before you write its alternative.

The visitor is trying to [task]. The section heading is [heading] and the nearby copy says [copy]. Clicking the image [does nothing or goes to the actual destination]. Text inside the same link or button reads [text or “none”]. Verified image details are [facts]. Recommend one treatment, explain why, and draft the alternative in the page language. If nearby text covers the meaning and the image is decorative, mark it decorative. For a complex graphic, suggest a short identification and where the full explanation belongs. Ask me about any missing fact that could change your decision.

If the assistant infers “water-resistant wood” from a glossy surface, remove the claim and check the product specification if water resistance matters to the purchase. On a translated page, match the product name and link destination to the terms visitors actually see in that language.

Test the draft in its final placement

  1. Read the heading, alternative and next sentence aloud. Remove repetition while retaining the detail that makes the service understandable.
  2. On a working test page, focus the image link with a keyboard and listen to its name with a screen reader. Follow it and check that the destination matches. Repeat in the second language.
  3. For a chart, compare the text table’s figures, units and categories with the designer’s source data. If the source is missing, request it before approving the description.
  4. Record the image placement, decision and approved text in each language. Revisit the decision if the image’s job changes, even when its file stays the same.

Search engines can use alt text alongside page content to understand an image. Repeating service keywords across every image makes descriptions harder to listen to. Google’s image search guidance explains how descriptive words relate to the surrounding page.

What to send with a design request

Include one image cleared for use, where you plan to place it and the detail a customer should take away. The designer can discuss the placement in a visual preview. During implementation, the team can test the actual alternative and its screen reader output on a working page.

The cabinetmaker also uses the drawer photo as a video cover. A native video poster stores the image URL in the player’s poster attribute. Give the video a visible title nearby when viewers need to know what they are about to watch. If a separate thumbnail button opens the video, listen to its accessible name. “Play the drawer-opening demo” identifies its action. Once playback begins, viewers watching on mute need to know when the latch locks. The guide to captions for website videos shows how to hand over speech and important sounds with their timing.

manassa plus publishes this guide. When you request a free visual preview, the team confirms its timing after reviewing your project details. Once you approve the design, choose the plan and services and subscribe for implementation and publication. Review the business website design scope and agree which images and languages the review will cover.

Official sources and details

A commercial guide published by manassa plus, prepared with AI assistance. Examples are hypothetical unless stated otherwise. Prices come from our website data. Search indexing and rankings are not guaranteed. Editorial and corrections policy.

Ready to build your website?

Tell us what you have in mind. Our team uses AI-assisted design and reviews the website with you before launch.

Request a free preview