Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
affaan-m avatar

Accessibility

  • 4k installs
  • 236k repo stars
  • Updated July 29, 2026
  • affaan-m/everything-claude-code

How to design, implement, and audit inclusive digital interfaces meeting WCAG 2.2 Level AA standards on web, iOS, and Android.

About

This skill ensures digital interfaces meet WCAG 2.2 Level AA accessibility standards by implementing the POUR principle (Perceivable, Operable, Understandable, Robust) across web, iOS, and Android platforms. Developers use it to design semantic UI component specifications, audit existing code for accessibility barriers and compliance gaps, and implement new WCAG 2.2 criteria including target size minimums and focus appearance standards. The workflow maps high-level design requirements to technical attributes (ARIA roles, traits, hints on web; accessibility traits and labels on native platforms) while ensuring keyboard navigation, screen reader compatibility, focus management, and proper labeling. Key implementations include semantic HTML/native elements over custom roles, 24x24px minimum target sizes, 4.5:1 text contrast ratios, visible focus indicators, and focus containment in modals. WCAG 2.2 Level AA compliance across web (HTML/ARIA), iOS (SwiftUI traits), and Android (Compose semantics).

  • WCAG 2.2 Level AA compliance across web (HTML/ARIA), iOS (SwiftUI traits), and Android (Compose semantics)
  • Semantic element mapping, focus management, and accessibility tree implementation for screen readers and assistive techn
  • Minimum 24x24 CSS pixel target sizes, 4.5:1 text contrast, and visible focus indicators per WCAG 2.2 SC 2.5.8 and SC 2.4
  • Cross-platform labeling patterns: aria-label/label on web, accessibilityLabel on iOS, contentDescription on Android
  • Anti-patterns guide covering div buttons, color-only semantics, unfocused modals, and redundant alt text

Accessibility by the numbers

  • 4,047 all-time installs (skills.sh)
  • +329 installs in the week ending Jul 29, 2026 (Skillselion tracking)
  • Ranked #116 of 2,244 Frontend Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
At a glance

accessibility capabilities & compatibility

Capabilities
wcag 2.2 compliance mapping · semantic html/aria implementation · cross platform accessibility trait generation (w · focus management and keyboard navigation · accessibility audit and remediation guidance · anti pattern detection · screen reader testing guidance
Works with
figma · github
Use cases
ui design · web design · code review · testing · documentation
Platforms
macOS · Windows · Linux
IDEs
vscode · cursor ide · jetbrains
Runs
Runs locally
From the docs

What accessibility says it does

WCAG 2.2 レベル AA 標準を用いてインクルーシブなデジタルプロダクトを設計・実装・監査します
SKILL.md - description
フォーカスをトラップしないモーダルで、キーボードユーザーがモーダル開放中に背景コンテンツをナビゲートできてしまう
SKILL.md - Anti-patterns
npx skills add https://github.com/affaan-m/everything-claude-code --skill accessibility

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4k
repo stars236k
Security audit3 / 3 scanners passed
Last updatedJuly 29, 2026
Repositoryaffaan-m/everything-claude-code

What it does

Implement WCAG 2.2 Level AA accessibility standards across web, iOS, and Android platforms to ensure inclusive digital interfaces.

Who is it for?

Frontend developers building web and native applications who need to implement WCAG 2.2 compliance and support assistive technology users.

Skip if: Backend-only development, non-UI projects, or teams with dedicated accessibility specialists already embedded.

When should I use this skill?

Designing new UI components, auditing existing interfaces for accessibility barriers, implementing new WCAG 2.2 criteria, or mapping design requirements to technical accessibility attributes.

What you get

Developers ship accessible interfaces that meet WCAG 2.2 compliance, serve all users (including those using screen readers, switch control, keyboard navigation), and provide consistent cross-platform accessibility patter

  • WCAG 2.2 compliant UI component specifications
  • Accessible code implementations (HTML/ARIA, SwiftUI, Compose)
  • Accessibility audit report with remediation steps

By the numbers

  • WCAG 2.2 requires 4.5:1 text contrast ratio for normal text, 3:1 for large text or UI components
  • Minimum 24x24 CSS pixels target size (WCAG 2.2 SC 2.5.8) for web interactive elements
  • POUR principle: Perceivable, Operable, Understandable, Robust - foundation of all WCAG guidelines

Files

SKILL.mdMarkdownGitHub ↗

アクセシビリティ(WCAG 2.2)

このスキルは、スクリーンリーダー、スイッチコントロール、キーボードナビゲーションを使用するユーザーを含む、すべてのユーザーにとってデジタルインターフェースが知覚可能・操作可能・理解可能・堅牢(POUR)であることを保証します。WCAG 2.2 達成基準の技術的な実装に焦点を当てています。

使用タイミング

  • Web、iOS、Android 向け UI コンポーネント仕様の定義。
  • アクセシビリティの障壁やコンプライアンスのギャップについて既存コードを監査する。
  • Target Size(最小)や Focus Appearance など新しい WCAG 2.2 基準を実装する。
  • 高水準な設計要件を技術属性(ARIA ロール、トレイト、ヒント)にマッピングする。

コアコンセプト

  • POUR 原則: WCAG の基盤(知覚可能・操作可能・理解可能・堅牢)。
  • セマンティックマッピング: 汎用コンテナよりネイティブ要素を使用して組み込みのアクセシビリティを提供する。
  • アクセシビリティツリー: 支援技術が実際に「読み取る」UI の表現。
  • フォーカス管理: キーボード・スクリーンリーダーカーソルの順序と可視性を制御する。
  • ラベリングとヒント: aria-labelaccessibilityLabelcontentDescription を通じてコンテキストを提供する。

仕組み

ステップ 1: コンポーネントロールの特定

機能的な目的を決定します(例:これはボタンか、リンクか、タブか)。カスタムロールに頼る前に、利用可能な最もセマンティックなネイティブ要素を使用します。

ステップ 2: 知覚可能属性の定義

  • テキストのコントラストが 4.5:1(通常)または 3:1(大きいテキスト・UI)を満たすことを確認。
  • 非テキストコンテンツ(画像、アイコン)にテキスト代替を追加。
  • レスポンシブリフロー(機能を損なわずに最大 400% ズーム)を実装。

ステップ 3: 操作可能なコントロールの実装

  • 最小 24x24 CSS ピクセルのターゲットサイズを確保(WCAG 2.2 SC 2.5.8)。
  • すべてのインタラクティブ要素がキーボードで到達可能で、可視のフォーカスインジケーターを持つことを確認(SC 2.4.11)。
  • ドラッグ操作の単一ポインター代替手段を提供。

ステップ 4: 理解可能なロジックの確保

  • 一貫したナビゲーションパターンを使用。
  • 修正のための説明的なエラーメッセージと提案を提供(SC 3.3.3)。
  • 同じデータを二度求めないよう「冗長入力防止」(SC 3.3.7)を実装。

ステップ 5: 堅牢な互換性の検証

  • 正しい Name, Role, Value パターンを使用。
  • 動的なステータス更新のために aria-live またはライブリージョンを実装。

アクセシビリティアーキテクチャ図

flowchart TD
  UI["UI コンポーネント"] --> Platform{プラットフォーム?}
  Platform -->|Web| ARIA["WAI-ARIA + HTML5"]
  Platform -->|iOS| SwiftUI["アクセシビリティトレイト + ラベル"]
  Platform -->|Android| Compose["セマンティクス + コンテンツ説明"]

  ARIA --> AT["支援技術(スクリーンリーダー、スイッチ)"]
  SwiftUI --> AT
  Compose --> AT

クロスプラットフォームマッピング

機能Web (HTML/ARIA)iOS (SwiftUI)Android (Compose)
プライマリラベルaria-label / <label>.accessibilityLabel()contentDescription
セカンダリヒントaria-describedby.accessibilityHint()Modifier.semantics { stateDescription = ... }
アクションロールrole="button".accessibilityAddTraits(.isButton)Modifier.semantics { role = Role.Button }
ライブ更新aria-live="polite".accessibilityLiveRegion(.polite)Modifier.semantics { liveRegion = LiveRegionMode.Polite }

Web: アクセシブルな検索

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

iOS: アクセシブルなアクションボタン

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

Android: アクセシブルなトグル

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

避けるべきアンチパターン

  • Div ボタン: ロールとキーボードサポートを追加せずに <div><span> をクリックイベントに使用する。
  • 色のみの意味: エラーやステータスを色の変化_のみ_で示す(例:ボーダーを赤にする)。
  • モーダルフォーカスの未封じ込め: フォーカスをトラップしないモーダルで、キーボードユーザーがモーダル開放中に背景コンテンツをナビゲートできてしまう。フォーカスは封じ込め_かつ_Escape キーまたは明示的な閉じるボタンで脱出可能でなければならない(WCAG SC 2.1.2)。
  • 冗長な代替テキスト: alt テキストに「Image of...」や「Picture of...」を使用する(スクリーンリーダーはすでに「画像」というロールをアナウンスする)。

ベストプラクティスチェックリスト

  • [ ] インタラクティブ要素が 24x24px(Web)または 44x44pt(ネイティブ)のターゲットサイズを満たしている。
  • [ ] フォーカスインジケーターが明確に見え、高コントラストである。
  • [ ] モーダルは開いている間フォーカスを封じ込め、閉じる際にクリーンに解放する(Escape キーまたは閉じるボタン)。
  • [ ] ドロップダウンとメニューは閉じる際にトリガー要素にフォーカスを戻す。
  • [ ] フォームはテキストベースのエラー提案を提供する。
  • [ ] アイコンのみのボタンには説明的なテキストラベルがある。
  • [ ] テキストが拡大縮小されるとコンテンツが適切にリフローする。

参考資料

関連スキル

  • frontend-patterns
  • design-system
  • liquid-glass-design
  • swiftui-patterns

Related skills

Forks & variants (1)

Accessibility has 1 known copy in the catalog totaling 1.4k installs. They canonicalize to this original listing.

FAQ

What is the minimum target size for interactive elements?

Web: 24x24 CSS pixels (WCAG 2.2 SC 2.5.8). Native: 44x44 points (iOS/Android). Larger targets improve usability for all users, especially those with motor control difficulties.

How do I implement focus management in modals?

Contain focus within the modal while open, prevent background navigation, and provide clear Escape key or close button for exit. Return focus to the triggering element when modal closes.

When should I use ARIA roles vs. native semantic elements?

Prefer native elements (button, link, form inputs) for built-in accessibility. Use ARIA only when no native element suits the component's purpose, combined with proper role, state, and property attributes.

Is Accessibility safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.