| Title | Text alternative for ASCII art: description above the ASCII art |
|---|---|
| Description | A document with ASCII art (treated by WCAG 2.0 as non-text content), which requires a text alternative. The ASCII art explains the components of a URI. The ASCII illustrates the text in the paragraph above it. |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-09-05 |
| 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: pre
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
Preformatted text: The PRE element
.
This test case is intended to pass because the ASCII illustrates the text in the paragraph above it, so that paragraph can be considered as a text alternative.
Accessibility expert.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes (line 14, column 1) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#text-equiv-all.
The ASCII art has a text description.
The p element preceding the pre element contains a text alternative for the ASCII art.
This test case maps to technique G94: Providing short text alternative for non-text content that serves the same purpose and presents the same information as the non-text content.
The test case passes (line 14, column 1) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#text-equiv-all.
The ASCII art has a text description.
The p element preceding the pre element contains a text alternative for the ASCII art.
Online version: sc1.1.1_l1_038.
The test case passes (line 14, column 1) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#text-equiv-informative.
The ASCII art has a text description.
The p element preceding the pre element contains a text alternative for the ASCII art.