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)DirectionChanges the direction of HTML elements, mostly used on<html> tag to support languages which are read from right to left like e.g. Arabic.LTR (left-to-right)RTL (right-to-left)AutoText ZoomChanges the text size and values with unit rem or em relatively. This setting can be defined in browser settings for any website or by an application itself on<html> tag. To achieve WCAG 2.2 AA compliance it's obligatory to support text zoom up to at least 200%.100%130%150%200%