agentleFS
mmccallammccalla/coding-agent-skill-library/skills/accessibility-wcag/SKILL.md

accessibility-wcag

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Applies WCAG 2.2 AA-aligned accessibility checks to interfaces, forms, dashboards and components. Use when building or reviewing any user-facing UI, content, or agent supervision screen.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 14 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for any user-facing work: pages, forms, dashboards, tables, modals, navigation, charts, notifications, approval workflows, …

    line 14
  2. Distinctive:

    Ensure interfaces are perceivable, operable, understandable and robust, with practical alignment to WCAG 2.2 AA expectations.

    line 18
  3. Distinctive:

    Use semantic HTML or accessible component primitives.

    line 22
  4. Distinctive:

    Ensure all interactive controls are keyboard reachable.

    line 23
  5. Distinctive:

    Do not rely on colour alone to communicate meaning.

    line 27
  6. Distinctive:

    Check text contrast and visual hierarchy.

    line 28
  7. Distinctive:

    Ensure tables have appropriate headers and captions where needed.

    line 30
  8. Distinctive:

    Ensure dynamic updates are announced where appropriate.

    line 32
  9. Distinctive:

    Test common flows using keyboard-only interaction.

    line 33
  10. Very specific:

    Do not use clickable div or span elements where a button or link is appropriate.

    line 58
  11. Distinctive:

    Do not remove focus outlines without providing an accessible replacement.

    line 59
  12. Distinctive:

    Do not encode meaning only through colour, position or iconography.

    line 60
  13. Distinctive:

    Do not show validation errors only after form submission when earlier feedback is possible.

    line 61
  14. Distinctive:

    Do not create modals that trap users without an escape path.

    line 62
  15. Distinctive:

    Do not use placeholder text as the only label.

    line 63

“Common” is measured: kept by at least 6 in 10 of the 3 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

Accessibility and WCAG Practice

When to use

Use this skill for any user-facing work: pages, forms, dashboards, tables, modals, navigation, charts, notifications, approval workflows, agent supervision interfaces and design-system components.

Objective

Ensure interfaces are perceivable, operable, understandable and robust, with practical alignment to WCAG 2.2 AA expectations.

Procedure

  1. Use semantic HTML or accessible component primitives.
  2. Ensure all interactive controls are keyboard reachable.
  3. Provide visible focus states.
  4. Provide accessible names for buttons, links, inputs and icons.
  5. Associate labels, hints and errors with form controls.
  6. Do not rely on colour alone to communicate meaning.
  7. Check text contrast and visual hierarchy.
  8. Provide meaningful headings and landmarks.
  9. Ensure tables have appropriate headers and captions where needed.
  10. Provide accessible alternatives for charts and diagrams.
  11. Ensure dynamic updates are announced where appropriate.
  12. Test common flows using keyboard-only interaction.

WCAG 2.2 AA focus areas

For WCAG 2.2 AA alignment, explicitly check the newer AA success criteria as well as the long-standing basics:

  • 2.4.11 Focus Not Obscured (Minimum): author-created content must not fully hide the focused component.
  • 2.5.7 Dragging Movements: functionality using dragging should also support a single-pointer alternative unless dragging is essential.
  • 2.5.8 Target Size (Minimum): pointer targets must meet the minimum target-size expectation or a documented exception.
  • 3.3.8 Accessible Authentication (Minimum): authentication should not require a cognitive-function test unless an accessible alternative or assistance mechanism exists.

Also check Level A criteria that commonly affect agent and approval UIs:

  • 3.2.6 Consistent Help: help mechanisms (contact, chat, self-help, human contact) appear in the same relative order across pages when present.
  • 3.3.7 Redundant Entry: do not require users to re-enter information already provided in the same process unless essential or security-related.

Source: W3C WCAG 2.2.

References

Rules

  • Do not use clickable div or span elements where a button or link is appropriate.
  • Do not remove focus outlines without providing an accessible replacement.
  • Do not encode meaning only through colour, position or iconography.
  • Do not show validation errors only after form submission when earlier feedback is possible.
  • Do not create modals that trap users without an escape path.
  • Do not use placeholder text as the only label.

Optional overlay

For product-specific DataOps/MCP examples, load skills_docs/overlays/mas-dataops-mcp-overlay.md.

Related skills

  • ux-design-principles — task-centred design before a11y checks
  • ui-component-design — accessible component primitives
  • frontend-state-and-interaction-design — keyboard and state accessibility

Verification

  • Keyboard interaction checked.
  • Labels, accessible names and focus states checked.
  • Colour-only meaning avoided.
  • Table or chart accessibility considered.
  • Tests or manual checks performed and residual risks stated.

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.