Skip to main content
SerpGem

Alt Text

The alternative text attribute on an HTML image tag that describes the image for search engines and screen readers.

Definition

Alt text (alternative text) is the value of the alt attribute in an HTML <img> tag: <img src="chart.png" alt="Bar chart showing organic traffic growth from 2022 to 2024">. It serves two primary purposes: accessibility (screen readers announce it to visually impaired users) and SEO (search engines cannot see images, so they rely on alt text to understand image content).

For image SEO, well-written alt text can help images rank in Google Image Search, which drives meaningful traffic for visual niches like e-commerce, photography, and infographics. Alt text should describe the image accurately and concisely, include the target keyword where it fits naturally, and be unique for each image on the page.

Common mistakes include leaving alt text blank (which makes images invisible to search engines and inaccessible to screen reader users), using generic phrases like "image1.jpg" or "photo," and keyword-stuffing alt attributes. Decorative images that add no informational value (borders, spacers) should use empty alt text (alt="") so screen readers skip them. Use an image alt checker to audit pages for missing or poor-quality alt attributes.

Frequently Asked Questions

How long should alt text be?
Keep alt text concise — typically under 125 characters. Screen readers truncate longer descriptions. Focus on accurately describing what is in the image rather than hitting a length target. Include a keyword only if it genuinely describes the image.
Does missing alt text directly hurt SEO rankings?
Missing alt text doesn't trigger a direct ranking penalty, but it means the image contributes zero SEO value and fails accessibility requirements. Pages with many images missing alt attributes may score poorly in technical SEO audits and Core Web Vitals accessibility evaluations.