Skip to main content

    Alt Text

    Alt text describes an image for accessibility and helps search engines understand image content. It’s important for image SEO and semantics.

    Definition

    Alt text is the `alt` attribute on an `<img>` element. It provides alternative text when images fail to load and improves accessibility for screen readers. It also helps search engines understand what the image represents in context. Good alt text describes meaning, not keywords.

    Why it matters

    • Improves image search and semantic understanding
    • Supports accessibility (a11y)
    • Especially important for ecommerce and tutorial visuals

    How to implement

    • Describe the image meaning in context (one clear sentence)
    • Use empty alt (alt='') for decorative images
    • Avoid keyword stuffing

    Related

    FAQ

    Common questions about this term.

    Back to glossary