Alt text is the alt attribute on an image. It describes the image for people who cannot see it, through a screen reader, and for search engines. Google calls it “the most important attribute” for image metadata and uses it alongside computer vision and the surrounding page to understand what an image shows. Google’s image SEO best practices
How do you write good alt text?
Describe what the image shows, in the context of the page, as you would to someone on the phone. Google’s own example moves from a missing alt, to a keyword list, to a short description:
| Alt text | Verdict |
|---|---|
| (none) | Missing. The image tells search and screen readers nothing. |
puppy dog baby dog pup pups puppies... |
Keyword stuffing. Google says this “may cause your site to be seen as spam”. |
puppy |
Better, but vague |
Dalmatian puppy playing fetch |
Best: specific and accurate |
For a business site the same pattern applies. “Office” says little; “Technician inspecting a solar inverter on a factory roof in Shah Alam” says what the image proves.
- Skip “image of” or “photo of”. Screen readers already announce an image.
- Put the important words first, and keep it to a sentence.
- Write it in the language of the page.
Which images need no alt text?
Decorative images, such as dividers, background textures or icons next to a text label, should carry an empty alt="". That tells screen readers to skip them. Leaving the attribute out entirely is worse, because some screen readers read the file name aloud instead.
If an image is a link, its alt text acts as the link’s anchor text, so describe where the link goes.
What else helps images rank?
- Use HTML images. Google states that it “doesn’t index CSS images”, so an important image set as a CSS background will not appear in image results.
- Name files descriptively.
solar-inverter-inspection.jpgsays more thanIMG00023.jpg. - Place images near related text. Google reads the surrounding page to understand them.
- Keep the mobile version complete. Under mobile-first indexing, Google asks for the same image URLs and alt text on mobile as on desktop.
Alt text sits on the on-page SEO checklist, and a site-wide crawl in a technical SEO audit is the quickest way to find images where it is missing.
