スキル一覧に戻る
srstomp

accessibility-auditor

by srstomp

An orchestration plugin for Claude Code that enables reliable autonomous development sessions with configurable checkpoints and task management.

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: accessibility-auditor description: Analyzes web and mobile applications for WCAG 2.2 AA accessibility compliance. Audits code (HTML, React, React Native, SwiftUI), interprets automated tool output, and processes manual tester findings. Produces structured audit reports that implementation agents can action. Use this skill when conducting accessibility audits, reviewing code for a11y issues, or synthesizing accessibility test results.

Accessibility Auditor

Analyze applications for WCAG 2.2 AA compliance and produce actionable audit reports.

Audit Workflow

┌─────────────────────────────────────────────────────────────┐
│                        INPUTS                               │
├─────────────────┬─────────────────┬─────────────────────────┤
│ Code            │ Tool Output     │ Tester Findings         │
│ (HTML, React,   │ (axe, Light-    │ (manual testing         │
│ RN, SwiftUI)    │ house, etc.)    │ reports)                │
└────────┬────────┴────────┬────────┴────────┬────────────────┘
         │                 │                 │
         └─────────────────┼─────────────────┘
                           ▼
              ┌────────────────────────┐
              │   ANALYSIS PROCESS     │
              │  • Map to WCAG 2.2 AA  │
              │  • Classify severity   │
              │  • Identify patterns   │
              │  • Note remediation    │
              └───────────┬────────────┘
                          ▼
              ┌────────────────────────┐
              │     AUDIT REPORT       │
              │  Structured for        │
              │  implementation agent  │
              └────────────────────────┘

WCAG 2.2 AA Quick Reference

The Four Principles (POUR)

PrincipleMeaningKey Questions
PerceivableUsers can perceive contentCan everyone see/hear/read it?
OperableUsers can interactCan everyone navigate and use controls?
UnderstandableUsers can comprehendIs content and UI predictable and clear?
RobustWorks with assistive techDoes it work with screen readers, etc.?

Compliance Levels

  • A: Minimum (basic access)
  • AA: Standard (legal requirement in most jurisdictions) ← Target
  • AAA: Enhanced (not typically required)

Severity Classification

Use this scale for all findings:

SeverityDefinitionExamplePriority
CriticalBlocks access entirelyNo keyboard navigation, missing alt text on key imagesP0 — Fix immediately
SeriousMajor barrier, workaround difficultPoor contrast, form errors not announcedP1 — Fix before release
ModerateBarrier exists, workaround possibleFocus order confusing, missing skip linksP2 — Fix soon
MinorInconvenience, not a barrierRedundant alt text, minor heading hierarchy issuesP3 — Fix when able

Severity Decision Tree

Can the user complete the task?
├── No → Is there a workaround?
│        ├── No → CRITICAL
│        └── Yes, but difficult → SERIOUS
└── Yes → Is the experience degraded?
          ├── Significantly → MODERATE
          └── Slightly → MINOR

Audit Report Template

Use this structure for all audit reports:

# Accessibility Audit Report

## Summary
| Metric | Count |
|--------|-------|
| Critical | X |
| Serious | X |
| Moderate | X |
| Minor | X |
| **Total Issues** | X |

**Overall Assessment**: [Pass / Fail / Conditional Pass]
**WCAG Version**: 2.2 AA
**Platform**: [Web / iOS / Android / React Native]
**Audit Date**: [Date]
**Auditor**: [Agent/Human]

## Critical Issues

### [Issue ID]: [Brief Title]
- **WCAG Criterion**: [X.X.X Name]
- **Severity**: Critical
- **Location**: [File/Component/Screen]
- **Description**: [What's wrong]
- **Impact**: [Who is affected and how]
- **Code Sample** (if applicable):

[Problematic code]

- **Remediation**: [How to fix]
- **Remediation Code** (if applicable):

[Fixed code]


[Repeat for each critical issue]

## Serious Issues
[Same structure]

## Moderate Issues
[Same structure]

## Minor Issues
[Same structure]

## Passed Criteria
[List WCAG criteria that were checked and passed]

## Out of Scope
[Anything not tested and why]

## Recommendations
[Overall recommendations beyond specific fixes]

## Testing Methodology
- **Automated Tools**: [List tools used]
- **Manual Testing**: [Describe manual checks]
- **Assistive Tech Tested**: [Screen readers, etc.]

Analysis Process

Step 1: Identify Input Type

InputAnalysis Approach
CodeStatic analysis against WCAG criteria
Automated tool outputMap findings to WCAG, verify, remove false positives
Tester findingsStandardize format, map to WCAG, classify severity
MixedSynthesize all sources, deduplicate

Step 2: Map to WCAG 2.2 AA

Every finding must map to a specific WCAG criterion:

If a finding doesn't map to WCAG AA, classify as:

  • Best Practice (not WCAG, but recommended)
  • AAA (beyond AA requirement)
  • Platform-Specific (HIG, Material guidelines)

Step 3: Classify Severity

Use the severity definitions above. Be consistent:

  • Same issue type = same severity across report
  • Document reasoning for edge cases

Step 4: Identify Patterns

Look for systemic issues:

  • Same problem across multiple components
  • Root cause analysis (e.g., missing design system support)
  • Note in recommendations section

Step 5: Specify Remediation

Every issue needs actionable remediation:

  • Specific enough for implementation agent to execute
  • Include code samples when analyzing code
  • Reference platform-specific solutions

Code Analysis Checklist

Quick checklist for code review. Details in references/code-analysis.md.

HTML/React/Web

  • Images have meaningful alt text (or empty for decorative)
  • Form inputs have associated labels
  • Heading hierarchy is logical (h1 → h2 → h3)
  • Color contrast meets 4.5:1 (text) / 3:1 (large text, UI)
  • Focus is visible and logical
  • Interactive elements are keyboard accessible
  • ARIA used correctly (or native HTML preferred)
  • Skip link present
  • Language declared
  • Error messages associated with inputs

React Native

  • accessibilityLabel on touchables/images
  • accessibilityRole set correctly
  • accessibilityHint for non-obvious actions
  • accessibilityState for toggles/selections
  • Focus order logical
  • Touch targets ≥44pt
  • Announcements for dynamic content

SwiftUI / iOS

  • accessibilityLabel on custom views
  • accessibilityValue for state
  • accessibilityHint for actions
  • accessibilityElement(children:) grouping
  • VoiceOver navigation order
  • Dynamic Type support
  • Sufficient contrast

Interpreting Tool Output

Common Tools

ToolStrengthLimitation
axeComprehensive, low false positivesCan't test keyboard nav, focus order
LighthouseQuick overview, integratedLess detailed than axe
WAVEVisual overlay helpfulCan be noisy
Accessibility Inspector (iOS)Native iOS testingManual process
Android Accessibility ScannerNative Android testingLimited depth

Tool Output Processing

  1. Import findings from tool
  2. Remove false positives (verify each finding)
  3. Map to WCAG criterion (tools don't always specify)
  4. Classify severity (tool severity often inaccurate)
  5. Add context (location, impact, remediation)
  6. Deduplicate (same issue across pages/components)

Processing Tester Findings

Manual tester reports may need standardization:

  1. Normalize format to audit report structure
  2. Map to WCAG if tester didn't specify
  3. Classify severity using consistent scale
  4. Add technical detail if tester provided only description
  5. Verify reproducibility if unclear
  6. Request clarification if finding is ambiguous

See references/tester-findings.md for interpretation guide.


References:

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です