Alt text is one of the few SEO fixes that is also an accessibility fix, and it lives in your markup, not in a CMS plugin. Here is how I audit it on real sites.
What alt text is for
The alt attribute describes an image for anyone who can't see it: screen reader users, people on broken connections, and search engines. Google uses it, along with the surrounding text, to understand what an image shows and whether it belongs in image results.
So the test for good alt text is simple: if the image disappeared, would the alt text carry its meaning?
Four rules that cover most cases
- Describe, don't stuff.
alt="Red trail running shoe, side view"beatsalt="shoes running shoes best running shoes buy". Keyword lists read badly to screen readers and add nothing for search. - Decorative images get an empty alt. Dividers, background flourishes and icons next to a text label should use
alt="", so assistive tech skips them. Leaving the attribute out entirely is not the same thing; some screen readers will read the file name instead. - Linked images describe the destination. If an image is the only content of a link, its alt text is the link text.
alt="Pricing"tells users where the click goes;alt="icon"doesn't. - Charts and infographics need the takeaway. Put the one-sentence finding in alt, and the full data in a table or caption nearby.
Finding the gaps
On a small site you can check in DevTools:
// Images with no alt attribute at all [...document.images].filter(img => !img.hasAttribute('alt')).map(img => img.src); On anything bigger, page by page doesn't scale. A crawler that lists every image missing alt text across your URLs is faster. I built a free one at GetYouRank's SEO audit tool: paste up to 10 URLs and it reports missing alt text along with meta tags, broken links and redirect chains, with an Excel export. No sign-up card needed.
Fixing at the source
- Templates first. If product images pull alt text from a field nobody fills in, fix the template to fall back to the product name.
- CMS uploads. Make the alt field required on upload, with a short hint about describing the image.
- Generated images. For images created in code (OG images, charts), set alt in the same function that builds the image, so it can't drift.
Quick review checklist
- [ ] Every content image has a descriptive
alt - [ ] Decorative images use
alt="" - [ ] Image-only links describe their destination
- [ ] Charts have the finding in alt and the data on the page
- [ ] File names are readable (
red-trail-shoe.jpg, notIMG_4821.jpg)
Alt text won't move rankings on its own, but it's cheap to fix, it helps real users, and it gives search engines one more clear signal about your pages.
I'm Ankit Singh, founder of GetYouRank, an SEO consultancy for B2B and large sites. I've spent 13+ years running SEO in-house before starting it.
