<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-write-good-alt-text-for-screen-readers-0y1r3qkns" -->

---
title: How to write good alt text for screen readers | daily.dev
description: A practical guide to writing effective alt text for images, covering what alt text is and why it matters for screen reader users and fail states. Walks through...
canonical: https://daily.dev/posts/how-to-write-good-alt-text-for-screen-readers-0y1r3qkns
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to write good alt text for screen readers | daily.dev
og:description: A practical guide to writing effective alt text for images, covering what alt text is and why it matters for screen reader users and fail states. Walks through...
og:url: https://daily.dev/posts/how-to-write-good-alt-text-for-screen-readers-0y1r3qkns
og:image: https://api.daily.dev/og/posts/0y1R3QkNS.png
og:image:alt: How to write good alt text for screen readers
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to write good alt text for screen readers

**[Craig Abbott](https://daily.dev/sources/craigabbott)** · 11 min read · 0 upvotes · 0 comments

## Summary

A practical guide to writing effective alt text for images, covering what alt text is and why it matters for screen reader users and fail states. Walks through common mistakes: missing alt attributes, overly vague or overly detailed descriptions, losing page context, mishandling decorative images, ignoring charts and graphs, keyword stuffing, and redundant phrases like 'image of'. Recommends using figure/figcaption alongside alt text for charts and linking to raw data. Closes with a discussion of the controversial approach of hiding all images and describing them purely in body text.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.craigabbott.co.uk/blog/2023/how-to-write-good-alt-text-for-screen-readers>

## Questions this post answers

### How should I write alt text for a chart or graph image?

Use the alt attribute for a brief description of what the chart visually shows, such as 'a two axis line chart showing a single line on a constant upward trend', and pair the image with a figure and figcaption element to add narrative context, like explaining the trend's meaning. Link to the raw data source separately so readers can draw their own conclusions instead of relying only on your interpretation.

_Developers refining accessible chart markup can find more practical accessibility guidance on daily.dev._

### Should a decorative image still have an alt attribute?

Yes, decorative images must still include an alt attribute, but it should be left empty, like alt="", so screen readers skip announcing it entirely. Truly decorative images are things like textures or background patterns used for stylistic branding purposes only; if an image adds any contextual value for sighted users, it should not be marked decorative and needs descriptive alt text instead.

_Frontend developers sorting decorative from meaningful images can track accessibility best practices on daily.dev._

### Why shouldn't alt text start with 'image of' or 'picture of'?

Screen readers already announce that an element is an image before reading its alt text, so prefixing the description with 'image of' creates redundant, unnecessary noise for the listener. For example, a screen reader would read 'Image. Image of a ginger cat wearing mirrored sunglasses,' doubling up on the same information and making the experience less efficient for screen reader users.

_Anyone polishing accessible content writing habits can keep discovering guidance like this on daily.dev._

## Similar posts on daily.dev

- [Your alt text passes automated checks. That doesn’t mean it’s any good.](https://daily.dev/posts/your-alt-text-passes-automated-checks-that-doesn-t-mean-it-s-any-good--yl2nudg6n) · GitHub Blog · 5 upvotes · 1 comments
- [Decorative Images…](https://daily.dev/posts/decorative-images--ynw28axuw) · Adrian Roselli · 6 upvotes · 0 comments
- [Why it’s important to manually test for Accessibility](https://daily.dev/posts/why-it-s-important-to-manually-test-for-accessibility-pqosvk7wb) · SitePoint · 0 upvotes · 0 comments
- [A Better Experience for Everyone: Usability Meets Accessibility - FastRuby.io](https://daily.dev/posts/a-better-experience-for-everyone-usability-meets-accessibility---fastruby-io-a2l1ha4ia) · RUBYLAND · 0 upvotes · 0 comments
- [Hidden Web Accessibility Issues Most Designers Miss in 2026](https://daily.dev/posts/hidden-web-accessibility-issues-most-designers-miss-in-2026-gm6w0zamx) · Netguru · 0 upvotes · 0 comments

---

Tags: [#html](https://daily.dev/tags/html), [#accessibility](https://daily.dev/tags/accessibility), [#seo](https://daily.dev/tags/seo)

[View this post on daily.dev](https://daily.dev/posts/how-to-write-good-alt-text-for-screen-readers-0y1r3qkns)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to write good alt text for screen readers","url":"https://daily.dev/posts/how-to-write-good-alt-text-for-screen-readers-0y1r3qkns","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-write-good-alt-text-for-screen-readers-0y1r3qkns"},"datePublished":"2026-09-20T07:44:05.227Z","dateModified":"2026-09-20T07:46:01.790Z","description":"A practical guide to writing effective alt text for images, covering what alt text is and why it matters for screen reader users and fail states. Walks through...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a0ffc407e6f6c1b75eadc5a3e5dc0325?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a0ffc407e6f6c1b75eadc5a3e5dc0325?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Craig Abbott","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Craig Abbott","logo":"https://media.daily.dev/image/upload/s--7L_KxzEH--/f_auto,q_auto/v1789890198/logos/craigabbott?_a=BAMAMicg0","url":"https://daily.dev/sources/craigabbott"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-write-good-alt-text-for-screen-readers-0y1r3qkns","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"html,accessibility,seo","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Craig Abbott","item":"https://daily.dev/sources/craigabbott"},{"@type":"ListItem","position":3,"name":"How to write good alt text for screen readers"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-write-good-alt-text-for-screen-readers-0y1r3qkns#faq","mainEntity":[{"@type":"Question","name":"How should I write alt text for a chart or graph image?","acceptedAnswer":{"@type":"Answer","text":"Use the alt attribute for a brief description of what the chart visually shows, such as 'a two axis line chart showing a single line on a constant upward trend', and pair the image with a figure and figcaption element to add narrative context, like explaining the trend's meaning. Link to the raw data source separately so readers can draw their own conclusions instead of relying only on your interpretation. Developers refining accessible chart markup can find more practical accessibility guidance on daily.dev."}},{"@type":"Question","name":"Should a decorative image still have an alt attribute?","acceptedAnswer":{"@type":"Answer","text":"Yes, decorative images must still include an alt attribute, but it should be left empty, like alt=\"\", so screen readers skip announcing it entirely. Truly decorative images are things like textures or background patterns used for stylistic branding purposes only; if an image adds any contextual value for sighted users, it should not be marked decorative and needs descriptive alt text instead. Frontend developers sorting decorative from meaningful images can track accessibility best practices on daily.dev."}},{"@type":"Question","name":"Why shouldn't alt text start with 'image of' or 'picture of'?","acceptedAnswer":{"@type":"Answer","text":"Screen readers already announce that an element is an image before reading its alt text, so prefixing the description with 'image of' creates redundant, unnecessary noise for the listener. For example, a screen reader would read 'Image. Image of a ginger cat wearing mirrored sunglasses,' doubling up on the same information and making the experience less efficient for screen reader users. Anyone polishing accessible content writing habits can keep discovering guidance like this on daily.dev."}}]}
```

