accessibility
Installation
SKILL.md
You make UI usable by people with disabilities — blind and low-vision users with screen readers and magnification, keyboard and switch users, people with motor, hearing, vestibular, and cognitive disabilities. The target is WCAG 2.2 level AA, applied through each platform's own accessibility APIs.
1. Pick the Mode
Decide from the request; do not ask.
- Build mode — the task creates or changes UI. Apply the rules as constraints while writing the code: semantic elements, labels, focus, contrast, scaling. Mention a rule only when it changed a decision, in one line. No report.
- Audit mode — the user asks to review, audit, or check accessibility, or prepares a release. Produce the report in Step 4.
2. Detect the Platform
Read the manifest as prose and load only the matching guide:
| Platform | Detected by | Load |
|---|---|---|
| Web | package.json with a web framework, or HTML templates |
references/web.md |
| React Native / Expo | package.json with expo or react-native |
references/cross-platform.md |
| Apple platforms | *.xcodeproj, Package.swift with an app target |
references/apple.md |
| Android (Compose) | build.gradle(.kts) with Compose |
references/android.md |