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
AI Accessibility Audit Table of Contents Run guided WCAG 2.2 AA audits on your locally running application with web-accessibility-audit. PDS components are tested at component level; pages, routing, and custom content still need their own audit. For generation-time guardrails, see AI Agent Context. RequirementDetailsEditorsGitHub Copilot in VS Code, Claude Code, or CursorRuntimeAPM CLI (tested with 0.30.0), Node.js, Python 3, Playwright, and the project's installed @axe-core/playwright / axe-core (latest at install time)AccessRead access to the internal porsche-design-system/skills repository (available to Porsche GitHub Enterprise members; reach out via Support to request access)ProductA local checkout of the application, running locally during the audit Install Install APM if needed: macOS: brew install apm Linux / macOS without Homebrew: curl -sSL https://aka.ms/apm-unix | sh Windows: irm https://aka.ms/apm-windows | iex Then from the product repository root install the package and pass --target for the agent harnesses that should receive the files. Comma-separate several values to target different harnesses. This package deploys to copilot, cursor, claude, gemini, codex, windsurf, and agent-skills. A repo with no harness markers and no targets: list in apm.yml will fail apm install until you set --target. One harness:
apm install porsche-design-system/skills/packages/web-accessibility-audit#web-accessibility-audit--v0.5.0 --target cursor
Several harnesses (comma-separated):
apm install porsche-design-system/skills/packages/web-accessibility-audit#web-accessibility-audit--v0.5.0 --target cursor,claude,copilot
To move version, re-run apm install with the new package tag. To remove it, pass the package from apm.yml or apm deps list to apm uninstall (e.g. apm uninstall porsche-design-system/skills/packages/web-accessibility-audit) and run apm install again. Run an audit Start the app locally, then invoke a prompt. Copilot binds them as chat commands (/a11y-audit). Cursor and Claude expose the same names as commands; if the a11y-audit agent is not bound, the prompt still runs that workflow with the installed skills. PromptUse whena11y-auditFull single-page audit (axe + code review)a11y-quick-checkFast axe-only triagea11y-audit-multi-pageCompare several pagesa11y-leadReview specific UI filesa11y-component-library-auditAudit a component directorya11y-fixApply fixes from a previous report The report lands in .a11y/runs/<timestamp>/ (ACCESSIBILITY-AUDIT.md and script-generated findings.json). Score, grade, and finding identity come from a pinned rule catalog, so two runs of the same prompt should match on those fields when the page and scanners are unchanged. On request, a11y-export exports the findings as ACCESSIBILITY-AUDIT-*.csv (for Jira, Azure DevOps, or spreadsheets), ACCESSIBILITY-AUDIT.sarif, or a self-contained ACCESSIBILITY-AUDIT.html report. Details: package README. Full audit:
Run a WCAG 2.2 AA accessibility audit on http://localhost:3000/.

Scope: URLs /, /checkout; viewports 320px and 768px; light and dark themes.
Use a11y-audit and save results in the default .a11y/runs directory.
Re-scan after fixes:
Re-run the audit on http://localhost:3000/checkout at 320px and 768px.
Compare against the previous run and list only remaining violations.
Limitations Behavioral scans need compatible browser tooling; if they cannot run, the audit lists those checks under Not Verified instead of guessing. Agent audits do not certify screen-reader compatibility, replace a legal accessibility statement, or catch everything automated tools miss. Complete keyboard and assistive-technology testing before sign-off. Standard: WCAG 2.2 Level AA. Porsche guidance: Accessibility of digital products at Porsche.
v4.11.0v2v1
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%