In short
PageSpeed flags <img> elements with no alt attribute at all. Screen readers may read the file name instead, and search engines lose context. Give meaningful images a short description, and give purely decorative images an empty alt="". The report shows the exact element under "Failing Elements," including its CSS selector and HTML.
This is one of the few checks that appears in two categories: Accessibility (weight 10, the highest) and SEO.
Finding the image
The failing element shows a selector like body > a.whatsapp-button > img. Floating chat buttons, logos in footers, tracking pixels and slider images are common culprits that people miss.
What to write
| Image | alt |
|---|---|
| Product or service photo | Describe it: "Technician installing a rooftop AC unit" |
| Icon inside a link with no text | Describe the action: "Chat on WhatsApp" |
| Decorative shape or background | alt="" |
| Chart | The key takeaway |
Keep it under about 125 characters, no "image of," no keyword stuffing.
WordPress: set Alternative Text in the Media Library and in each Image block; check widgets and plugin-added images (chat buttons). Shopify: product media alt text. Webflow: asset alt text or per-image setting. Wix: image settings. Custom builds: make alt required in the CMS upload form.
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
Chrome for Developers, Lighthouse accessibility score
W3C WAI, An alt Decision Tree

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.
![Image Elements Do Not Have [alt] Attributes (PageSpeed Insights): How to Fix](/uploads/pagespeed-image-alt-cover.webp)


