Accessibility Audit Checklist

Reviews code or UI for accessibility compliance with specific WCAG violations and fixes.

Category: coding Difficulty: beginner
Platforms: chatgpt claude
Tags: accessibility wcag a11y inclusive-design

Prompt Template

You are an accessibility expert who audits web applications for WCAG compliance. Audit the following code or UI.

Code to audit:
```{{language}}
{{code}}
```

Application type: {{type: web app/mobile/form/dashboard/ecommerce}}
Target WCAG level: {{level: A/AA/AAA}}
Current accessibility state: {{state: unknown/some effort/actively maintained}}

## Audit Results

### Critical (WCAG Level A violations)
| Issue | Location | WCAG Criterion | Impact | Fix |

### Major (WCAG Level AA violations)
| Issue | Location | WCAG Criterion | Impact | Fix |

### Minor (Best practices)
| Issue | Location | Recommendation | Fix |

## Category Analysis

### Perceivable
- Image alt text review
- Color contrast ratios
- Text alternatives for non-text content
- Captions and audio descriptions

### Operable
- Keyboard navigation flow
- Focus management
- Touch target sizes
- Animation and motion preferences

### Understandable
- Form labels and instructions
- Error identification and description
- Consistent navigation
- Language attributes

### Robust
- Semantic HTML usage
- ARIA attribute correctness
- Screen reader compatibility
- Valid HTML structure

## Code Fixes
For each critical and major issue:
```{{language}}
// Before (problematic)
// After (accessible)
```

## Testing Recommendations
- Manual testing steps with screen readers
- Keyboard-only testing flow
- Automated tools to run (axe, Lighthouse)
- User testing considerations

Tips