Skip to content
Nazmul Nikhil
Menu

Image Elements Do Not Have [alt] Attributes (PageSpeed Insights): How to Fix

PageSpeed flags images with no alt attribute in both Accessibility and SEO. Here's what to write, when alt="" is right, and how to find the exact image.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Image Elements Do Not Have [alt] Attributes (PageSpeed Insights): How to Fix
Photo: Jason Leung on Unsplash

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.

Sources and references

TAGSPageSpeed InsightsImage elements do not have alt attributesMissing alt attributeAlt text pagespeed
Nazmul Nikhil

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.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com