本文へスキップ
Skillpedia
テスト75k · #2708

accessibility-testing

できること

このスキルは、Webサイトのテストとビルドの流れに自動のアクセシビリティチェックを加える方法を示します。問題を早く見つけ、同じ問題が繰り返されないようにしたい開発者向けです。

使う場面

  • ✓繰り返し実行できるアクセシビリティチェックが必要な、コンポーネントライブラリやページの流れをレビューしているとき。
  • ✓チームが、継続的インテグレーションにアクセシビリティのテストを加えたいとき。
  • ✓自動テストでは見つけられない問題が何かを知る必要があるとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/accessibility-testing/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/accessibility-testing/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のコンポーネントと当社のチェックアウトページに、自動のアクセシビリティテストを追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、jest-axeやaxe-coreなどのツールを使って、コンポーネントとページの問題をスキャンし、そのスキャンをテストの流れの一部として実行します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Include accessibility testing

Automated accessibility testing catches 30-50% of WCAG violations before code reaches users—reducing legal risk and improving usability for everyone.

Quick Reference

  • Use jest-axe for component-level accessibility testing
  • Integrate @axe-core/playwright or cypress-axe for E2E a11y tests
  • Run accessibility tests in CI/CD to catch regressions early
  • Test specific WCAG rules like color-contrast individually

Check

Review this test suite for accessibility testing coverage using axe-core, jest-axe, or similar tools.

Fix

Add automated accessibility testing to detect WCAG violations in components and pages.

Explain

Explain how to implement automated accessibility testing and what issues it can detect.

Code Review

Inspect component tests, E2E suites, and CI workflows for automated accessibility coverage. Flag critical pages or shared components that ship without axe-based checks, and note issues that still require manual keyboard or screen reader validation.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/testing/accessibility-testing

よくある質問

自動テストで、アクセシビリティの問題はすべて見つかりますか?

いいえ。構造と属性の問題は見つけられますが、キーボードやスクリーンリーダーの確認には人の目が必要だと、このスキルは説明しています。

どのツールが挙げられていますか?

コンポーネント用のjest-axeと、ページ全体のテスト用のPlaywrightまたはCypressと組み合わせたaxe-coreが挙げられています。

このテストは、変更のたびに実行すべきですか?

はい。回帰を早く見つけるため、CI/CDのパイプラインで実行することを勧めています。

詳細

作者による元の説明

Use when reviewing component libraries, page flows, or CI pipelines that need repeatable accessibility checks. Automated testing is strongest at catching structural and attribute-level issues; it does not replace keyboard, screen reader, and manual UX testing.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2708
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル