Skip to content
Back to skills

Accessibility Audit

ASecurity

Audits React/HTML components for WCAG 2.1 accessibility issues

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
ai-agentsreact

Works with

  • cli

Security analysis

A100/100

Scanned June 1, 2026

npx -y skills add berkcangumusisik/claude-code-practices --skill accessibility-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Accessibility Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Accessibility Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/berkcangumusisik-accessibility-audit/badge)](https://www.skillsdirectory.com/skills/berkcangumusisik-accessibility-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: accessibility-audit
description: Audits React/HTML components for WCAG 2.1 accessibility issues
argument-hint: [file-or-directory]
user-invocable: true
allowed-tools: Read Grep Glob Edit
effort: medium
---

## Accessibility Audit (WCAG 2.1)

Target: **$1** (or `src/components/` if not specified)

Check each component for:

### Level A (Must Fix)
- Images missing `alt` attribute
- Form inputs without associated `<label>`
- Buttons with no accessible text (icon-only buttons need `aria-label`)
- Links with non-descriptive text ("click here", "read more")
- Missing `lang` attribute on `<html>`

### Level AA (Should Fix)
- Color contrast ratio < 4.5:1 for normal text (check CSS)
- Focus indicators removed (`outline: none` without alternative)
- Interactive elements not keyboard-reachable
- Missing `aria-expanded` on toggle elements
- Modal dialogs not trapping focus
- Missing skip navigation link

### Common React Issues
```tsx
// ❌ No accessible label
<button onClick={onClose}><XIcon /></button>

// ✅ Fixed
<button onClick={onClose} aria-label="Close dialog"><XIcon /></button>
```

For each issue:
- Severity: **Critical** (blocks screen readers) / **Major** / **Minor**
- File and line
- Fix with code example

Apply fixes after confirmation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…