# Accessibility

> WCAG 2.2 AA compliance enforcement for web and mobile UI components including focus, ARIA, and contrast.

Accessibility is a paid AI agent skill on Agensi by Rommel Jay Ocon, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [Rommel Jay Ocon](https://www.agensi.io/creators/rommelocon)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/accessibility
- Tags: ui-ux, wcag-2-2, accessibility-audit, react, swiftui, color-contrast

## About this skill

Users with disabilities are often blocked by inaccessible UI code that relies on visual-only cues or broken keyboard flows. This skill enforces WCAG 2.2 AA standards directly within your components and views.

### What it does
- **Enforces semantic structure** by validating landmarks, heading hierarchies, and proper use of native HTML elements over ARIA hacks.
- **Manages focus cycles** ensuring every interactive element is keyboard-accessible, focus-visible, and free of keyboard traps.
- **Validates names and roles** to ensure every control has a clear, accessible name and correct ARIA states like `aria-expanded` or `aria-current`.
- **Calculates color contrast** using a dedicated script to verify text and UI component ratios against WCAG thresholds.
- **Handles async announcements** by wiring up live regions for toasts, loading states, and form errors.

### How it works
1. **Markup Review:** Use the skill during development to audit JSX, HTML, or mobile component files for structural errors.
2. **Contrast Check:** Invoke the included `contrast.mjs` script to verify specific hex code pairs.
3. **Focus Audit:** Trigger a review of modal, drawer, or navigation logic to ensure focus trapping and return-to-opener behavior.
4. **Remediation:** Apply suggested fixes for missing `alt` text, incorrect `tabindex`, or missing `aria-describedby` links.

### Frameworks & tools
This skill includes a Node 18+ contrast checking script and provides specific implementations for Web (HTML/React), iOS (SwiftUI), Android (Compose), React Native, and Flutter.

### Why this beats prompting it yourself
Generic prompts often miss the nuances of focus management and the "Native HTML first" rule, leading to over-engineered ARIA soup. This skill uses a strict checklist of blockers and major issues to ensure a screen-reader user can actually finish a task.

### Use cases
- Auditing a new component library for WCAG 2.2 AA compliance.
- Fixing broken keyboard navigation in complex modal dialogs.
- Verifying color palettes meet contrast requirements for dark and light modes.
- Implementing accessible route changes in Single Page Applications.

### Known limitations
Cannot verify actual tab order changes caused by CSS `order` properties or layout reflow without a browser environment. VoiceOver and TalkBack announcements cannot be fully verified from source code alone.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Accessibility skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific accessibility problems does this skill help me solve?

This skill audits and fixes UI code to meet WCAG 2.2 AA standards, ensuring that people using screen readers or keyboards can successfully navigate your application without hitting blockers like keyboard traps or missing labels.

### What software or frameworks do I need to have to use this skill?

You only need an agent capable of running Node 18 plus to use the included contrast checking script. It works with web code like HTML and React, as well as mobile frameworks including SwiftUI, Jetpack Compose, React Native, and Flutter.

### What kind of reports or code outputs should I expect?

You will receive structured markup reviews, calculated color contrast ratios for light and dark modes, and specific remediation steps for focus management and ARIA implementation. It also provides logic for handling async announcements and reduced motion preferences.

### Are there any accessibility issues that this skill cannot detect?

The skill cannot verify the actual tab order if you use CSS properties to reorder elements, nor can it fully confirm exactly how VoiceOver or TalkBack will announce content without a live browser or device environment.

### How do I tell my AI agent to start using these tools?

You can ask your agent to audit a specific component for WCAG compliance, verify the contrast of a color pair using the provided script, or implement an accessible focus trap for a new modal dialog.

### How does this approach differ from a standard AI prompt for accessibility?

The skill enforces a native first approach, prioritizing standard HTML elements over complex ARIA attributes to prevent over engineered code that often confuses screen readers.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
