Alt text (short for āalternative textā) is the short written description you add to an image on your website. When someone using a screen reader visits your site, that’s what they’ll hear instead of seeing the image. Search engines read it too, to better understand your content.Ā
It might feel like one of those tiny details only accessibility experts lose sleep over. But alt text does some heavy lifting. Done well, itās a win-win for both accessibility and SEO. Done poorly, itās just filler text that annoys users and adds no value.Ā
Here are some nonprofit website alt text best practices to keep in mind:
- Focus on what the image conveys. Think about meaning, not literal description. For instance, write ānurse having a serious conversation with a patientā rather than āwoman in a blue smock talking to a man on a bed.ā Or ābar chart showing donations doubled in 2024,ā not just ābar chart.ā
- Use blank alt text if the image is only decorative. For purely design elements (like a swirl or a colored divider bar), set the alt attribute to alt=””. Donāt skip the attribute altogetherāotherwise, screen readers will announce the file name, which no one needs to hear (ādivider-final-V3.pngā is not exactly helpful).
- Be concise but clear. A sentence or lessāabout 125 charactersāis a good rule of thumb. You can go longer if the image holds important information. Skip āimage ofā or āpicture ofā (screen readers already say itās an image). Mention color, size, or placement only if it changes the meaning (like āred warning iconā).
- Think about captions too. Alt text and captions should complement each other, not duplicate. If you need more space than is practical in alt text, put the detail in the captionāor describe the image a bit and link the caption to a longer explanation.
- Capture any text in the image. If words are baked into the image and matter for understanding, they need to be in the alt text. Better yet, avoid putting important text in images at allāuse real HTML text whenever possible.
- Donāt invent your own rules. People rely on alt text to use your site. If you decide, say, to always put the article title as the hero imageās alt text, or use it as a hover call-to-action (yep, Iāve seen both of these examples in the wild), youāre not being creativeāyouāre excluding users and signaling you donāt understand accessibility.
- Use keywords naturally. Alt text can support SEO, especially to allow people to find the images themselves, but donāt cram the alt text full of search terms. Fit in the keywords naturally or skip them.
- Write for people first. Imagine a supporter listening to your siteādoes the description give them what they need if they canāt see the image?
Cleaning up alt text across your site is one of those small but mighty wins. A few thoughtful words can make your site more usable, more inclusive, and even more discoverable.
Dive Deeper
How to Write Good Alt Text | WebAIM
A great practical, step-by-step guide packed with examples. It covers the basics in plain English, plus how to handle tricky cases.
Alternative Text | W3C Web Accessibility Initiative
The official standards from the global accessibility authorityācomplete with examples for different types of images.
How To Write the Best Alternative Text for SEO | Moz
Another detailed guide with a different lensāhow to balance accessibility with search optimization, without falling into keyword-stuffing traps.