<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/don-t-forget-to-translate-your-alt-text-fqvgrd9rh" -->

---
title: Don’t forget to translate your alt text | daily.dev
description: Websites with multiple language versions often fail WCAG because alt text on images remains hard-coded in English while visible content is properly translated....
canonical: https://daily.dev/posts/don-t-forget-to-translate-your-alt-text-fqvgrd9rh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Don’t forget to translate your alt text | daily.dev
og:description: Websites with multiple language versions often fail WCAG because alt text on images remains hard-coded in English while visible content is properly translated....
og:url: https://daily.dev/posts/don-t-forget-to-translate-your-alt-text-fqvgrd9rh
og:image: https://api.daily.dev/og/posts/fQvgRD9rh.png
og:image:alt: Don’t forget to translate your alt text
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.

# Don’t forget to translate your alt text

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

## Summary

Websites with multiple language versions often fail WCAG because alt text on images remains hard-coded in English while visible content is properly translated. This slips through because translation pipelines usually target only visible copy, alt text is often hardcoded in templates rather than pulled from a CMS or i18n system, and automated accessibility tools only check for missing alt text, not mismatched language. This violates WCAG 2.2 SC 1.1.1 (Non-text Content, since the description no longer serves an equivalent purpose) and SC 3.1.2 (Language of Parts, since untranslated alt text lacks a language attribute, causing screen readers to mispronounce it using the wrong phonics). A worked example shows English alt text left unchanged on a Spanish product page. Practical fixes include auditing where alt text lives, adding it to translation checklists, using tools like Ian Lloyd's list-images bookmarklet, and manually checking markup or testing with a screen reader after translation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.craigabbott.co.uk/blog/2026/dont-forget-to-translate-your-alt-text>

## Questions this post answers

### Why does untranslated alt text fail WCAG on a translated website?

Leaving alt text in the original language on a translated page fails WCAG 2.2 SC 1.1.1 Non-text Content because the description no longer serves an equivalent purpose to a screen reader user reading in the page's language. It also fails SC 3.1.2 Language of Parts, since the foreign-language text lacks a programmatically identified language change, causing screen readers to mispronounce it using the wrong phonics.

_Developers auditing multilingual accessibility can track WCAG guidance like this on daily.dev._

### Why don't automated accessibility checkers catch English alt text on a translated page?

Most automated accessibility tools only check whether alt text is present, not whether its language matches the page's declared language, so hard-coded English alt text on a Spanish page passes those checks even though it violates WCAG. Catching this reliably requires a manual review, a bespoke check using language detection, or an LLM-based comparison against the page's lang attribute.

_Teams building translation QA workflows can follow accessibility tooling gaps like this on daily.dev._

### What is the correct alt attribute for a purely decorative image?

A genuinely decorative image should use an empty alt attribute, written as alt="", so screen readers skip it entirely; for SVGs, aria-hidden="true" achieves the same result. Marking a meaningful image as decorative just to avoid translating its description is incorrect and still fails WCAG 1.1.1 Non-text Content.

_Developers refining accessible markup can revisit alt text best practices on daily.dev._

## Similar posts on daily.dev

- [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
- [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
- [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
- [Top Accessibility Errors in Production and How to Avoid Them](https://daily.dev/posts/top-accessibility-errors-in-production-and-how-to-avoid-them-5jcfl3bkk) · SitePoint · 2 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/don-t-forget-to-translate-your-alt-text-fqvgrd9rh)

```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":"Don’t forget to translate your alt text","url":"https://daily.dev/posts/don-t-forget-to-translate-your-alt-text-fqvgrd9rh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/don-t-forget-to-translate-your-alt-text-fqvgrd9rh"},"datePublished":"2026-09-20T07:44:07.185Z","dateModified":"2026-09-20T07:47:23.629Z","description":"Websites with multiple language versions often fail WCAG because alt text on images remains hard-coded in English while visible content is properly translated....","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/don-t-forget-to-translate-your-alt-text-fqvgrd9rh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,accessibility","timeRequired":"PT7M"}
{"@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":"Don’t forget to translate your alt text"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/don-t-forget-to-translate-your-alt-text-fqvgrd9rh#faq","mainEntity":[{"@type":"Question","name":"Why does untranslated alt text fail WCAG on a translated website?","acceptedAnswer":{"@type":"Answer","text":"Leaving alt text in the original language on a translated page fails WCAG 2.2 SC 1.1.1 Non-text Content because the description no longer serves an equivalent purpose to a screen reader user reading in the page's language. It also fails SC 3.1.2 Language of Parts, since the foreign-language text lacks a programmatically identified language change, causing screen readers to mispronounce it using the wrong phonics. Developers auditing multilingual accessibility can track WCAG guidance like this on daily.dev."}},{"@type":"Question","name":"Why don't automated accessibility checkers catch English alt text on a translated page?","acceptedAnswer":{"@type":"Answer","text":"Most automated accessibility tools only check whether alt text is present, not whether its language matches the page's declared language, so hard-coded English alt text on a Spanish page passes those checks even though it violates WCAG. Catching this reliably requires a manual review, a bespoke check using language detection, or an LLM-based comparison against the page's lang attribute. Teams building translation QA workflows can follow accessibility tooling gaps like this on daily.dev."}},{"@type":"Question","name":"What is the correct alt attribute for a purely decorative image?","acceptedAnswer":{"@type":"Answer","text":"A genuinely decorative image should use an empty alt attribute, written as alt=\"\", so screen readers skip it entirely; for SVGs, aria-hidden=\"true\" achieves the same result. Marking a meaningful image as decorative just to avoid translating its description is incorrect and still fails WCAG 1.1.1 Non-text Content. Developers refining accessible markup can revisit alt text best practices on daily.dev."}}]}
```

