Why is alt text important?
- Accessibility: Alt text helps people with visual impairments understand the image content through screen readers.
- SEO advantages: Search engines like Google use alt text to better index images and deliver relevant search results.
- Usability: If an image does not load, the alt text shows users what should actually be displayed.
Best practices for alt text
- Descriptive & precise: Explain the content of the image in a few words.
- No unnecessary words: “Image of…” or “Graphic shows…” is usually unnecessary.
- Maintain relevance: The text should fit the context of the page.
- Don’t overdo SEO: Avoid keyword stuffing. Natural descriptions are better.
Examples of good and bad alt text
- Product photo: “Image1” or just “shoe” is poor. “Red women’s running shoe, side view” is better.
- Stuffed with keywords: “buy running shoes cheap running shoes women offer” helps neither people nor search engines. Google explicitly advises against this in its guidance on images.
- Chart: State the message. “Bar chart” on its own is poor; a better version is “Bar chart: enquiries rise from 40 to 95 a month between January and June”.
- Decorative image: Images that carry no information, such as dividers or background motifs, get an empty alt attribute (
alt=""). Screen readers then skip them. - Linked image or button: The alt text names where the link goes or what the button does. For a logo that links to the home page, write “Rheinwunder, go to home page”.
There is no fixed character limit. A short sentence is usually enough. Longer explanations, for an infographic for example, belong in the text next to the image. The individual cases are explained in the alt decision tree of the Web Accessibility Initiative (W3C).
Legal requirements for alt text
Since 28 June 2025, the German Accessibility Strengthening Act (BFSG), which implements the European Accessibility Act, has required online shops and other e-commerce services for consumers to be accessible. Micro-enterprises providing services are exempt. In practice, the benchmark is the EN 301 549 standard, which refers to WCAG. WCAG success criterion 1.1.1 requires a text alternative for images that convey information. Federal public bodies in Germany have long been required to do the same under BITV 2.0. Our article on the Accessibility Strengthening Act has further details.
Generating alt text with AI
Writing alt text by hand takes time. Our AI-based alt text generator suggests descriptions for your images in seconds. Check each suggestion in the context of the page and leave the alt text of decorative images empty. Try it now: AI Alt Text Generator.
