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


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

Relation to ARIA

doc-subtitle inherits its semantics from the a sectionhead role.


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