ZeroToWP

Alt Text

Quick Definition

Alt text (alternative text) is a description you add to an image that tells screen readers and search engines what the image shows. It also displays when the image fails to load.

MDN documentation for the HTML img element and alt attribute

What Is Alt Text?

The alt attribute on <img>. MDN: "defines text that can replace the image." Purposes: accessibility (screen readers), fallback (broken images), SEO (Google can't see images).

Good: alt="WordPress dashboard showing Posts menu". Bad: alt="image". Empty alt="" for decorative images only.

In WordPress: set via Media Library or Block Editor sidebar.

Why It Matters

Where accessibility meets SEO. Required by WCAG, helps Google Image ranking. See our SEO checklist and image optimization guide.

Related Terms

Related Articles