Alt text

Alt text is the alt="..." HTML attribute that describes an image in words for screen readers and search engines, shown if the image fails to load.
SEO & GEO
Created on
16.09.2026

Summarize this

Alt text is the alt="..." HTML attribute added to an <img> tag to describe an image in words, read aloud by screen readers and used by search engines to understand what the image shows.

What is alt text?

Alt text (short for "alternative text") is a required accessibility attribute on the HTML <img> element. It gives a text equivalent of an image's content and function, so the page remains usable when the image cannot be seen: by a screen reader user, on a slow connection where the image fails to load, or by a search engine crawler that cannot interpret pixels. A missing or vague alt attribute is one of the most common accessibility and SEO gaps on a website.

Syntax and how it works

Alt text is written directly inside the image tag:

<img src="team-photo.jpg" alt="BeBranded team working at a shared desk in the Paris office">

Screen readers announce the alt attribute in place of the image. Search engines index it as a signal of the image's subject, which can surface the page in image search results. If the alt attribute is omitted entirely, some screen readers fall back to reading the file name, which is rarely useful.

When to write alt text, and when to leave it empty

  • Informative images (photos, illustrations, screenshots): describe what the image shows and why it matters in context.
  • Functional images (a logo used as a homepage link, an icon button): describe the action or destination, not the visual, for example "Back to homepage".
  • Decorative images (background textures, spacers, purely stylistic icons): use an empty attribute alt="" so screen readers skip them entirely.
  • Complex images (charts, infographics): a short alt text plus a longer description in the surrounding text or a linked data table.

Alt text vs caption vs title attribute

AspectAlt textCaptionTitle attribute
PurposeAccessible description of the imageVisible text shown near the imageExtra tooltip shown on hover
Visible to sighted usersNoYesOnly on hover (desktop)
Read by screen readersYesYes, as regular textInconsistently, often skipped
Used by search enginesYes (image search signal)Yes, as page contentWeak or no SEO signal

Best practices and common mistakes

Good alt text is specific and concise, usually under 125 characters, and describes the image as it relates to the page's content rather than a generic label. Common mistakes include stuffing keywords into the attribute ("shoes red shoes buy shoes"), starting with "image of" or "picture of" (screen readers already announce it as an image), and leaving the attribute empty on images that carry real information. Alt text should never be the only place important information appears, since it is invisible to sighted users.

Alt text and SEO impact

Google uses alt text as one of several signals to understand an image's subject and rank it in Google Images, which can drive meaningful traffic for visual-heavy sites like e-commerce or portfolios. It also contributes indirectly to page relevance, since it is real, indexable text tied to the surrounding content. Beyond that relevance and accessibility signal, alt text has no measurable effect on classic web ranking, so it should be written for humans first.

Alt text at BeBranded

We audit and rewrite alt text as part of every technical SEO & GEO pass, since missing or generic alt attributes are a recurring, easy-to-fix gap we find on almost every site we review.

FAQ

Alt text describes an image in words for screen readers, and gives search engines a text signal about the image's content when the image itself cannot be seen.
Every informative or functional image should; purely decorative images should use an empty alt="" attribute instead.
Keep it concise, generally under 125 characters, describing what matters about the image in context rather than every visual detail.
It helps Google Images understand and rank an image, and adds a small amount of relevant, indexable text to the page, but it is not a major ranking factor on its own.
Alt text is invisible metadata read by screen readers and crawlers; a caption is visible text displayed near the image for all users.
Screen readers may read the file name instead, users relying on assistive tech get no description, and the image carries less SEO signal.

Ready to boost your conversions?

Our team is here to understand your needs & work with you to create your next projects.
Get news, infos and resources.
Actionable tips delivered straight to your inbox.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.