Performance
What should alt text say?
Describe what the image shows, for someone who cannot see it. If the image is a link, describe where the link goes. If it is purely decorative, use an empty alt attribute so screen readers skip it — but never omit the attribute entirely.
By case
| Case | What to write |
|---|---|
| Informative image | What it shows, as a normal phrase |
| Image that is a link | Where the link goes, not what the picture is |
| Decorative image | alt="" — empty, never omitted |
| Image containing text | The text itself, verbatim |
| Product photo | Product name plus the distinguishing detail |
Why an empty attribute beats a missing one
With alt="" a screen reader skips the image silently. With no alt attribute, many screen readers announce the filename — so the user hears "I M G underscore four four seven one dot j p g", which is worse than nothing.
The SEO position, honestly
Alt text helps image search and contributes modestly to what a page is about. Writing it properly for accessibility produces the best version for search anyway. Keyword-stuffed alt text fails both purposes.
The longer version
This answer is deliberately short. If you want the full treatment, Image SEO: findable images that do not wreck your page speed covers it in about 3 minutes — free, ungated, written from client work.
Who answered this
Anas Bin Masud builds e-commerce sites and does technical SEO for businesses in the UK, Canada and Pakistan — fifteen live client sites, six of them stores taking real payments. These answers come from those projects rather than from a content brief. More about how I work, or ask me something directly.