Checkpoint 2.8 - XML/XSLT
Content is chunked into reasonable sizes and logical structures
XML Accessibility Guidelines
Guideline 2: Create semantically-rich languages
Chunking of information based on element structures gives logic to resulting documents that allow both CSS and XSLT to style content for presentation in alternate formats and allows the structures to be aggregated and quickly navigated by assistive technologies.
Requirement
Create the schema or DTD to allow content to be chunked into reasonable size and structured using a logical hierarchy of elements
Techniques
In this XML Schema example, a document is broken up into a number of sections, and a sequence of nest-able sections with a consistent structure may be used for both navigation and the automated generation of a table of contents to whatever level.
<xsd:schema xmlns="http://www.motoring.org"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
<xsd:element name="automobile">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="engine"/>
<xsd:element ref="chassis"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="engine" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Engine Specs</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="chassis">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="frame"/>
<xsd:element ref="components"/>
<xsd:element ref="wheels" maxOccurs="4"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="wheels" type="xsd:string"/>
</xsd:schema>
Information Source
The original source of this information is located on the W3C web site (www.w3.org/TR/xag#cp2_5)