Alt Text

The `alt` attribute of an HTML `<img>` element — a text description of an image that displays when the image fails to load, assists screen readers for visually impaired users, and helps search engines understand image content.

Updated June 9, 2026

TL;DR

Alt text describes images to search engines and screen readers. Google can't 'see' images — only read alt text — so without it, images are invisible for SEO. Write descriptive, natural alt text; don't stuff keywords.

Key Points

Google explicitly states that alt text is used to understand image content for Google Images ranking and for accessibility

Decorative images (dividers, icons, backgrounds) should use empty alt text (alt='') — this tells screen readers to skip the image

Alt text should describe what the image shows, not repeat the surrounding text or keyword-stuff

Missing alt text on important images (product photos, instructional diagrams) leaves significant SEO value uncaptured

Writing Effective Alt Text

Good alt text is specific, concise, and descriptive of what the image actually shows[1]. For a photo of a person making espresso: 'barista tamping espresso grounds into portafilter' is better than 'coffee' (too vague) or 'best espresso machine coffee brewing tutorial step 3' (keyword-stuffed). Include the target keyword naturally if it's relevant to what the image shows — if you have an image of a keyword research spreadsheet on a keyword research page, 'keyword research spreadsheet with search volume and difficulty columns' naturally includes the keyword while being accurate. Keep alt text under 125 characters — screen readers typically announce this attribute and excessively long alt text interrupts the reading flow. Use empty alt text (alt='') for purely decorative images so screen readers skip them rather than reading out meaningless descriptions.

Alt Text and Google Images

Google Images is a significant traffic source that many sites overlook[1][2]. Optimized images with accurate alt text can drive substantial referral traffic from image searches — particularly for visual industries (design, food, fashion, real estate, products). Google uses alt text as the primary signal for understanding what an image depicts, alongside the surrounding text, the image filename, and the page's overall topic. Including relevant keywords in alt text (naturally, not stuffed) can help images rank in image search for those terms. Use descriptive filenames too — 'espresso-machine-portafilter.jpg' is better than 'img0042.jpg.' For product-based businesses, properly alt-texted product images appear in Google Shopping surfaces, generating additional discovery touchpoints beyond standard text search.

Alt Text for Accessibility and SEO Combined

Alt text serves dual masters: search engines and users with visual impairments[2]. For SEO, the goal is keyword-relevant descriptions that help Google understand image content. For accessibility, the goal is describing the image accurately enough that a blind user understands what they're missing. These goals align in most cases: a descriptive, specific alt text serves both. Screen readers announce alt text to visually impaired users navigating with assistive technology — poor alt text ('image1', 'photo', 'click here') creates a confusing experience. The E-E-A-T connection is real: websites that implement proper alt text demonstrate care for all users, which Google's quality raters evaluate. WCAG (Web Content Accessibility Guidelines) 2.1 specifies that all informative images must have text alternatives — accessibility compliance and SEO optimization are aligned, not competing priorities.

Put it into practice

Skribra automates your SEO content pipeline — from keyword research to published articles — so you can apply these concepts at scale.

Try Skribra Free