accessibility-wcag

Implement WCAG 2.2 Level AA accessibility patterns for interactive web UI.

3|1|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/Probably-Group/Dev-AID --skill accessibility-wcag-probably-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: accessibility-wcag
Source: https://github.com/Probably-Group/Dev-AID/tree/main/.dev-aid/skills/expert/accessibility-wcag
Command: npx skills add https://github.com/Probably-Group/Dev-AID --skill accessibility-wcag-probably-group

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps teams implement accessible web UI that works for keyboard and screen reader users and avoids common WCAG 2.2 Level AA violations.

Core Features & Use Cases

  • Accessibility-safe patterns for ARIA, focus, and keyboard navigation: Prevent focus traps, ensure dialogs and interactive components behave correctly, and support Enter/Space activation.
  • Accessible form validation and live feedback: Associate labels and error messages, use aria-live/role="alert" announcements, and ensure errors are perceivable.
  • WCAG 2.2-compliant UI checks and examples: Apply code patterns for contrast, images/media alternatives, landmarks/skip links, tables, and reduce-motion support when needed.

Quick Start

Use the accessibility-wcag skill to audit and rewrite your modal, form, and interactive components to meet WCAG 2.2 Level AA requirements for screen reader and keyboard users.

Frequently Asked Questions about accessibility-wcag

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix keyboard traps in modal dialogs for screen reader users?

To fix keyboard traps in modal dialogs, implement WCAG 2.2 Level AA focus management patterns that confine Tab navigation within the dialog until it closes, ensuring screen reader users cannot escape the context unintentionally.

How do I make form validation errors accessible to screen readers?

Make form validation errors accessible by associating labels with inputs using ARIA attributes and announcing dynamic errors via aria-live regions or role="alert", ensuring perceivable live feedback for screen reader users.

What WCAG 2.2 Level AA requirements apply to keyboard navigation in web apps?

WCAG 2.2 Level AA requirements for keyboard navigation mandate that all interactive UI components, including menus and dialogs, must be operable without a mouse, supporting Enter and Space activation with safe focus management.

Do I need ARIA roles for accessible tables and landmarks?

You need ARIA roles for accessible tables and landmarks to establish document structure and navigation. Applying these roles alongside skip links ensures screen reader users can bypass repetitive content and locate data efficiently.

What's the best way to prevent missing labels in interactive UI components?

The best way to prevent missing labels is to implement sanitized ARIA labeling patterns that explicitly associate text labels with interactive UI components, ensuring screen readers announce their purpose clearly.

How do I verify if my web app meets WCAG 2.2 Level AA accessibility standards?

Verify WCAG 2.2 Level AA compliance by running accessibility-focused testing tools against your interactive UI to detect focus management issues, missing ARIA states, and keyboard navigation failures before deployment.