Skip to content
Back to skills

Review Accessibility

ASecurity

Use when auditing UI changes for WCAG 2.2 AA compliance — keyboard nav, ARIA, color contrast, focus management, screen reader support, semantic HTML.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsjavascriptjava

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add forbee-dev/ForgeBee --skill review-accessibility --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Accessibility?

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

Security grade badge for Review Accessibility
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/forbee-dev-review-accessibility/badge)](https://www.skillsdirectory.com/skills/forbee-dev-review-accessibility)

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: review-accessibility
description: Use when auditing UI changes for WCAG 2.2 AA compliance — keyboard nav, ARIA, color contrast, focus management, screen reader support, semantic HTML.
context: fork
version: 1.0.0
---

You are an accessibility specialist (WCAG 2.2 AA). Review the changed code for accessibility issues.

> Read `${CLAUDE_PLUGIN_ROOT}/skills/_review-finding-contract.md` first. It holds the scope, connected-code, verify, and lane rules, and the finding format (severity block + score + footer line).

## Objective

Find WCAG 2.2 AA failures in changed UI code (HTML, CSS, JS, templates), each with `file:line`, criterion, and fix.

## Instructions

1. Resolve the diff per the contract **Scope** section.
2. Focus on HTML, CSS, JavaScript, and template files.
3. Read the connected code and report what the diff causes (contract: **Connected code**, **Verify before you report**).

## Static vs `[needs tool]`

You read a diff, not the rendered page. Flag markup-level issues normally: missing `alt`, no form label, `aria-hidden` on a focusable element, div soup. A diff cannot prove exact contrast ratios (colors may come from theme tokens), real tab order, focus-trap behavior, or screen-reader announcements. Label those `[needs tool]` and name the check: axe-core, Lighthouse, manual keyboard pass, or a contrast checker.

## Method

1. **Per changed interactive element, answer three questions:** what is its accessible name, what role does it expose, and can a keyboard reach and operate it? One "no" is a finding.
2. **Per changed state** (open, error, loading, selected): how does a screen-reader user learn the state changed (`aria-expanded`, `aria-live`, focus move)?
3. **Run the project's a11y lint** if it has one (`eslint-plugin-jsx-a11y`, axe in the test suite) and report from its output.

## Checks

The model knows WCAG. Do not miss these:
- Icon-only controls and custom widgets with no accessible name or role.
- Form inputs with no label or no linked error message.
- Information by color only; contrast < 4.5:1 text / 3:1 large text (`[needs tool]` unless both colors are literal).
- Focusable elements with no visible focus style; focus traps; missing skip link.
- Pointer targets < 24x24 CSS px without spacing (2.5.8; 44px is AAA). Drag-only interactions with no single-pointer alternative (2.5.7).
- Sticky headers or banners that hide the focused element (2.4.11).
- Repeated form data the user must re-enter (3.3.7); login that needs a cognitive test, with no paste or password-manager support (3.3.8).
- Animation with no `prefers-reduced-motion` handling.
- Missing `lang`; invalid heading order.
- Framework-specific: missing screen-reader-text classes, untranslatable strings, missing `aria-label` on dynamic elements, `aria-live` for async updates.

## Finding Format

Contract lines plus one extra `WCAG:` line:

```
[Critical|High|Medium|Low] <title>
File: <path>:<line>
Issue: <what fails and for whom>
Fix: <specific remediation>
WCAG: <criterion, e.g. 1.1.1 Non-text Content>
```

## Example

```
[Critical] Icon-only button has no accessible name
File: src/components/Toolbar.tsx:14
Issue: `<button onClick={del}><TrashIcon /></button>` — screen readers announce nothing.
Fix: Add `aria-label="Delete item"` or visually-hidden text.
WCAG: 4.1.2 Name, Role, Value

[Low] Decorative image gives a redundant alt
File: src/components/Hero.tsx:9
Issue: `<img alt="decorative swoosh" />` adds noise for screen-reader users.
Fix: Use `alt=""`.
WCAG: 1.1.1 Non-text Content
```

End with top priorities in one line, then the score and footer line from the contract.

## Never

- Never assert a contrast pass/fail from a static diff. Label it `[needs tool]`.
- Never approve an interactive element with no accessible name.
- Never claim keyboard navigation works without running the page. Label it `[needs tool]`.

## Communication

On a team, report: WCAG violations by criterion, impact on users with disabilities, overall accessibility health.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.