Semantics

A contextual popup that displays a description for an element.

Additional info from the ARIA specification

The tooltip typically becomes visible, after a short delay, in response to a mouse hover, or after the accessibility parent receives keyboard focus. The use of a WAI-ARIA tooltip is a supplement to the normal tooltip behavior of the user agent.

Abstract Role

  • StructureRepresents a non-interactive part of a page that organizes content into coherent units.

Content Categories

  • Flow ContentAn element that structures and organizes the body of a web document.

Allowed Descendants

Phrasing Children Allowed

Usage

Allowed HTML elements

Implicit semantics

  • None

Explicitly allowed

  • None

Elements that can have any role

  • abbr[role=tooltip]
  • address[role=tooltip]
  • b[role=tooltip]
  • blockquote[role=tooltip]
  • canvas[role=tooltip]
  • cite[role=tooltip]
  • code[role=tooltip]
  • custom-element[role=tooltip]
  • data[role=tooltip]
  • del[role=tooltip]
  • dfn[role=tooltip]
  • div[role=tooltip]
  • em[role=tooltip]
  • figure[role=tooltip]
  • i[role=tooltip]
  • ins[role=tooltip]
  • kbd[role=tooltip]
  • mark[role=tooltip]
  • output[role=tooltip]
  • p[role=tooltip]
  • pre[role=tooltip]
  • q[role=tooltip]
  • samp[role=tooltip]
  • small[role=tooltip]
  • span[role=tooltip]
  • table[role=tooltip]
  • tbody[role=tooltip]
  • tfoot[role=tooltip]
  • thead[role=tooltip]
  • time[role=tooltip]
  • u[role=tooltip]
  • var[role=tooltip]