Summary
Identify list structures in the synchronized media format to improve their navigation during synchronized media playback.
Techniques
- Structure lists and items using
seqelements. [[WCAG-1.3.1]] - Identify the type of
seqelement using theepub:typeattribute. [[WCAG-1.3.1]]
Examples
<ul>
<li>…</li>
<li>
<p>…</p>
<p>…</p>
<li>
<li>
<ol>
<li>…</li>
</ol>
<li>
</ul>
<seq epub:type="list">
<par epub:type="list-item">…</par>
<seq epub:type="list-item">
<par>…</par>
<par>…</par>
</seq>
<seq epub:type="list-item">
<seq epub:type="list">
<par epub:type="list-item">…</par>
</seq>
</seq>
</seq>
<dl>
<dt>…</dt>
<dd>…</dd>
<dt>…</dt>
<dt>…</dt>
<dd>…</dd>
<dd>
<p>…</p>
<p>…</p>
<dd>
</dl>
<seq epub:type="list">
<seq epub:type="list-item">
<par>…</par>
<par>…</par>
</seq>
<seq epub:type="list-item">
<par>…</par>
<par>…</par>
<par>…</par>
<par>…</par>
<par>…</par>
</seq>
</seq>
Explanation
In order to facilitate the navigation of lists, Media Overlay documents must be marked up so that lists are discoverable — and consequently escapable and skippable — by the user without having to drop out of playback mode.
Although the basic markup for lists in overlays is the same regardless of list type, HTML5 includes two different types of lists that need to be accommodated.
Ordered and Unordered Lists
The HTML ol and ul list elements each represent sets of items, and are
marked up similarly as follows:
- A single
seqelement encloses all the items in the list. Thisseqmust have anepub:typeattribute specifying the propertylist. - Complex list item (those that contain two or more synchronization points) must also be
identified using
seqelements. Theseseqelements must have anepub:typeattribute specifying the propertylist-item. If the list item contains complex structures like sublists or tables, those structures must be marked up as appropriate to ensure escapability and skippability. - Simple list items — containing only a single synchronization point — can be
represented using
parelements with anepub:typeattribute specifying the propertylist item.
Definition Lists
HTML definition lists (the dl element) associate one or more names (dt
elements) with one or more values (dd elements). When constructing these lists in
an overlay document, the following markup rules should be followed:
- A single
seqelement should enclose all the terms and definitions in the list. Thisseqmust have anepub:typeattribute specifying the propertylist, idnetical to ordered and unordered lists. - A
seqelements should enclose all the relateddtandddpairings, and include anepub:typeattribute specifying the propertylist-item.
Related Links
- EPUB 3 — The
seqElement - EPUB 3 — The
parElement - EPUB 3 — Skippability
- EPUB 3 — Escapability
- EPUB 3 — Stuctural Semantics Vocabulary — Lists