# Image has empty alt (possible oversight)

> Image has alt="" which is valid only for purely decorative images. Verify this is intentional for each image.

Source: https://seocode.io/checks/image-empty-alt

[All checks](https://seocode.io/checks) / Images

Image has alt="" which is valid only for purely decorative images.

Info `image-empty-alt`

In SEOCode's checks since 30 Apr 2026

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Read the docs](https://seocode.io/docs)

## Why this matters.

Image has alt="" which is valid only for purely decorative images. Verify this is intentional for each image.

Runs on `.html` `.jsx` `.tsx` `.vue` `.svelte` · Advisory checks point at an improvement. They never block a merge.

## How to resolve it.

If this image conveys information, add descriptive alt text. If purely decorative, alt="" is correct, add role="presentation" to confirm intent.

**SEOCode writes this fix for you**

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.

## Where this comes from.

- [01 · Google Imagesdevelopers.google.com](https://developers.google.com/search/docs/appearance/google-images)

Using a framework? [Next.js](https://seocode.io/nextjs-seo) · [SvelteKit](https://seocode.io/sveltekit-seo) · [Nuxt](https://seocode.io/nuxt-seo)

## Related checks.

Alt text, lazy loading and the image signals that decide whether a picture is indexed.

- [01 · Image missing alt attribute Critical Images without alt attributes are invisible to search engines and fail accessibility standards (WCAG 2.1).](https://seocode.io/checks/image-missing-alt)

- [02 · Image missing lazy loading Info Images without loading="lazy" are loaded immediately, increasing initial page load time and hurting Core Web Vitals.](https://seocode.io/checks/image-missing-lazy-loading)

- [03 · Inconsistent image URL references Info Image URLs should be referenced consistently across pages for easier crawling on larger websites.](https://seocode.io/checks/image-url-consistency)

- [04 · Missing image metadata for Search/Discover thumbnails Info Google uses both schema.org markup and the og:image tag as sources when determining image thumbnails in Google Search and Discover.](https://seocode.io/checks/image-preferred-source-metadata)

- [05 · Video thumbnail has excessive transparency Warning Google requires that at least 80% of video thumbnail pixels have little or no transparency to enable video indexing.](https://seocode.io/checks/video-transparency)

- [06 · Consider using AVIF image format for better compression Info Google Search now supports AVIF as an indexable image format.](https://seocode.io/checks/avif-image-format-supported)

[All 9 images checks](https://seocode.io/checks#images)

## Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Get a website audit](https://seocode.io/audit?from=checks-cta)

Free for public repositories · no credit card
