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-eevijjrn9p" data-theme="info">
  <h3 id="callout-eevijjrn9p">Info</h3>
  <p>details about the callout</p>
</aside>
<aside aria-labelledby="callout-k3opvejtf8" data-theme="pass">
  <h3 id="callout-k3opvejtf8">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