SSkilltecabyclaudinhocode
Enviar skill
← Voltar para o catálogo

wcag-accessibility

DevOps e Infra

Comprehensive WCAG 2.1/2.2 AA accessibility skill covering audits, remediation, ARIA patterns, screen reader testing, color contrast, keyboard navigation, mobile a11y, cognitive accessibility, legal compliance, and CI/CD testing pipelines. Use this skill whenever the user asks about or touches ANY of the following — even if they do not use the word "accessibility": AUDITING & COMPLIANCE: "is this

1estrelas
Ver no GitHub ↗Autor: mrKanohLicença: MIT

Paul J. Adam Web & Mobile Accessibility Skill

Overview

Comprehensive accessibility knowledge grounded in WCAG 2.1 AA by default (with full WCAG 2.2 coverage), WAI-ARIA 1.2, and real-world audit, remediation, and handoff practice. Spans standards, semantic HTML, ARIA patterns, keyboard, screen readers, mobile (iOS/Android), typography, color, CI testing, KPIs, organizational processes, and disability theory.

🌍 Multilingual Behavior (CRITICAL)

You are a polyglot accessibility expert. While your underlying databases and CSV files are in English, you must ALWAYS respond in the exact language the user is speaking.

  • If the user asks in Spanish, translate the WCAG criteria, ARIA patterns, and explanations into Spanish on the fly.
  • When speaking Spanish, ALWAYS use the terminology defined in data/glossary-es.csv to ensure industry-standard translations (e.g., "Screen reader" = "Lector de pantalla", "Landmark" = "Región de la página", "Focus" = "Foco").
  • Never tell the user "the database is in English", just provide the translated answer seamlessly.

Authority: Paul J. Adam — Web & Mobile Accessibility Specialist/Consultant (pauljadam.com). Curriculum themes additionally informed by industry-standard training paths (semantic HTML for designers, ARIA, NVDA, VoiceOver/TalkBack, accessibility audits, inclusive research, accessibility KPIs, handoff, typography, color palette, disability models, mobile, developer test tooling).


Searchable Data

CSV databases + a single Python CLI. Run from the skill root:

# WCAG
python scripts/search.py wcag --level AA
python scripts/search.py wcag --keyword contrast
python scripts/search.py wcag --id 2.5.8            # WCAG 2.2 target size

# Legal framework
python scripts/search.py legal --jurisdiction EU
python scripts/search.py legal --jurisdiction Chile

# Glossary ES ↔ EN
python scripts/search.py glossary --keyword lector
python scripts/search.py glossary --context Legal

# ARIA patterns
python scripts/search.py aria --component modal --detail

# Tools
python scripts/search.py tools --type screen-reader --platform Windows --free

# Screen reader shortcuts
python scripts/search.py keys --reader NVDA --action heading

# Semantic HTML reference
python scripts/search.py semantic --element nav

# Typography & color
python scripts/search.py typography --category Spacing
python scripts/search.py color --scope Non-text

# Accessibility KPIs and handoff
python scripts/search.py kpis --category Remediation
python scripts/search.py handoff --phase Design --owner Designer

# Theoretical models of disability
python scripts/search.py models --keyword social

# Resources (books, blogs, research, tools)
python scripts/search.py resources --category Official
python scripts/search.py resources --type Blog
python scripts/search.py resources --authority W3C
python scripts/search.py resources --keyword WCAG
FileContents
data/wcag-criteria.csvWCAG 2.1 A/AA + WCAG 2.2 additions (2.4.11–2.4.13, 2.5.7–2.5.8, 3.2.6, 3.3.7–3.3.9)
data/aria-patterns.csv25+ component patterns with required ARIA, keyboard, focus mgmt
data/testing-tools.csv30+ tools by type, platform, browser, cost
data/screen-reader-keys.csvShortcuts for NVDA, JAWS, VoiceOver (macOS/iOS), TalkBack, Narrator
data/semantic-html.csvSemantic HTML reference — element → role → when to use / avoid
data/typography-rules.csv20 rules for accessible typography mapped to WCAG
data/color-palette-rules.csvPalette creation rules (contrast, states, color blindness, HCM)
data/kpis.csv15 accessibility KPIs with formulas and targets
data/handoff-checklist.csvResearch → Design → Dev → QA → Release handoff checklist
data/disability-models.csvMedical / Social / Biopsychosocial / CRPD / etc.
data/glossary-es.csvSpanish ↔ English a11y terminology (70+ terms)
data/legal-framework.csv25+ jurisdictions: laws, standards, effective dates
data/resources.csv50+ authoritative books, blogs, research papers, tools, standards
scripts/search.pyCLI search across all databases
templates/audit-report.mdComplete audit report template (fill-in)
templates/a11y-ci.ymlGitHub Actions CI pipeline (axe + pa11y + Playwright + Lighthouse)
prompts/Ready-to-use Claude prompts (audit, ARIA, alt text, handoff, KPIs)

When to Use

  • WCAG 2.0 / 2.1 / 2.2 / Section 508 / EAA compliance questions
  • WAI-ARIA roles, states, properties — which to use and how
  • Building accessible forms, modals, tabs, accordions, tables, date pickers, autocompletes
  • Keyboard navigation patterns and focus management
  • Screen reader testing methodology (NVDA, JAWS, VoiceOver, TalkBack)
  • Accessible typography, color palettes, buttons, links
  • Designer → developer accessibility handoff
  • Running an accessibility audit (scope, sampling, severity, reporting)
  • Inclusive user research and interviews
  • Accessibility KPIs and ACR/VPAT reporting
  • Mobile accessibility (iOS VoiceOver / Android TalkBack)
  • AI-assisted accessible development

1. Disability Models & Inclusive Mindset

Design decisions depend on which model of disability you implicitly assume. Prefer Social and Human Rights (CRPD) models; use Biopsychosocial (WHO ICF) when discussing context and interaction.

ModelViewDesign implication
MedicalImpairment to fixAssistive devices; risk of pathologizing users
SocialBarriers disable people, not impairmentsRemove barriers; universal design
Biopsychosocial (ICF)Interaction of body, activity, participation, environmentConsider context & situational limitations
Human Rights (CRPD)Access is a rightAccessibility is mandatory, not charity
Charity (avoid)Pity-drivenPaternalistic design
Identity / AffirmativeDisability as valued identityCo-design with disabled users

Full table: data/disability-models.csv

Language: use person-first ("person with a disability") or identity-first ("Deaf person", "autistic person") as the community prefers; avoid "suffers from", "wheelchair-bound", "handicapped", "special needs", "normal".

Global statistics (WHO 2023): ~1.3 billion people — 16% of the world's population — live with a significant disability. Plan for permanent, temporary, and situational impairments.


2. WCAG Principles (POUR)

PrincipleCore requirement
PerceivableAlt text, captions, contrast, reflow, text spacing
OperableKeyboard access, no traps, focus visible, skip links, no seizure triggers
UnderstandablePage language, consistent nav, error identification and recovery
RobustValid HTML, ARIA name/role/value, status messages programmatically exposed

High-impact AA criteria (most commonly failed)

IDCriterionRequirement
1.1.1Non-text Contentalt for informative; alt="" for decorative
1.3.1Info and RelationshipsSemantic structure preserved programmatically
1.4.3Contrast (Minimum)4.5:1 text / 3:1 large (18pt or 14pt bold)
1.4.10ReflowUsable at 320 CSS px with no horizontal scroll
1.4.11Non-text Contrast3:1 for UI components and graphics
1.4.12Text SpacingSupports line-height 1.5, paragraph 2×, letter 0.12×, word 0.16×
2.1.1KeyboardAll functionality operable by keyboard
2.1.2No Keyboard TrapFocus must never get stuck
2.4.3Focus OrderLogical focus sequence
2.4.7Focus VisibleFocus indicator must be visible
3.3.1Error IdentificationErrors described in text
4.1.2Name, Role, ValueInteractive elements expose name/role/state
4.1.3Status MessagesDynamic updates announced without foc

Como adicionar

/plugin marketplace add mrKanoh/claude-wcag-accessibility-skill

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Comentários · Nenhum comentário

Entre para comentar. Entrar

  • Ainda não há comentários. Seja o primeiro.