A WCAG test primarily checks whether visual content in images and graphics is accessible to people who cannot see them or who rely on assistive technologies such as screen readers. The focus is on alternative text, the treatment of decorative elements, sufficient colour contrast, and the clear presentation of complex visual content. The following sections answer the most important specific questions regarding the accessibility testing of images.
Which WCAG criteria apply specifically to images?
For images and graphics, the success criteria relating to Perceivability are particularly relevant within the Web Content Accessibility Guidelines (WCAG). The key criterion is 1.1.1 ‘Non-text Content’ (Level A), which requires a text alternative for all non-textual content. In addition, contrast requirements apply to text within images (1.4.3) and to graphical objects such as icons or diagram elements (1.4.11). Success Criterion 1.4.5 also restricts the use of text-based graphics.
The WCAG distinguishes between images based on their function: informative images, functional images (such as buttons with icons), decorative images and complex graphics such as diagrams are treated differently. An accessibility testing tool automatically checks whether the alternative text and ARIA attributes specified in the HTML code meet the relevant requirements. Criterion 1.4.5 also regulates the use of text-based graphics and restricts it where the same visual impression could be achieved using actual text.
For a structured BITV audit based on the WCAG, the same requirements apply to image content, as BITV 2.0 adopts WCAG 2.1 at Level AA as a binding standard.
How does a WCAG test check alternative text for images?
A WCAG test checks alternative text by analysing whether each <img>element has an altattribute, whether this attribute has meaningful content, and whether it corresponds to the function of the image in the relevant context. If the attribute is completely missing, this is classified as a critical error.
Automated tools can reliably detect, from a technical perspective, whether an altattribute is present or missing. However, they cannot assess whether the content of the alternative text is actually meaningful and accurately worded. Alternative text such as “Image1234.jpg” is technically present, but is of no value to screen reader users in terms of content.
What makes for good alternative text?
Good alternative text describes the essential content or function of an image precisely and concisely. A maximum of ~150 characters is recommended for alternative text. It should not begin with ‘Image of …’ or ‘Graphic shows …’, as screen readers already announce the image’s role. For a product photo of a red leather chair, “Red leather chair with armrests” would be appropriate, not “chair” or “furniture”. For diagrams or charts, a long description may also be necessary (e.g. via aria-describedby).
When is an empty alt text correct?
For decorative images that do not add any value to the content, an empty alt text (alt=‘’) is explicitly correct and recommended. This signals to the screen reader that the element should be skipped. A missing altattribute, on the other hand, causes some screen readers to read out the file name, which makes usage considerably more difficult.
What applies to decorative images and background graphics?
According to WCAG Criterion 1.1.1, decorative images that serve purely aesthetic purposes and do not convey any information must be marked up in such a way that assistive technologies ignore them. The correct approach is to use an empty altattribute (alt=‘’). Background graphics incorporated via CSS are generally invisible to screen readers and therefore do not require alternative text.
A common mistake is to include decorative images without an altattribute or to give them alternative text such as ‘Decoration’. The former can result in screen readers reading out the file name; the latter creates unnecessary noise for users who rely on these technologies.
During the website accessibility check, images without an altattribute are automatically flagged as errors. Whether an image is actually decorative or has content-related relevance must be assessed as part of a manual review, as this decision depends on context and editorial strategy.
How are infographics, diagrams and complex graphics assessed?
According to WCAG Criterion 1.1.1, complex graphics such as infographics, diagrams or charts require a more detailed text alternative that conveys the full information content. A short alternative text is not sufficient here. The WCAG recommend providing either a long description within the surrounding text, a linked page containing the full description, or a structured data table as an alternative.
Automated tests can check, in the case of diagrams, whether an alternative text is present at all and whether ARIA attributes such as aria-describedby are used correctly. However, they cannot assess whether the description is complete and accurate in terms of content. This is one of the key limitations of automated accessibility checks: a good test result does not mean that there are no barriers, but merely that no technically detectable errors have been found.
For diagrams in data visualisations, it is also recommended to provide the underlying data in tabular form. This not only meets accessibility requirements but also improves the overall comprehensibility of the content.
What does a WCAG test check for in text-based graphics and text within images?
WCAG Criterion 1.4.5 (Level AA) stipulates that text must not be presented as an image if the same visual effect can be achieved using genuine HTML text. Exceptions apply to logos and word marks, as well as in cases where the graphical representation is essential for understanding, such as with type specimens or historical documents.
Text graphics pose a particular accessibility problem because text in images is not scalable. Users who use browser zoom or rely on a large font size will see a blurred image rather than legible text when zooming in on a text graphic. Furthermore, the embedded text is not directly accessible to screen readers unless suitable alternative text has been provided.
Automated tests can detect images containing text, provided they are embedded as <img>elements, and check whether alternative text is present. Whether the alternative text fully reflects the text content of the graphic must be checked manually. Furthermore, an automated test cannot always determine whether a text-based graphic is necessary or could be replaced by actual text.
Which image errors lead to legal risks under the BFSG?
The Accessibility Enhancement Act (BFSG), which implements the European Directive on the European Accessibility Act, has required many organisations since June 2025 to design their digital products and services to be accessible. Image errors that breach WCAG Level AA can lead to legal risks if they render essential content inaccessible.
The following types of errors are particularly relevant:
- Missing alternative text for informative images: Blind users are unable to access the information conveyed.
- Inadequate descriptions of complex graphics: If diagrams or infographics are provided with only generic alternative text, the information they contain is inaccessible.
- Text-based graphics without alternative text: Text within images that is not marked up as such remains invisible to screen reader users.
- Insufficient contrast for text in images: Criterion 1.4.3 also applies to text embedded within graphics.
- Functional images without descriptive alternative text: If an image acts as a button or link and lacks meaningful alternative text, screen reader users cannot utilise the function.
It is important to understand that the presence of image errors does not automatically lead to legal consequences. The BFSG provides for reviews and appeal procedures; the specific legal assessment in individual cases requires legal advice. Automated tests help to identify and document vulnerabilities at an early stage, but are no substitute for legal advice.
How decareto supports the accessibility testing of images
Our accessibility software automatically checks websites for the image errors described and provides structured, prioritised reports containing specific recommendations for action. The following range of services supports us in this:
- Automatic detection of missing or empty alternative text for
<img>elements, ARIA roles and functional image links - Colour contrast checks in accordance with WCAG 1.4.3 and 1.4.11, including for text within graphics
- Detection of text-based graphics and alerts regarding potential breaches of Criterion 1.4.5
- Prioritisation by severity (critical, severe, moderate, minor), so that you know where urgent action is required
- Ongoing monitoring of websites with automatic notifications of changes, ensuring that new image errors do not go unnoticed
- Supplementing manual test results directly within the report, to document aspects that automated tests cannot capture
- White-label reports for agencies and external service providers who wish to share reports with clients under their own logo
A good result in the decareto scan is an important foundation, but no guarantee of full accessibility. We always recommend supplementing automated results with manual testing and seeking legal advice on legal matters. Get started now and test your website for accessibility with decareto.


