Skip to Content

Accessible Publishing Knowledge Base

Category: HTML - DPUB-ARIA

doc-tip

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.

Applies To

EPUB 3 EPUB 2 Audiobooks
Yes No Partial *

* Applies to the table of contents and any supplementary HTML resources.

Related Links

Back to Top ↑