Skip to content
TechA11y
DevelopmentJul 16, 20265 min read

Images and alternative text done right

Good alternative text lets people who can't see an image understand its meaning. Knowing when text should be empty matters just as much.

Describe purpose, not pixels

Alt text should convey the meaning an image communicates in context, not a literal description of every detail. The same image may warrant different alt text on different pages.

Decorative images

Images that add no information—purely decorative flourishes—should have empty alt text so assistive technology skips them, reducing noise for screen reader users.

Complex images

Charts and diagrams often need a short alt plus a longer description nearby, so the underlying data is available to everyone.

Related TechA11y resources.