Skip to contentPorsche Design System
You are currently viewing an earlier release of the Porsche Design System.Switch to the latest Porsche Design System documentation.
SearchGitHub repository of Porsche Design SystemOpen settings sidebar
Inline Notification Table of Contents Accessibility support Keyboard Key / stateFunctionTab, Shift-TabMoves focus to the next focusable element. ARIA enhancements Internal ARIA that is managed by the component: ARIAUsagerole="status"When content is populated or changed in state="info", the component announces it unobtrusively.role="alert"When content is populated or changed in state="warning/error", the component announces it immediately.aria-label="STRING"References the accessible name. Development considerations ARIA live announcements The 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. Common do's and don'ts Do pre-render the notification and update heading/description when status changes. Do use state="warning" or state="error" with descriptive content for urgent issues. Don't conditionally mount the component only when an alert should be announced. Integration examples
Notification mounted only when needed❌ Anti-pattern
// 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>';
}
✅ Recommended
<p-inline-notification
  id="account-warning"
  state="warning"
  heading="Verify your email address"
  description="Confirm your email to receive order updates."
></p-inline-notification>
Warning without descriptive heading❌ Anti-pattern
<p-inline-notification state="warning" description="Something went wrong"></p-inline-notification>
✅ Recommended
<p-inline-notification state="warning" heading="Delivery date unavailable" description="Choose another date or contact your Porsche Centre."></p-inline-notification>
Tests Automated TechnologySupportAXE-Core (WCAG 2.2 AA, Best-Practice)High-Contrast Mode (light/dark)Text-Zoom (200%) Manual TechnologySupportKeyboardScreen reader (VoiceOver, NVDA)
Global settingsColor SchemeAll color tokens use the light-dark() CSS function. Set the theme via the CSS color-scheme property: light for light mode, dark for dark mode, or light dark to follow the user's system preference.LightDarkLight DarkDirectionThe dir global attribute in HTML changes the direction of text and other content within an element. It's most often used on the <html> tag to set the entire page's direction, which is crucial for supporting languages that are written from right to left (RTL), such as Arabic and Hebrew. For example, using <html dir="rtl"> makes the entire page display from right to left, adjusting the layout and text flow accordingly.LTR (left-to-right)RTL (right-to-left)Text ZoomTo ensure accessibility and comply with WCAG 2.2 AA standards, it is mandatory for web content to support text resizing up to at least 200% without loss of content or functionality. Using relative units like rem is a best practice for achieving this, as they allow the text to scale uniformly based on the user's browser settings.100%130%150%200%