Web accessibility

From akillness/jeo-skills · View interactive version

Web accessibility is an AI agent skill from the GitHub repository akillness/jeo-skills. Routing-first skill for web accessibility remediation and verification. Use when the main job is classifying which accessibility surface is failing — semantics, keyboard/focus, labels/announcements, visual perception/reflow, media alternatives, or routed-app navigation feedback — and turning vague a

How to use this skill

Skill file

Web Accessibility

Use this skill when the job is to name the failing accessibility surface, fix it at the right layer, and leave behind a short remediation + verification packet.

The job is not to dump generic WCAG prose, paste raw scanner output, or absorb every neighboring frontend concern.

This skill should:

  1. classify the failing accessibility surface,
  2. separate automated findings from manual or assistive-technology follow-up,
  3. choose the smallest credible remediation packet,
  4. keep routed-app feedback and focus behavior explicit,
  5. route broader design/layout/component-governance work honestly.

Read these support docs first:

When to use this skill

When not to use this skill

Instructions

Step 1: Frame the accessibility job before naming fixes

Capture the minimum packet first.

accessibility_intake:
  surface: page | routed-flow | modal | form | nav | menu | table | dashboard | component-family | mixed | unknown
  workflow_type: audit-review | remediation-pass | release-readiness | regression-follow-up | user-reported-bug | design-system-follow-up
  signal_source: axe | lighthouse | accessibility-insights | pa11y | manual-qa | screen-reader-report | user-feedback | mixed | unknown
  primary_surface: semantics | keyboard-focus | labels-announcements | visual-perception-reflow | media-alternatives | routed-navigation-feedback | mixed | unknown
  severity: blocker | major | medium | low | unknown
  ownership: app-team | frontend-platform | design-system | qa-accessibility | shared | unknown

Rule: do not start with “add ARIA,” “run axe again,” or “quote WCAG 2.1.”

First label the failing accessibility surface.

Step 2: Choose exactly one primary remediation packet

Use the router in references/intake-packets-and-route-outs.md.

Primary packets:

  1. semantics-structure
  2. keyboard-focus
  3. labels-announcements
  4. visual-perception-reflow
  5. media-alternatives
  6. routed-navigation-feedback

Pick the highest-risk user-facing failure as primary.

List everything else as follow-up, not as equal co-owners.

Step 3: Keep the invariants visible

These rules survive every answer:

Step 4: Build the accessibility remediation packet

Return this structure:

# Accessibility Remediation Packet

## Scope
- Surface:
- Workflow type:
- Primary packet:
- Confidence: high | medium | low

## Current signal
- Tool or report source:
- What is already known:
- What still needs direct verification:

## Highest-risk gaps
1. ...
2. ...
3. ...

## Recommended first slice
1. ...
2. ...
3. ...

## Verification plan
- Automated re-check:
- Manual keyboard / focus:
- Manual screen-reader / AT:
- Visual / zoom / motion / reflow:

## Ownership and route-outs
- Primary owner:
- Adjacent skills / teams:

Step 5: Use the packet, not a giant checklist

Pull the packet from references/intake-packets-and-route-outs.md.

Packet rules:

Step 6: Separate automated findings from manual proof

Use this split in every serious answer:

If the request starts from a scanner, say explicitly that the scanner is the input artifact, not the finished answer.

Step 7: Route adjacent work explicitly

Use these route-outs when the problem crosses boundaries:

| If the real job is... | Route to... |

|---|---|

| broad UI/design review, hierarchy, polish, or guideline compliance | owned here, in broad-review mode |

| reusable component API / primitive ownership / slot-variant design | design-system |

| viewport/container layout strategy or breakpoint planning | responsive-design |

| token governance or system-wide frontend standards | design-system |

| React/Next performance or hydration behavior | react-best-practices |

Output expectations

A strong answer from this skill should:

  1. identify the primary failing accessibility surface,
  2. recommend one bounded remediation packet,
  3. name the manual verification still required,
  4. avoid equating a scanner pass with completion,
  5. route broader frontend ownership questions outward instead of absorbing them.

Examples

Example 1: modal audit after axe

Input

Audit this checkout modal for accessibility issues and tell me what to test manually after axe.

Output direction

Example 2: routed app navigation confusion

Input

Screen-reader users say our React app changes routes but the new page is not announced and focus stays on the old nav link.

Output direction

Example 3: component-boundary confusion

Input

Our button primitive API is messy and some variants are not accessible. Is this web-accessibility or design-system?

Output direction

Example 4: manual checks after Lighthouse

Input

Lighthouse says contrast is okay now. What should I still test manually?

Output direction

Best practices

  1. Start with the user task and failing surface, not the rule number.
  2. Treat automated tools as accelerators, not as proof of accessibility completeness.
  3. Prefer native HTML semantics before ARIA-heavy patches.
  4. Keep focus behavior intentional for overlays, route changes, and async validation.
  5. Separate remediation packets from broader design-review or component-architecture work.
  6. When unsure, name the manual verification still required instead of pretending the scan is enough.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.