Image SEO Audit: Fix Alt Text, Filenames and Discovery
Short answer: an image SEO audit checks whether search engines can discover each important image, understand what it shows, and connect it to the right page. Start with missing or misleading alt text, generic filenames, blocked image URLs, weak surrounding context, oversized files and JavaScript loading that hides the real source. Fixing those issues improves accessibility and gives useful images a clearer route into Google Images and visual search surfaces.
Do not treat this as an exercise in adding keywords to every image. A logo, product photo, chart and decorative background have different jobs. The audit should preserve those differences while making each meaningful asset technically accessible, contextually clear and fast enough to load.
What an image SEO audit should answer
A useful audit is built around four questions: can the image be fetched, can its purpose be understood, is the landing page relevant, and is the asset worth indexing? Google explains that it uses alt text together with page content and computer vision to understand images. It also recommends placing images near relevant text and using short, descriptive filenames. Those signals work together. One perfect alt attribute cannot rescue an unrelated landing page or a blocked file.
Google's current image SEO guidance also recommends representative, high resolution images for structured data and Open Graph metadata. That matters because the same asset may support a web result preview, a rich result, Discover or Google Images. Your audit should therefore cover both in-content images and the preferred sharing image declared in page metadata.
Step 1: Build an image inventory
Begin with a crawl that exports every image URL, the page where it appears, HTTP status, file size, dimensions, alt attribute and loading method. Group duplicate URLs together. The inventory turns a vague design review into a list of assets and pages that can be prioritized.
Separate the findings into these buckets:
- Indexable content images: product photos, diagrams, screenshots, charts, team photos and original illustrations.
- Functional images: icons or controls that communicate an action and need an accessible name.
- Decorative images: visual flourishes that should normally use an empty alt value so screen readers can skip them.
- Duplicate assets: the same file referenced through multiple resized URLs, query strings or CDN hosts.
- Broken or blocked assets: files returning errors, disallowed by robots rules or protected by authentication.
Prioritize templates and pages that already receive impressions, have commercial intent or contain unique visual content. A missing alt attribute on a product category template can affect hundreds of pages. Fixing that pattern is usually more valuable than polishing a single low traffic article.
Step 2: Audit alt text by image purpose
Alt text should communicate the image's purpose in the page context. It is not a caption, a keyword field or a place to repeat the page title. For a product image, include the product and the useful visible detail. For a chart, state the main finding, while the surrounding paragraph should explain the data fully. For a decorative divider, use alt="".
Compare these examples:
- Too vague:
alt="shoes" - Stuffed:
alt="best leather shoes buy leather shoes cheap shoes online" - Useful:
alt="Brown leather Oxford shoes with stitched toe cap"
Google warns against keyword stuffing in alt attributes because it harms the user experience and may look spammy. The practical test is simple: if the image failed to load, would the text help someone understand what information is missing? Use the site's Alt Text Helper to draft concise descriptions, then review them against the actual image and page purpose.
Step 3: Fix filenames and URL consistency
Generic filenames such as IMG_4837.jpg or image-final-2.png provide little context. A short filename such as brown-leather-oxford-shoes.jpg is clearer for editors, developers and search systems. Keep it factual and avoid long strings of keywords.
Renaming is easiest before publication. If an indexed image URL already earns traffic or links, changing it without a redirect can lose those signals. Either keep the stable URL or map the old image path to the new one. Use the same canonical image URL wherever the asset is reused, because consistent references help crawlers cache and understand the file.
Step 4: Check crawlability and image discovery
Open a sample of image URLs directly. They should return a successful response with the correct image content type. Check robots.txt, page-level robots directives, CDN security rules and signed URLs. A public page cannot make a protected or expiring image reliably indexable.
Inspect lazy loading too. Native loading="lazy" is normally safe when the real URL remains in src or srcset. Risk appears when JavaScript stores the only URL in a custom attribute and waits for a click or scroll event that a crawler may not trigger. Render the page with JavaScript and confirm that the final HTML exposes the image source.
For sites with images that are hard to discover, image entries in an XML sitemap can help. Google's image sitemap documentation describes the image namespace and required tags. A sitemap is a discovery hint, not a promise of indexing or rankings, so it should support clean internal linking rather than replace it.
Step 5: Improve page context and preferred images
Search systems read more than the file. The heading, nearby paragraph, caption, page title and structured data establish what the image means. Place a diagram next to the explanation it supports. Put a product photo on the relevant product page, not in an unrelated gallery. Avoid publishing important images on thin pages that provide no unique context.
Declare a representative image in Article, Product or other relevant structured data, and keep the same strong asset in og:image where appropriate. Use an original, high resolution image with a normal aspect ratio. Do not use a logo as the default preview for every article if a specific feature image exists.
Step 6: Balance quality and performance
Large files slow the page and can delay the main visual. Export images at the largest size they actually need, provide responsive srcset variants and choose a suitable format. Keep width and height attributes so the browser reserves space before the file arrives. The site's Image Compressor can reduce file weight, while the Image Converter helps create modern formats when they fit the browser and workflow requirements. On WordPress sites, Smush Pro automates the same compression and resizing as each image is uploaded.
Do not lazy load the main hero if it is the largest visible element at the top of the page. Give it normal or high fetch priority when appropriate, and lazy load images further down. Performance work should never remove the descriptive alt text or make the source dependent on user interaction.
Image SEO audit priority matrix
| Finding | Impact | Priority | Recommended fix |
|---|---|---|---|
| Important image blocked or broken | No reliable discovery or display | Critical | Restore a stable public URL and remove crawl blocks |
| Template-wide missing alt text | Accessibility and context loss at scale | High | Fix the component logic and review generated text |
| Hero image oversized | Slow loading and poor user experience | High | Resize, compress and serve responsive variants |
| Generic filename on a new asset | Weak supporting context | Medium | Rename before publication |
| Decorative image has verbose alt text | Screen reader noise | Medium | Use an empty alt value where appropriate |
How to validate the fixes
Re-crawl the affected templates and compare the new export with the baseline. Test keyboard and screen reader output on representative pages. View the rendered DOM to confirm image URLs and attributes. Run a performance test on pages where image weight or loading order changed. Then monitor Google Search Console performance with the Search type set to Image, looking for changes by landing page and query rather than expecting an instant sitewide jump.
Document the rule behind every bulk fix. For example: product gallery thumbnails use concise product names plus visible variants, decorative icons use empty alt text, and editorial charts use a short summary with a detailed explanation in the body. Clear rules prevent the same errors from returning with the next upload.
Image SEO audit checklist
- Crawl all image URLs, landing pages, status codes, dimensions and file sizes.
- Give informative images concise, context-specific alt text.
- Use empty alt values for images that are purely decorative.
- Replace generic filenames before publication where practical.
- Keep important existing URLs stable or redirect changed paths.
- Confirm robots rules, CDN controls and authentication do not block files.
- Expose real URLs in
srcorsrcsetwhen lazy loading. - Place images near relevant headings, paragraphs and captions.
- Declare a strong preferred image in structured data and Open Graph tags.
- Resize, compress and serve responsive variants without hiding content.
Frequently asked questions
Does every image need descriptive alt text?
Every image needs an alt attribute, but decorative images should usually use an empty alt value. Informative images need concise text that communicates their purpose in the page context.
Do image filenames affect SEO?
Descriptive filenames provide a light clue about an image subject. Rename generic upload names before publication when practical, but do not break existing image URLs without redirects.
Can lazy loading block image discovery?
Native lazy loading is generally crawlable when the real image URL remains in the img src or srcset attributes. Problems arise when JavaScript hides the URL until an interaction Google may not perform.
Should images be added to an XML sitemap?
Image sitemap data can help Google discover images, especially when they are difficult to find through normal crawling. It is a discovery aid, not a ranking guarantee. This is exactly the kind of work we handle for clients through our SEO services.
Need an image SEO audit for your website?
I can review image crawlability, alt text patterns, filenames, page context and performance, then turn the findings into a prioritized implementation plan.