WCAG 2.2 AA Accessibility & Inclusive Design Compliance Audit
Audit digital interfaces for WCAG 2.2 AA compliance, color contrast, keyboard focus, and screen reader UX.
Compatibility & Specs
212 words • 1553 characters
Customize Prompt
Fill in the variables below. Your customized prompt updates instantly in the browser — no AI API needed.
What the component does and how users engage with it
The markup or React JSX to audit
Foreground text hex, background hex, border colors
How users currently interact using keyboard or touch
How to Use This Prompt
Follow this 3-step workflow to extract high-signal responses from any compatible AI model.
1. Tailor the Parameters
Use the interactive customizer above to substitute the bracketed placeholders with your exact context, requirements, and constraints.
2. Send to AI Model
Copy the prompt and paste it into Claude, ChatGPT, Gemini, or Copilot. These models follow structured multi-step constraints reliably.
3. Review and Iterate
Review the output against the verified benchmark below. Follow up in the conversation to stress-test edge cases or refine tone.
Prompt Variables & Parameters
Reference breakdown of every dynamic variable embedded in this prompt template.
| Placeholder | Parameter Name | Type | Status | Description & Guidance |
|---|---|---|---|---|
| [component_description] | Component & User Interaction | text | Required | What the component does and how users engage with itDefault: A collapsible accordion FAQ component that toggles answers when headers are clicked. |
| [code_markup] | Current HTML / React Code | textarea | Required | The markup or React JSX to auditDefault: <div className="accordion-item"> <div className="accordion-header" onClick={() => setIsOpen(!isOpen)}> <span className="text-gray-400">{title}</span> <i className={isOpen ? "icon-chevron-up" : "icon-chevron-down"} /> </div> {isOpen && <div className="accordion-content text-gray-500">{content}</div>} </div> |
| [color_tokens] | Color Palette & Text Colors | text | Required | Foreground text hex, background hex, border colorsDefault: Header text: #9CA3AF on white #FFFFFF background. Content text: #6B7280 on white background. |
| [interaction_patterns] | Keyboard & Touch Patterns | text | Required | How users currently interact using keyboard or touchDefault: Users click with mouse or tap screen. It is not currently focusable via Tab key. |
Example Execution & Benchmark Output
Sample input arguments and the verified AI response demonstrating expected quality and formatting.
Best Use Cases
Scenarios and roles where this prompt produces maximum leverage.
Tips for Best Results
Techniques to elevate response fidelity
- •Provide rich background context rather than one-sentence inputs to receive deep, non-generic responses.
- •Engage in multi-turn conversation: use the initial output as a baseline, then ask the AI to sharpen specific sections.
- •Prompt the model to highlight any hidden assumptions or missing trade-offs in its recommendations.
Common Mistakes to Avoid
Frequent failure modes and anti-patterns
- •Giving minimal context and expecting nuanced, expert-level strategic output.
- •Not validating factual references, citations, or statistical claims with verified primary sources.
- •Skipping the customization step and pasting raw bracketed template variables into the AI chat.
Part of Curated Collections
This prompt is sequenced as part of these goal-oriented workflows
Related AI Prompts
Complementary workflows in Design & UI/UX
UI Design Visual Hierarchy, Contrast & Spatial Rhythm Critique
Conduct an objective, rigorous visual critique of a digital interface layout, typography, and density.
Design System Semantic Token Architecture & Component Matrix
Architect scalable design tokens (color, spacing, typography) and component variant matrices.
React Component Composition & Compound Component Architecture Review
Refactor bloated prop-drilling components into clean, composable compound components with flexible layouts.