mcpField
W
web-accessibility

web-accessibility

github.com/magnus919Design & UI162156 installsUpdated today
Repository

About web-accessibility

A web accessibility skill for design and development teams. It defines observable interaction requirements, favors native HTML behavior, and guides bounded testing without treating automated scans as proof of WCAG conformance.

Key features

  1. 01Define tasks and acceptance criteria
  2. 02Prefer native HTML semantics
  3. 03Specify interaction and keyboard behavior
  4. 04Load focused references as needed
  5. 05Record browser and assistive technology evidence
  6. 06Avoid automated WCAG verdicts

Use cases

  1. 01Plan accessible interactions for a new interface
  2. 02Review form errors and recovery paths
  3. 03Verify keyboard focus and composite widgets
  4. 04Organize accessibility evidence before release

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/magnus919/agent-skills --skill web-accessibility

After installing, type/web-accessibilityin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

README.md
assets/
acceptance-criteria-template.md
review-checklist-design.md
review-checklist-implementation.md
review-checklist-release.md
evals/
evals.json
references/
composite-widgets.md
dialogs-disclosures-navigation.md
forms-errors-authentication.md
keyboard-focus-and-routing.md
outcome-probes.md
routing.md
semantics-and-names.md
source-index.md
testing-and-evidence.md
visual-input-and-motion.md

Details

From the project README

Web Accessibility

Accessibility is successful task completion and recovery for disabled people, not a tool score. Define observable requirements before implementation, prefer native platform behavior where it fits, and gather bounded evidence in the supported browser and assistive-technology (AT) environment.

Workflow

  1. Define the task, users, supported browsers/AT, input methods, and failure recovery. Start with assets/acceptance-criteria-template.md.
  2. Choose native HTML first. Load references/semantics-and-names.md for structure, native controls, accessible names, descriptions, and dynamic updates.
  3. Specify every interactive state: trigger, role/name/state/value, keyboard commands, focus entry/exit/return, pointer alternative, errors, and visible feedback. Load the focused pattern reference.
  4. Design for visual and input adaptation using references/visual-input-and-motion.md; distinguish WCAG requirements from product goals and exceptions.
  5. Implement only after the contract is defined. For custom composite widgets, first evaluate a proven native or maintained component in the chosen stack; APG examples are informative guidance, not production proof.
  6. Verify with references/testing-and-evidence.md and the design, implementation, and release templates. Record tool, version, scope, manual tasks, actual browser/AT combinations, failures, and blocked or not-applicable items.
  7. Do not issue a WCAG conformance or general accessibility verdict from an automated scan. A conformance claim needs a complete, scoped evaluation outside this skill's automatic verdict.

Load On Demand

NeedLoad
Standards status, source authority, or exact linksreferences/source-index.md
Native semantics, labels, accessible names, landmarks, live updatesreferences/semantics-and-names.md
Tab order, focus visibility, traps, restoration, route changesreferences/keyboard-focus-and-routing.md
Labels, validation, recoverable errors, authenticationreferences/forms-errors-authentication.md
Modal dialogs, disclosure, responsive navigationreferences/dialogs-disclosures-navigation.md
Tabs, comboboxes, listboxes, grids, menus, other compositesreferences/composite-widgets.md
Contrast, reflow, zoom, targets, drag, motion, mediareferences/visual-input-and-motion.md
Automated checks, manual protocols, AT matrix, evidencereferences/testing-and-evidence.md
Framework or skill boundaryreferences/routing.md
Validate common outcomes without claiming conformancereferences/outcome-probes.md

Decision Rules

  • Treat WCAG 2.2 success criteria, HTML/ARIA specifications, and informative tutorials/patterns as separate layers. See references/source-index.md.
  • Use WAI-ARIA 1.2 only when native host-language semantics do not provide the required behavior. ARIA changes semantics; it does not create keyboard behavior or visual presentation.
  • Use the Accessible Name and Description Computation 1.2 algorithm for edge cases. Do not substitute a priority mnemonic; inspect the computed accessibility tree and name.
  • For a modal, prefer <dialog>.showModal() when it supports the target environment. Keep background content unavailable/inert, choose initial focus for the content and task, provide a visible close path, and return focus logically. Do not hide a backdrop with aria-hidden or hide an ancestor of the dialog.
  • Treat ordinary responsive navigation as a disclosure over ordinary links, not an ARIA menu. Use menu semantics only with the application-menu keyboard contract.
  • Target Size (Minimum) is 24 by 24 CSS pixels at WCAG 2.2 AA, subject to its spacing, equivalent, inline, user-agent, and essential exceptions. A larger target may be a product goal.

Completion

Stop when each acceptance criterion has direct evidence or a recorded failed, blocked, or not-applicable result. Report residual risk and the exact evidence boundary; do not turn absent testing into a pass.

When Not To Use

  • For Hugo template architecture, theme-wide layout, or CMS rendering concerns, use hugo-theme and its design/accessibility reference.
  • For evidence gathering, scope decisions, or user-facing behavior outside accessibility, use product-discovery, product-methodology, or product-design-and-ux. Keep this skill responsible for accessibility interaction and conformance depth.
  • For framework or library APIs, consult the current official documentation after defining this skill's semantic and interaction contract. React implementation details route to react; Vite configuration routes to vite.

Comments

Markdown supported