How to Write Effective Alt Text for Images (WCAG 1.1.1 Guide)
Context determines everything in alt text: learn when to describe, when to write action verbs for buttons/links, and when to use empty alt="".
Key Takeaways
- Informative images describe the meaning in context, not a literal pixel inventory.
- Functional images inside buttons/links describe the action or destination (e.g., 'Search', 'Download PDF').
- Purely decorative images must use empty alt="" so screen readers skip them.
Context Over Literal Description
Avoid boilerplate phrases like 'Image of' or 'Picture showing'—screen readers announce the image role automatically. Keep descriptions concise and focused on why the image appears on that specific page.
Informative vs. Decorative Markup
<img src="arrow.png" alt="Right blue arrow graphic">
<img src="banner.jpg"><button aria-label="Next slide"><img src="arrow.png" alt=""></button>
<img src="banner.jpg" alt="Engineers pairing at a desk reviewing accessibility checks">Frequently Asked Questions
Interactive Tools for This Guide
Image Alt Text Checker
Detect missing alt attributes, filename placeholders, and redundant alt phrasing locally.
Alt Text Writing Assistant
Draft accurate alt attributes locally using the W3C image decision tree.
Decorative Image Checker
Audit empty alt="" and aria-hidden usage on decorative vs. functional images.
Continue Reading
Decorative vs. Informative Images: When to Use Empty alt=""
Learn why alt="" is a purposeful accessibility feature—not a mistake—for decorative visuals and redundant icons.
SVG Accessibility Best Practices: Decorative vs. Informative Vectors
Avoid silent or garbled inline SVG announcements across VoiceOver, NVDA, and JAWS.