Description

A short section of production notes particular to the edition (e.g., describing the typeface used), often located at the end of a work.

Examples

Example 1 — Colophon with a heading

The label is identified in the aria-labelledby attribute.

<section role="doc-colophon" aria-labelledby="col">
   <h2 id="col">Notes on the Type</h2>
   …
</section>
Example 2 — Prologue without a heading

A label is provided in the aria-label attribute.

<p role="doc-colophon" aria-label="Colophon">
   This edition was set on Linotype …
</p>

Relation to ARIA

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

Usage

doc-colophon is typically used on section and div elements when the colophon consists of more than one paragraph, but can be used on a p tag when the colophon is a single paragraph without a 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