Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Wcag22 Reference

ASecurity

Use when implementing or auditing accessibility on Web, iOS, or Android. Covers WCAG 2.2 success criteria (numbers, names, levels), contrast ratios, target sizes, and the cross-platform mapping for labels, hints, roles, and live regions.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsgoswiftkotlin

Works with

cli

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add Mixard/fable-pack --skill wcag22-reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wcag22 Reference?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Wcag22 Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mixard-wcag22-reference/badge)](https://www.skillsdirectory.com/skills/mixard-wcag22-reference)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: wcag22-reference
description: Use when implementing or auditing accessibility on Web, iOS, or Android. Covers WCAG 2.2 success criteria (numbers, names, levels), contrast ratios, target sizes, and the cross-platform mapping for labels, hints, roles, and live regions.
---

# WCAG 2.2 Reference

## Key Success Criteria and Thresholds

| SC | Name | Level | Threshold / rule |
|----|------|-------|------------------|
| 1.4.3 | Contrast (Minimum) | AA | Text 4.5:1; large text (18pt / 14pt bold and up) 3:1 |
| 1.4.11 | Non-text Contrast | AA | UI components and graphical objects 3:1 |
| 1.4.10 | Reflow | AA | Content usable at 400% zoom (320 CSS px width) without 2D scrolling |
| 2.1.2 | No Keyboard Trap | A | Focus must be escapable (Escape key or explicit close) |
| 2.5.7 | Dragging Movements | AA | Every drag action needs a single-pointer alternative |
| 2.5.8 | Target Size (Minimum) | AA | 24x24 CSS px minimum (new in 2.2); platform HIGs recommend 44x44pt (iOS) / 48x48dp (Android) |
| 3.2.6 | Consistent Help | A | Help mechanisms appear in the same relative order across pages (new in 2.2) |
| 3.3.3 | Error Suggestion | AA | Errors described in text with correction suggestions |
| 3.3.7 | Redundant Entry | A | Do not ask for the same data twice in one process (new in 2.2) |
| 3.3.8 | Accessible Authentication (Minimum) | AA | No cognitive test (e.g. transcription, puzzle) without alternative (new in 2.2) |
| 4.1.2 | Name, Role, Value | A | Custom controls expose name, role, state to the accessibility tree |

Focus-related criteria new in 2.2: 2.4.11 Focus Not Obscured (Minimum, AA), 2.4.12 Focus Not Obscured (Enhanced, AAA), 2.4.13 Focus Appearance (AAA). Note: 4.1.1 Parsing was removed in WCAG 2.2.

## Cross-Platform Mapping

| Feature | Web (HTML/ARIA) | iOS (SwiftUI) | Android (Compose) |
|---------|-----------------|---------------|-------------------|
| Primary label | `aria-label` / `<label>` | `.accessibilityLabel()` | `contentDescription` |
| Secondary hint | `aria-describedby` | `.accessibilityHint()` | `Modifier.semantics { stateDescription = ... }` |
| Action role | `role="button"` | `.accessibilityAddTraits(.isButton)` | `Modifier.semantics { role = Role.Button }` |
| Live updates | `aria-live="polite"` | no live-region modifier: `.accessibilityAddTraits(.updatesFrequently)` for continuously changing values, `AccessibilityNotification.Announcement(text).post()` (iOS 17+) or `UIAccessibility.post(notification: .announcement, argument:)` for one-off announcements | `Modifier.semantics { liveRegion = LiveRegionMode.Polite }` |

## Platform Snippets

Web icon-only button inside a search form:

```html
<form role="search">
  <label for="q" class="sr-only">Search products</label>
  <input type="search" id="q" />
  <button type="submit" aria-label="Submit search">
    <svg aria-hidden="true">...</svg>
  </button>
</form>
```

iOS:

```swift
Button(action: deleteItem) { Image(systemName: "trash") }
    .accessibilityLabel("Delete item")
    .accessibilityHint("Permanently removes this item from your list")
```

Android:

```kotlin
Switch(
    checked = isEnabled,
    onCheckedChange = { onToggle() },
    modifier = Modifier.semantics { contentDescription = "Enable notifications" }
)
```

## Gotchas

- Div-buttons: a `<div>` with a click handler needs `role="button"`, `tabindex="0"`, and Enter/Space key handling; prefer `<button>`.
- Color-only meaning fails 1.4.1: pair color changes (e.g. red border) with text or an icon.
- Modals: trap focus while open, release to the trigger element on close; dropdowns and menus likewise restore focus to their trigger.
- Alt text: never prefix with "Image of" or "Picture of" -- screen readers already announce the role.
- Focus indicators need 3:1 contrast against adjacent colors (1.4.11 applies to focus rings).

Attribution

MixardMixard
View sourceMore from Mixard →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →