MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

A11Y

A11Y是一款code方向的AI技能,核心价值是Comprehensive web accessibility standards based on WCAG 2,可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

Comprehensive web accessibility standards based on WCAG 2.2 AA, with 38+ anti-patterns, legal enforcement context (EAA, ADA Title II), WAI-ARIA patterns, and framework-specific fixes for modern web fr

Last verified on: 2026-05-30
mkdir -p ./skills/a11y && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/a11y/SKILL.md -o ./skills/a11y/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Accessibility Standards


Comprehensive accessibility rules for web application development. Every anti-pattern includes a severity classification, detection method, WCAG 2.2 reference, and corrective code examples.


**Severity levels:**


- **CRITICAL** — Users cannot access content at all. Must be fixed before merge.

- **IMPORTANT** — Significant barrier for assistive technology users. Fix in same sprint.

- **SUGGESTION** — Improves usability for assistive technology. Plan for a future iteration.


---


WCAG 2.2 Quick Reference (AA Level)


Perceivable


| Criterion | Level | Summary |

|-----------|-------|---------|

| 1.1.1 Non-text Content | A | All non-text content has a text alternative. Decorative images use `alt=""`. |

| 1.2.1 Audio/Video-only | A | Provide transcript (audio) or text alternative (video). |

| 1.2.2 Captions (Prerecorded) | A | All prerecorded video has synchronized captions. |

| 1.3.1 Info and Relationships | A | Structure (headings, lists, tables, labels, landmarks) programmatically conveyed. |

| 1.3.2 Meaningful Sequence | A | When the sequence that content is presented affects its meaning, the visual and programmatic ordering of content should align. |

| 1.3.3 Sensory Characteristics | A | Instructions don't rely solely on shape, size, position, or sound. |

| 1.3.4 Orientation | AA | Content is not restricted to single orientation unless essential. |

| 1.3.5 Identify Input Purpose | AA | Input fields have `autocomplete` attributes when collecting information about the user. |

| 1.4.1 Use of Color | A | Color is not the only means of conveying info. |

| 1.4.3 Contrast (Minimum) | AA | Text: 4.5:1 normal, 3:1 large (18pt / 14pt bold). |

| 1.4.4 Resize Text | AA | Text resizable to 200% without loss of content or functionality. |

| 1.4.10 Reflow | AA | Sections of content can fit within 320px CSS width viewports without needing to scroll in two dimensions to read. |

| 1.4.11 Non-text Contrast | AA | UI components and graphics: 3:1 against adjacent colors. |

| 1.4.12 Text Spacing | AA | No loss of content or functionality with user-overridden line-height (1.5x), or specified paragraph spacing, letter spacing, and word spacing adjustments. |

| 1.4.13 Content on Hover/Focus | AA | Popup content that appears on hover or focus is: dismissible, hoverable, persistent. |


Operable


| Criterion | Level | Summary |

|-----------|-------|---------|

| 2.1.1 Keyboard | A | All functionality operable via keyboard. |

| 2.1.2 No Keyboard Trap | A | User can navigate away from any component using keyboard. |

| 2.2.1 Timing Adjustable | A | Time limits can be extended or disabled. |

| 2.2.2 Pause, Stop, Hide | A | Auto-updating content can be paused. |

| 2.3.1 Three Flashes | A | No content flashes more than 3 times per second. |

| 2.4.1 Bypass Blocks | A | Skip link to bypass repeated navigation. |

| 2.4.2 Page Titled | A | Pages have descriptive `<title>`. |

| 2.4.3 Focus Order | A | Focus order preserves meaning and operability. |

| 2.4.4 Link Purpose | A | Link purpose determinable from text or context. |

| 2.4.6 Headings and Labels | AA | Headings and labels describe topic or purpose. |

| 2.4.7 Focus Visible | AA | Keyboard focus indicator is visible. |

| 2.4.11 Focus Not Obscured | AA | Focused element not entirely hidden by other overlaying elements (such as sticky headers or footers). *(New in 2.2)* |

| 2.5.1 Pointer Gestures | A | Multi-point gestures have single-pointer alternative. |

| 2.5.2 Pointer Cancellation | A | Activation on up-event, unless activation can be aborted, reversed, or down-event activation is essential. |

| 2.5.3 Label in Name | A | Accessible name contains the label text as it is visually presented. |

| 2.5.4 Motion Actuation | A | Device motion has UI alternative and can be disabled. |

| 2.5.7 Dragging Movements | AA | Drag-and-drop has click/tap alternative. *(New in 2.2)* |

| 2.5.8 Target Size (Minimum) | AA | Interactive controls have a target size, or spacing of at least 24x24

🎯 Best For

  • Claude users
  • GitHub Copilot users
  • Software engineers
  • Development teams
  • Tech leads

💡 Use Cases

  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply A11Y to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Is A11Y compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for A11Y?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install A11Y?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/a11y/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills