技能 accessibility-compliance-accessibility-audit

accessibility-compliance-accessibility-audit

安全

使用 WCAG 審核 Web 無障礙性

此技能協助開發人員使用自動化工具和手動測試進行全面的 WCAG 合規性審核,以識別無障礙障礙並提供修復指導。

支援: Claude Codex Code(CC)
📊 71 充足
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「accessibility-compliance-accessibility-audit」。 Run WCAG AA audit on example.com

預期結果:

Accessibility Audit Results: Score 72/100. Critical Issues: 3 (missing alt text, form labels). Serious Issues: 5 (contrast, focus indicators). Recommended fixes with code examples provided.

正在使用「accessibility-compliance-accessibility-audit」。 How do I fix keyboard trap in modal?

預期結果:

To fix keyboard trap: 1) Add Escape key handler to close modal. 2) Ensure focus returns to trigger element. 3) Trap focus within modal while open. See code example with React and ARIA.

安全審計

安全
v1 • 2/24/2026

Security review complete. All static findings are false positives. The skill provides legitimate accessibility testing examples using standard tools (axe-core, Puppeteer). No actual command injection, credential access, or malicious network requests present. Code examples are for local accessibility testing only.

2
已掃描檔案
548
分析行數
0
發現項
1
審計總數
未發現安全問題
審計者: claude

品質評分

38
架構
100
可維護性
85
內容
31
社群
100
安全
91
規範符合性

你能建構什麼

發布前無障礙性審核

在網站上線前執行全面的無障礙性審核,以確保符合 WCAG AA 標準並識別障礙。

修復指導

取得逐步修復特定無障礙性違規的指導,包含程式碼範例。

無障礙性教育

學習鍵盤導覽、螢幕閱讀器支援和包容性設計模式的最佳實踐。

試試這些提示

基本審核請求
Run a WCAG AA accessibility audit on my website at [URL]. Identify the top issues and provide remediation steps.
詳細元件測試
Test the login form component for accessibility. Check for proper labels, keyboard navigation, error handling, and screen reader announcements.
修復計畫
I have [specific accessibility issue]. Provide detailed code examples to fix this using React and ARIA attributes.
CI/CD 整合
Create a GitHub Actions workflow to run automated accessibility tests on every pull request using axe-core.

最佳實務

  • 始終使用真實輔助技術進行測試,而非僅依賴自動化工具
  • 根據使用者影響優先排序修復(嚴重 > 重大 > 中等 > 輕微)
  • 在程式碼註解中記錄無障礙性決策和理由
  • 將無障礙性測試納入 CI/CD 管線

避免

  • 僅依賴自動化工具而不進行手動測試
  • 僅使用顏色作為傳達資訊的唯一方式
  • 設定 tabindex > 0 會破壞邏輯導覽順序
  • 在不理解 ARIA 屬性含義的情況下添加

常見問題

我應該設定什麼 WCAG 等級為目標?
WCAG AA 是大多數法律要求的最低標準。AAA 提供更高的無障礙性,但可能無法適用於所有內容。
此技能能否保證法律合規性?
不能。此技能僅提供技術指導。法律合規性取決於管轄區域、特定要求和人類判斷。
自動化測試的準確度如何?
自動化工具僅能檢測 30-40% 的無障礙性問題。使用鍵盤和螢幕閱讀器進行的手動測試至關重要。
這適用於單頁應用程式嗎?
可以。此技能涵蓋 SPA 測試,但您可能需要分別測試每個視圖和狀態。
此技能使用什麼工具?
此技能參考 axe-core、Puppeteer、jest-axe 和 pa11y 進行自動化測試,並輔以手動檢查清單。
我可以測試行動應用程式嗎?
此技能專注於 Web 無障礙性。行動裝置測試需要不同的工具和方法。