Porsche Design SystemSearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
Definition Of Done Table of Contents We value high quality and transparency. Thus we consider a task or ticket only done when all of the following criteria are fulfilled as our Definition of Done (DOD). Current Criteria Respecting Porsche Brand Identity Code is written with Semantic HTML Smallest possible DOM hierarchy Modern CSS techniques producing as few CSS as possible Performance at runtime Proper typing, abstraction, reusability and maintainability Code is tested with Unit Tests (Unit) End-to-End Tests (E2E) Accessibility Tests (A11y) Visual Regression Tests (VRT) Smoke Tests (Smoke) Unit Tests for/with jsdom-polyfill (if modern browser APIs are used that are not available in jsdom) Accessibility compliance WCAG 2.2 level AA (A11y) High Contrast Mode (A11y) 200% Text Zoom Support (VRT) Auto Dark Theme Support (VRT) LTR/RTL (left-to-right/right-to-left) Support (VRT) SSR Support for Next.js and Remix (VRT) Components are available on UXPin Security vulnerability scan passes (CodeQL of GitHub) Cross Browser Support (last 2 stable versions of Chrome, Edge, Firefox, iOS and macOS Safari) Documentation updated Changelog updated Design reviewed Code reviewed Potential Future Criteria Print Support (VRT) Component a11y tests via axe-core (E2E) Legend Unit: Unit Test with Vitest (environment: node and/or jsdom) E2E: End-to-end Test with Playwright (environment: Chromium, WebKit and Firefox) A11y: Accessibility Test with Playwright (environment: Chromium) and Axe Core VRT: Visual Regression Test with Playwright (environment: Chromium and WebKit) Smoke: Smoke Test with Vitest (environment: node) and/or Playwright (environment: Chromium)
Global settingsThemeChanges the theme of the application and any Porsche Design System component. It's possible to choose between forced theme light and dark. It's also possible to use auto, which applies light or dark theme depending on the operating system settings automatically.LightDarkAuto (sync with operating system)DirectionThe 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%