Tab, Shift-Tabrole="status"state="info", the component announces it unobtrusively.role="alert"state="warning/error", the component announces it immediately.aria-label="STRING"Inline Notification component uses role="status" and role="alert" to announce content changes for
assistive technologies, but only if the component is pre-rendered and the content is added dynamically.heading/description when status changes.state="warning" or state="error" with descriptive content for urgent issues.// Component is created only when a warning appears — live region may not announce.
if (hasWarning) {
container.innerHTML = '<p-inline-notification state="warning" description="Warning"></p-inline-notification>';
}<p-inline-notification
id="account-warning"
state="warning"
heading="Verify your email address"
description="Confirm your email to receive order updates."
></p-inline-notification><p-inline-notification state="warning" description="Something went wrong"></p-inline-notification><p-inline-notification state="warning" heading="Delivery date unavailable" description="Choose another date or contact your Porsche Centre."></p-inline-notification>