| Title | Well-formedness error: overlapping elements |
|---|---|
| Description | An XHTML file that is not well-formed because the elements dt (for marking up the headword) and dd (for marking up the definition) overlap while they should follow each other.
This makes the structure ambiguous and might cause problems.
|
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2005-2007 |
| Language | English |
| Date | 2005-10-05 |
| Status | rejected 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: dt
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification: Documents must be well-formed .
Feature: dd
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification: Documents must be well-formed .
This test case is intended to fail because the markup is ambiguous and may cause problems for assistive technologies. (This test case is not about the order of the definitions but about overlapping markup structures.)
Accessibility expert.
“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 10, column 27: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#ensure-compat-parses.
The syntax of the document is not correct; the content may be rendered in an incorrect order.
The document is not well-formed: the dt element should be closed before starting the dd element.
See 'Common HTML 4.01 validity errors and their effect on accessibility' at http://www.w3.org/2005/Talks/0908-wcag/validity-errors.html and 'Tag Soup: How UAs handle <x> <y> </x> </y>' at http://ln.hixie.ch/?start=1037910467&count=1.
This test case maps to technique H74: Ensuring that all id attribute values are unique for the document AND that the Web unit is well-formed (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H74) but fails.
The test case fails the following success criterion at line 10, column 27: http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-20050211/#4.1_use-spec-avoid-spec-no-exception.
The syntax of the document is not correct; the content may be rendered in an incorrect order.
The document is not well-formed: the dt element should be closed before starting the dd element.
See 'Common HTML 4.01 validity errors and their effect on accessibility' at http://www.w3.org/2005/Talks/0908-wcag/validity-errors.html and 'Tag Soup: How UAs handle <x> <y> </x> </y>' at http://ln.hixie.ch/?start=1037910467&count=1.