agentleFS
magnus919magnus919/agent-skills/web-accessibility/SKILL.md

web-accessibility

Skill197 starsChanged 4 months agoMITView on GitHub

Design, build, and review accessible web interfaces with native semantics, keyboard and focus behavior, forms and recovery, responsive input, motion, assistive-technology testing, and WCAG 2.2-informed evidence. Use for a11y, WCAG, ARIA, screen-reader, keyboard, focus, dialog, form, widget, or accessibility review work across frameworks. Do not use this skill for unrelated requests; route to the nearest named specialist.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use web-performance and api-design.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MRCalderon3DSkill

    web-performance

    Keep a browser game inside its frame budget through allocation discipline, pooling, and devtools-driven profiling.

    Also in 3 projects that use this

  • MicrosoftSkill

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Verify with references/testing-and-evidence.md and the design, implementation, and release templates.

    line 27
  2. Distinctive:

    Do not issue a WCAG conformance or general accessibility verdict from an automated scan.

    line 28
  3. Very specific:

    Treat WCAG 2.2 success criteria, HTML/ARIA specifications, and informative tutorials/patterns as separate layers.

    line 47
  4. Distinctive:

    Use WAI-ARIA 1.2 only when native host-language semantics do not provide the required behavior.

    line 48
  5. Distinctive:

    Use the Accessible Name and Description Computation 1.2 algorithm for edge cases.

    line 49
  6. Distinctive:

    Treat ordinary responsive navigation as a disclosure over ordinary links, not an ARIA menu.

    line 51
  7. Distinctive:

    Stop when each acceptance criterion has direct evidence or a recorded failed, blocked, or not-applicable result.

    line 56

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.