Image Accessibility: Writing Alt Text That Actually Helps
What is Alt Text?
Alt text (alternative text) is a text description of an image embedded in the HTML 'alt' attribute:
''html <img src="product-photo.jpg" alt="Blue ceramic coffee mug with geometric pattern, 350ml capacity" ''
Alt text serves three purposes: 1. Screen readers read it aloud to visually impaired users 2. Search engines use it to understand image content 3. It displays when an image fails to load
Why Alt Text Matters for Accessibility
Approximately 2.2 billion people globally have some form of vision impairment. Screen reader users rely on alt text to understand every image on a page. Without it, they hear "image" or nothing at all — providing zero information about potentially critical content.