Description

An explanatory or alternate title for the work, or a section or component within it.

Examples

Example 1 — Subtitle in a header
<hgroup>
   <h2>Section 1 — Applied Metaphysics</h2>
   <p role="doc-subtitle">Who makes up this stuff?</p>
</hgroup>

Relation to ARIA

doc-subtitle inherits its semantics from the sectionhead role.

Usage

doc-subtitle is typically used on a p element and included in an hgroup element with its associated heading.

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.

Related Links