Description

An inscription at the front of the work, typically addressed in tribute to one or more persons close to the author.

Examples

Example 1 — Dedication
<section role="doc-dedication">
   <p>To all the girls I've loved before …</p>
</section>

Relation to ARIA

doc-dedication inherits its semantics from the section role (i.e., it represents a container of related content, but is not a landmark).

Usage

doc-dedication is typically used on p, section and div elements, depending on whether the credit is a single paragraph or consists of multiple paragraphs.

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