Last updated 2026-11-26
Describe the purpose, not just the picture
Alt text should give the information the image provides in the context of the page. A photo of a team at a whiteboard in an article about agile planning might be described as a team reviewing a sprint board, because that is why the image appears. Describing every visual detail rarely helps and can bury the important point.
Keep it short and specific
Most alt text works best under about 125 characters. Avoid starting with image of or photo of, because screen readers already announce the image. Name specific things that matter, such as a product model, a person's role or a location, but do not invent details you cannot see.
Handle logos, charts and decorative images
A logo link should describe the destination, such as the company name, not the logo itself. Charts need a short alt text that states the main finding, plus a text summary or table nearby for the full data. Purely decorative images, such as dividers or background textures, should have an empty alt attribute so screen readers skip them.
Check and maintain alt text
Review alt text when you update images or change the surrounding text. Test with a screen reader on a few key pages to hear how the descriptions sound in context. Make alt text part of your publishing checklist so new content is accessible from the start.
Frequently asked questions
- Should alt text include keywords?
- Include a relevant term only when it accurately describes the image. Stuffing keywords harms accessibility and search quality.
- What about images of text?
- Include the text in the alt attribute when it is short, such as a button label or a quote. For long text in images, present the content as normal page text instead.
- Do all images need alt text?
- Every image needs an alt attribute. Informative images need descriptive text, and decorative images need an empty value so they are ignored by assistive technology.