Skip to Content

Accessible Publishing Knowledge Base

Category: HTML - DPUB-ARIA

doc-part

Description

A major structural division in a work that contains a set of related sections dealing with a particular subject, narrative arc or similar encapsulated theme.

Examples

Example 1 — Part with a heading

The label is identified in the aria-labelledby attribute.

<section role="doc-part" aria-labelledby="p1-hd">
   <h2 id="p1-hd">I — The Visitor</h2>
   …
</section>

Relation to ARIA

doc-part is a landmark role.

Usage

doc-part is typically used on section elements.

A label must be provided for the role using one of the aria-labelledby, aria-label or title attributes.

For a simplified list of all the elements the role is allowed on, refer to the mapping table in the EPUB Type to ARIA Role Authoring Guide. For the official list of allowed elements, refer to ARIA in HTML.

Applies To

EPUB 3 EPUB 2 Audiobooks
Yes No Partial *

* Applies to the table of contents and any supplementary HTML resources.

Related Links

Back to Top ↑