| Title | Text alternative for purely decorative image: empty alt attribute |
|---|---|
| Description | A document with a single sentence that contains a purely decorative image inside a link. The alt attribute is empty. |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2005-2007 |
| Language | English |
| Date | 2005-08-25 |
| 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.
This test case is intended to pass because the alt attribute for the purely decorative image is empty.
Three or more accessibility experts.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes (line 9, column 108) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The decorative image has an empty text description.
This test case maps to technique H97: Using null alt text and no title attribute on img elements for images that AT should ignore (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H67).
The test case passes (line 9, column 92) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-ignored.
The decorative image has an empty text description.
The img element has an empty alt attribute.
The test case needs review before it can be established if it passes or fails the following success criterion: http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-20050211/#4.1_use-spec-document-backward-compat-violations.
The decorative image has an empty text description.
The HTML specification does not define the meaning of an empty alt attribute on an img element.