audit-accessibility
Audit Accessibility
Overview
Generate a WCAG 2.1 AA compliance audit for a specific feature or component, organized by the POUR principles (Perceivable, Operable, Understandable, Robust). Produces a concrete checklist with testing instructions, keyboard navigation paths, screen reader expectations, and color contrast requirements.
Workflow
-
Read feature context -- Scan
.chalk/docs/product/for the PRD describing the feature. Check.chalk/docs/engineering/for component architecture and any existing a11y guidelines. Read the source code for the feature's UI components to understand the actual implementation. -
Parse the audit target -- Extract from
$ARGUMENTSthe feature, page, or component to audit. If unspecified, ask the user to name a specific feature -- auditing the entire application at once produces shallow results. -
Determine the next file number -- Read filenames in
.chalk/docs/engineering/to find the highest numbered file. The next number ishighest + 1.