Alternative text depends on why an image is on the page. A photograph of a chair on a product page may need to distinguish the chair's shape or finish. The same photograph used as purely decorative background may contribute no information beyond the adjacent text.
Ask what a reader would lose if the image were unavailable. That question is a better starting point than listing every object in the frame. W3C's image guidance distinguishes informative, decorative, functional, and complex images because they need different treatment.
Describe what matters
For an informative photograph, write a concise description of the relevant content. “Oak desk with two drawers and tapered legs” is more useful on a furniture page than “Beautiful image of our amazing desk.” Avoid adding promotional claims that the image cannot establish.
Do not repeat a full nearby caption without a reason. If the essential information is already present in adjacent text and the image adds no distinct meaning, review whether it should be treated as decorative. In HTML, a decorative image normally uses an empty alt attribute rather than omitting the attribute entirely.
Account for links and diagrams
An image that is the only content of a link needs an accessible name describing the link's purpose. A company logo linking to the homepage has a functional role, not just a visual appearance. Coordinate the alternative text with any visible link label so the result is not redundant.
A chart or detailed diagram may need a short identification plus a longer explanation in the page. Trying to squeeze every data point into one alt attribute can create an unwieldy description. Put the substantive information somewhere readers can use it in ordinary text or a suitable table.
Review the actual image
Do not generate descriptions from filenames alone. A file called “team-final.jpg” might show an empty office rather than people. Check the displayed crop too: an object mentioned in the text may have been cropped out of the visible version.
Leave out unnecessary phrases such as “image of” when they add nothing, and do not stuff search keywords into the description. Alt text serves the reader's understanding. Revisit it when an image is replaced, even if the new file occupies the same position and has the same dimensions.



