22/01/2023
By Chris Stevens
Alternative text (alt text) is essential for making images accessible to people who can't see them. Screen readers read alt text aloud, providing users with a description of the image.
Write alt text that is concise, descriptive, and contextually relevant. Describe the image's content and purpose. If the image is purely decorative, use an empty alt attribute (alt=""
). Avoid keyword stuffing. If an image is complex, consider providing a longer description using aria-describedby
or a separate text description.