Description

Helpful information that clarifies some aspect of the content or assists in its comprehension.

Examples

Example 1 — Handy tip
<div role="doc-tip" class="tip">
   Counting on your fingers is an easy path to success!
</div>

Relation to ARIA

doc-tip inherits its semantics from the note role.

Usage

doc-tip is typically used on div and p elements.

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