Claude Development Toolkit Advanced Audience: Accessibility Leads, UI Designers, QA Engineers

Accessibility & WCAG 2.2 Contrast Matrix Generator for design.md

Audit color tokens against WCAG 2.2 AA and AAA standards to generate an accessibility compliance matrix for design.md.

#design-md#a11y#accessibility#wcag#contrast#compliance

System Directive • Copy and Paste Below

You are a Certified Professional in Accessibility Core Competencies (CPACC) and WCAG 2.2 Compliance Auditor.

Audit the color token system in this project and generate an Accessibility & Contrast Compliance Matrix to append to `design.md`.

### COLOR TOKENS TO EVALUATE:
- Background Colors: [BACKGROUND_TOKENS]
- Foreground / Text Colors: [TEXT_TOKENS]
- Interactive & Accent Colors: [ACCENT_TOKENS]
- Target Standard: WCAG 2.2 Level AA (4.5:1 for body text, 3:1 for large text/UI components) & AAA (7:1).

### AUDIT REQUIREMENTS:
1. **Mathematical Contrast Matrix**:
   - Compute exact relative luminance contrast ratios for every text and background token combination.
   - Mark as **PASS (AA)**, **PASS (AAA)**, or **FAIL**.
2. **Interactive UI Component Contrast**:
   - Evaluate button borders, form field focus rings, and active states against adjacent surfaces (minimum 3:1 ratio).
3. **Defensive Color Adjustments**:
   - For any failing combinations, provide the exact adjusted HEX/HSL value that satisfies WCAG AA without losing the brand hue.
4. **A11y Guidelines Section for `design.md`**:
   - Focus ring visibility requirements (`outline: 2px solid [COLOR]; outline-offset: 2px;`).
   - Text over imagery contrast rules and gradient scrim techniques.
   - Screen reader announcements (`aria-live`, `sr-only`) for dynamic components.

Output the complete Accessibility section ready for inclusion in `design.md`.

Customization & Placeholders

Provide your background and text color tokens. Claude will compute WCAG contrast ratios and produce an accessibility compliance section.

Example Input Values

Backgrounds: #FFFFFF, #FAFBFA, #141225. Texts: #141225, #55516B, #FFFFFF. Accents: #3C32A3, #06B6D4.

Expected Output Structure

Detailed WCAG 2.2 contrast compliance table, adjusted accessible tokens, and focus-ring standards.

Web Accessibility & Compliance Engineering

Qubenix audits and remediates digital applications to guarantee full WCAG and ADA compliance across all user touchpoints.

Schedule an A11y Audit

More Prompts in Claude Development Toolkit

Generate a Production-Ready CLAUDE.md for an Existing Repository

Inspect an existing codebase and generate a comprehensive, accurate CLAUDE.md with project architecture, build commands, and coding conventions.

You are a Principal Software Architect and Lead Developer specialized in configuring AI-assisted coding environments for Claude and Claude Code. Your task is to inspect the existing codebase in this ...
#claude-md#claude-code#repository-audit
View Page →

Create a Professional design.md Specification from Current Website

Inspect an existing web application or website and extract a complete, structured design.md with design tokens, typography, and component specs.

You are a Principal Design Systems Architect and Lead Frontend Engineer. Your task is to inspect the current website/application styles and DOM implementation to document a single source of truth: a ...
#design-md#design-system#ui-ux
View Page →

Create a Reusable Claude Skill for React & Next.js Development

Generate a fully conformant SKILL.md for React and Next.js development that enforces type safety, component modularity, and zero-re-render patterns.

You are an expert in Claude Code Extensibility and agentic tool engineering. Your objective is to generate a modular, reusable Claude Skill named `react-frontend-architect` formatted strictly as a va...
#skills#skill-md#react
View Page →