Accessibility
Callout from @prepared911/ui-core is a variant-driven inline message block. The component renders icons, titles, descriptions, and optional actions or dismiss affordances; it also owns the default semantic role for each variant.
CalloutType (Note, Info, Success, Warning, Error) has a matching color, icon, and tone.Note and Info use role="note", Success and Warning use role="status", and Error uses role="alert".ariaLabel overrides it.aria-hidden; the variant meaning is carried by the title and description.dismissible, the close button is a native <button> with an accessible label.ctaButton renders as a Button with proper keyboard and focus semantics.role prop when the default variant role does not match how the message appears or should be announced.ariaLabel when the localized variant label is not enough context.role="note" for supporting context, role="status" for polite updates, and role="alert" for urgent failures.aria-hidden="true".Callout does not move focus when it appears. Keep focus on the initiating control for status updates. For validation failures, move focus to the first invalid field or to the form-owned error summary rather than wrapping Callout in another live region.
Snackbar auto-dismiss. Use a callout for persistent guidance, a snackbar for transient confirmation.