Text

Callout

Published on

Description anchor

A callout highlights supplementary information within page content. Unlike alerts, callouts are not announced by screen readers via live regions — they are static content.

Use callouts for tips, notes, warnings, or additional context that supplements the surrounding content.

Example anchor

Open in new tab(opens in new tab)
View HTML markup
  <aside aria-labelledby="callout-95zuyvt7zg" data-theme="info">
  <h3 id="callout-95zuyvt7zg">Info</h3>
  <p>details about the callout</p>
</aside>
<aside aria-labelledby="callout-x3tiulhdkac" data-theme="pass">
  <h3 id="callout-x3tiulhdkac">Success</h3>
  <p>details about the callout</p>
</aside>

Accessibility anchor

  • Callouts are typically <aside> or styled <div> elements with no implicit ARIA role that triggers announcements.
  • Do not use role="alert" on callouts — they are not time-sensitive and would interrupt screen reader users unnecessarily.
  • Ensure sufficient color contrast for callout backgrounds and borders. Do not rely on color alone to convey the callout type (e.g. warning vs info).
  • Alert — for urgent, time-sensitive messages
  • Blockquote — for attributed quotations

Variables anchor

None for callout