| Title | Alternative text for images: missing alt attribute |
|---|---|
| Description | A document containing a single image of a cat included by means of an img element without an alt attribute. |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-05-10 |
| Status | accepted QA |
Technologies are markup languages or data formats. If the technology is a markup language, “features” refers to elements and attributes.
XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)
Feature: img
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification: How to specify alternate text .
The test case is intended to fail because no text alternative is provided for the image.
Only the absence of a text alternative is tested here, not whether the HTML validites against the Document Type Definition (DTD), which requires that img elements have an alt attribute.
Automatic evaluation.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case fails the following success criterion at line 9, column 4: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.
The image does not have a text description.
This test case does not map to a WCAG 2.0 technique or failure.
The test case fails the following success criterion at line 9, column 4: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The image does not have a text description.
This test case maps to technique H37: Using alt attributes on img elements (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/#H37) but fails.
Online version: sc1.1.1_l1_001.
The test case fails the following success criterion at line 9, column 4: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The image does not have a text description.
The img element does not have an alt attribute.
The test case fails the following success criterion at line 10, column 4: http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-20050211/#4.1_use-spec-document-backward-compat-violations.
The image does not have a text description.
The img element does not have an alt attribute and therefore does not validate.