How to Write Good Alt Text for Images (SEO and Accessibility)
· 3 min read · By PK Creative
Alt text is a short written description of an image. It lets people using screen readers know what is shown, it appears when an image fails to load and it helps search engines understand your pictures, which can bring visitors from image search.
Describe what matters, briefly
Good alt text says what the image shows in the context of the page, in a sentence or less. For a photo on a branding page, "Designer reviewing logo concepts on a laptop" is more useful than "image1" or "branding". Aim for about 5 to 15 words and avoid starting with "image of" because screen readers already announce it as an image.
Match the type of image
Different images need different treatment.
- Informative photos: describe the subject and relevant detail.
- Logos: use the company name, for example "PK Creative logo".
- Linked images: describe where the link goes, such as "View our branding services".
- Charts and infographics: summarise the key finding and put detailed data in the page text.
- Decorative images: use empty alt text so screen readers skip them.
Use keywords naturally
If your image shows a relevant product or service, a related keyword may fit naturally, for example "Interior designer's living room project in Jaipur". Do not stuff keywords or repeat the same phrase on every image. Writing for a person who cannot see the picture keeps it natural.
Add file names and surrounding text
Search engines also read file names and nearby text. Use descriptive file names with hyphens, such as logo-design-process-sketches.webp, and place images near paragraphs that discuss the same topic. Together these give context that improves understanding.
Audit your site
Run a free accessibility checker or the Lighthouse tool to find images without alt text, then fix the most important pages first. Make alt text a required step whenever someone uploads an image in your admin panel. Learn more in our accessibility guide and image optimisation guide.
Frequently asked questions
- How long should alt text be?
- Usually under about 125 characters. Be descriptive but concise.
- Should every image have alt text?
- Every image needs the attribute. Informative images need a description, and decorative ones should have it empty.
- Does alt text help Google rankings?
- It helps Google understand images and can support image search visibility, alongside accessibility benefits.
- alt text for images
- image SEO
- accessibility alt attribute
- write alt text