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 a note role.
Usage
doc-tip is typically used on div and p elements.
List of all elements allowed on
- a (without an href attribute)
- abbr
- address
- b
- bdi
- bdo
- blockquote
- br
- canvas
- cite
- code
- del
- dfn
- div
- em
- i
- img (with alt text)
- ins
- kbd
- mark
- output
- p
- pre
- q
- rp
- rt
- ruby
- s
- samp
- small
- span
- strong
- sub
- sup
- table
- tbody
- td
- tfoot
- thead
- th
- tr
- time
- u
- var
- wbr