accessibility
Unified WCAG 2.2 accessibility audit. Crawl mode: score pages across all 86 success criteria. Session mode: return WCAG checklist for the requested level. Optional axe-core engine (Deque: automation detects ~57% of accessibility issues; manual testing still required).
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 5
- Forks
- 1
01 前言 Front Matter
- name
- accessibility
- author
- project-human
- license
- MIT
- version
- 1.0.0
- description
- Unified WCAG 2.2 accessibility audit. Crawl mode: score pages across all 86 success criteria. Session mode: return WCAG checklist for the requested level. Optional axe-core engine (Deque: automation detects ~57% of accessibility issues; manual testing still required).
02 资源文件 47
- 参考文档CHANGELOG.md719 B
- 许可证LICENSE1.1 KB
- 参考文档MigrationNotes.md4.7 KB
- 参考文档QuickReference.md1.6 KB
- 参考文档references/application-states.md5.9 KB
- 参考文档references/aria-patterns.md8.0 KB
- 参考文档references/corporate-design-system.md9.7 KB
- 参考文档references/corporate-ux-patterns.md4.9 KB
- 参考文档references/data-presentation.md3.6 KB
- 参考文档references/form-patterns.md6.1 KB
- 参考文档references/navigation-patterns.md3.4 KB
- 参考文档references/responsive-breakpoints.md5.1 KB
- 参考文档references/security-error-handling.md7.5 KB
- 参考文档references/wcag-aaa-checklist.md11.4 KB
- 参考文档rubric.md1.3 KB
- 参考文档scenarios/scenarios.yaml2.7 KB
- 参考文档schemas/accessibility.input.json1.6 KB
- 参考文档schemas/accessibility.output.json1.8 KB
- 参考文档skill.yaml647 B
- 参考文档templates/base.html5.8 KB
- 脚本templates/check_contrast.py9.7 KB
- 其他templates/components.css14.4 KB
- 参考文档templates/data-table.html5.1 KB
- 参考文档templates/empty-state.html2.2 KB
- 参考文档templates/footer.html3.3 KB
- 参考文档templates/header.html3.7 KB
- 脚本templates/main.js9.9 KB
- 参考文档Templates/MarketResearch.md6.5 KB
- 其他templates/responsive.css4.5 KB
- 参考文档templates/sidebar-nav.html5.0 KB
- 参考文档Templates/ThreatLandscape.md7.1 KB
- 其他templates/tokens.css11.8 KB
- 参考文档UrlVerificationProtocol.md1.9 KB
- 参考文档Workflows/AnalyzeAiTrends.md3.1 KB
- 参考文档Workflows/ClaudeResearch.md3.6 KB
- 参考文档Workflows/DeepInvestigation.md11.3 KB
- 参考文档Workflows/Enhance.md2.4 KB
- 参考文档Workflows/ExtensiveResearch.md4.6 KB
- 参考文档Workflows/ExtractAlpha.md17.9 KB
- 参考文档Workflows/ExtractKnowledge.md4.8 KB
- 参考文档Workflows/Fabric.md13.4 KB
- 参考文档Workflows/InterviewResearch.md4.4 KB
- 参考文档Workflows/QuickResearch.md1.2 KB
- 参考文档Workflows/Retrieve.md14.3 KB
- 参考文档Workflows/StandardResearch.md2.5 KB
- 参考文档Workflows/WebScraping.md2.1 KB
- 参考文档Workflows/YoutubeExtraction.md2.1 KB
03 SKILL.md 正文
Accessibility Audit
Purpose
Unified WCAG 2.2 accessibility audit covering all 86 success criteria across 4 POUR principles (Perceivable, Operable, Understandable, Robust).
Two modes:
- Crawl mode: Provide
pages: [{url, html}]and get per-page scoring (0-100) with ranking, site aggregate, and detailed per-criterion findings. Manual-only criteria are flagged withmanual_reason. - Session mode: Query the user's required WCAG level (A, AA, or AAA) and receive the complete checklist. The agent enforces all criteria in the checklist throughout the session.
Two analysis engines:
- Regex engine (built-in, zero dependencies): 13 regex-based scoring functions covering the 41 fully automatable criteria (~48% of all 86; per
wcag-criteria.tsautomatable flags). - axe-core engine (optional,
pnpm add axe-core): 57 rule checks providing ~80% automated coverage. Auto-detected at import time — silent fallback if not installed.
Boundaries
Always
- Score real HTML against all automatable criteria
- Return structured per-criterion results with WCAG SC ID references
- Distinguish automated findings from manual-review items
Never
- Claim legal compliance
- Score criteria requiring visual inspection as if automated
- Make external network calls
Level-Aware Scoring
- Color contrast: no Level A requirement; AA=4.5:1 normal text / 3:1 large text (SC 1.4.3); AAA=7:1 / 4.5:1 (SC 1.4.6)
- Level A: 31 criteria (18 automatable, 4 partial)
- Level AA: 55 criteria cumulative (31 automatable, 8 partial)
- Level AAA: 86 criteria cumulative (41 automatable, 15 partial)
References
Implementation guidance and enterprise patterns (merged from wcag-aaa-web-design):
references/wcag-aaa-checklist.md— all 86 WCAG 2.2 criteria with implementation guidance and AAA design implicationsreferences/corporate-design-system.md— AAA-verified color palette with precomputed contrast ratios, type scale, BEM architecturereferences/aria-patterns.md— ARIA widget patterns (modals, tabs, accordions, focus traps)references/form-patterns.md— accessible form design and validationreferences/security-error-handling.md— OWASP-aligned secure error handling (CSP, CSRF, output encoding)references/application-states.md— loading, empty, and error state patternsreferences/data-presentation.md— accessible data table and density patternsreferences/navigation-patterns.md— sidebar, breadcrumb, and wayfinding patternsreferences/responsive-breakpoints.md— mobile-first breakpoint systemreferences/corporate-ux-patterns.md— enterprise UX conventions
Templates
AAA-verified starter templates in templates/: design tokens with precomputed 7:1 contrast palette (tokens.css), BEM component library (components.css), semantic HTML partials, and defensive vanilla JS (main.js). A standalone contrast checker with auto-suggestion engine is included as templates/check_contrast.py (stdlib-only Python; can audit --color-* tokens directly from tokens.css).
04 同仓库更多 Skills
skill
暂无简介
supportive-conversation
Generate supportive responses with safety boundaries. Use when user asks to 'be supportive', 'help with emotional support', 'provide encouragement', 'respond with empathy', 'offer emotional support'.
neurodiversity-aware-design
Design for diverse cognitive processing. Use when user asks to 'make ADHD-friendly', 'autism-friendly design', 'sensory-friendly', 'reduce cognitive overload', 'dyslexia-friendly', 'neurodiversity design'.
empathetic-communication
Improve emotional resonance in communication. Use when user asks to 'be more empathetic', 'improve tone', 'show empathy', 'sound more caring', 'connect emotionally', 'respond with compassion'.
depression-sensitive-content
Audit and rewrite content to reduce stigma, improve emotional safety, and lower cognitive load for people affected by depression. Use when user asks to 'make content more sensitive', 'remove stigmatizing language', 'improve emotional safety', 'rewrite for depression awareness', 'audit content for mental health sensitivity'.
cultural-sensitivity
Design for cultural inclusivity. Use when user asks to 'make culturally sensitive', 'adapt for culture', 'reduce cultural bias', 'cultural awareness', 'inclusive design'.