Token导航 LogoToken导航

Agent Skill · 研究检索

web-accessibility-audit(网络可访问性审核)

用于辅助无障碍访问检查、页面可用性审计和前端可访问性改进。它适合让 Agent 检查语义标签、键盘操作、颜色对比、ARIA 属性和自动化检测结果。使用时需要结合真实页面和浏览器验证,不应只依赖静态文本判断;涉及修复建议时,应兼顾设计系统、组件复用和 WCAG 等通用无障碍规范。

web-accessibility-audit 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 58,684。

总安装 408周安装 17GitHub Stars 97下载 136核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:web-accessibility-audit(网络可访问性审核)
来源仓库:https://github.com/warpdotdev/oz-skills
仓库路径:skills/web-accessibility-audit
安装命令:
npx skills add https://github.com/warpdotdev/oz-skills --skill web-accessibility-audit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/warpdotdev/oz-skills --skill web-accessibility-audit

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助无障碍访问检查、页面可用性审计和前端可访问性改进。适合检查语义标签、键盘操作、颜色对比、ARIA 属性和自动化检测结果。使用时需结合真实页面和浏览器验证,不应仅依赖静态文本判断;修复建议应兼顾设计系统与 WCAG 规范。

安装命令:npx skills add https://github.com/warpdotdev/oz-skills --skill web-accessibility-audit。当前维护状态未知,建议核对仓库活跃度与权限边界后再使用。

来源仓库内路径:skills/web-accessibility-audit

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/warpdotdev/oz-skills --skill web-accessibility…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

web-accessibility-audit 怎么安装?

在终端执行 npx skills add https://github.com/warpdotdev/oz-skills --skill web-accessibility-audit。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

web-accessibility-audit 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

web-accessibility-audit 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

web-accessibility-audit 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

web-accessibility-audit 用的人多吗?

公开数据是累计安装 408 次,近一周安装 17 次,下载 136 次,GitHub 97 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

web-accessibility-audit 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
web-accessibility-audit

网络可访问性审核 · 本页

40897需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Accessibility Auditor

Audit web applications for WCAG 2.0/2.1/2.2 compliance by identifying common violations and providing actionable remediation steps.

When to Use

  • User requests accessibility audit, a11y check, or WCAG compliance review
  • User mentions accessibility issues, screen readers, or keyboard navigation problems
  • User asks to check or improve accessibility for people with disabilities

WCAG Principles: POUR

PrincipleDescription
PerceivableContent can be perceived through different senses
OperableInterface can be operated by all users
UnderstandableContent and interface are understandable
RobustContent works with assistive technologies

Conformance Levels

LevelRequirementTarget
AMinimum accessibilityMust pass
AAStandard complianceShould pass (legal requirement in many jurisdictions)
AAAEnhanced accessibilityNice to have

12 Most Common WCAG Violations

Based on WebAIM Million (2021) research analyzing top 1M websites:

  1. Low Color Contrast (WCAG 1.4.3) - 86.4% of sites

- Text < 4.5:1 contrast ratio - Large text < 3:1 contrast ratio - UI components < 3:1

  1. Missing/Inadequate Alt Text (WCAG 1.1.1) - 60.6% of sites

- Images without alt attribute - Alt text with "image", "picture", "photo" - Empty alt on meaningful images

  1. Missing Name, Role, or Value (WCAG 4.1.2)

- Interactive elements without accessible names - Custom components without proper ARIA - Buttons, form fields, custom widgets

  1. Keyboard Navigation Failures (WCAG 2.1.1)

- Elements with onClick but not keyboard accessible - Missing focus indicators - Trapped keyboard focus

  1. Unlabeled Form Controls (WCAG 1.3.1, 3.3.2) - 39.6% of sites

- Inputs without <label> or aria-label - Labels not programmatically associated

  1. Missing Language Attributes (WCAG 3.1.1) - 28.9% of sites

- No lang attribute on <html> - Missing lang for foreign language passages

  1. Improper Heading Structure (WCAG 1.3.1, 2.4.6)

- Skipped heading levels (h1 → h3) - Multiple h1s or no h1 - Empty headings

  1. Empty Links or Poor Link Text (WCAG 2.4.4)

- Links with "click here", "here", "read more" - Empty links or links with only icons

  1. Missing/Improper Focus Indicators (WCAG 2.4.7)

- CSS removing outline without replacement - Insufficient focus indicator contrast

  1. Overuse/Misuse of ARIA (WCAG 4.1.2)

- Unnecessary ARIA when native HTML works - Invalid ARIA attributes for roles - Required ARIA attributes missing

  1. Inadequate Data Table Markup (WCAG 1.3.1)

- Tables without <th> elements - Missing scope or headers attributes

  1. Missing Media Captions (WCAG 1.2.1, 1.2.2)

- Videos without captions/subtitles - Audio without transcripts


Audit Process

Phase 1: Automated Testing

Run ESLint (React/JSX projects):

npx eslint --ext .jsx,.tsx --no-ignore --format json . > .claude/skills/a11y-auditor/eslint-results.json 2>&1 || true

Or use helper script: .claude/skills/a11y-auditor/scripts/run-eslint.sh

Run Lighthouse (production/staging):

npx lighthouse https://example.com --only-categories=accessibility --output=json --output-path=./lighthouse-results.json

Check for axe-core integration:

grep -r "@axe-core\|axe-core" package.json

Phase 2: Manual Code Inspection

Use grep patterns from references/grep-patterns.md to search for:

  • Missing alt text
  • Keyboard navigation issues
  • Color values for contrast checking
  • ARIA issues
  • Form labels
  • Heading structure
  • Language attributes
  • Poor link text
  • Media elements

See references/grep-patterns.md for complete pattern list.

Phase 3: Analyze & Prioritize

Group findings by severity using WCAG impact levels:

Critical (fix immediately):

  • Keyboard traps
  • No focus indicators
  • Missing form labels
  • Missing alt text on functional images
  • Insufficient color contrast on interactive elements

Serious (fix before launch):

  • Missing page language
  • Improper heading structure
  • Non-descriptive link text
  • Missing skip links
  • Auto-playing media

Moderate (fix soon):

  • Missing ARIA labels on icons
  • Inconsistent navigation
  • Missing error identification
  • Missing landmark regions

Phase 4: Manual Testing

Follow references/screen-reader-guide.md for:

  • Keyboard navigation testing
  • Screen reader testing (VoiceOver, NVDA, JAWS)
  • Zoom and reflow testing
  • High contrast mode testing
  • Reduced motion testing

WCAG Pattern Examples

Perceivable

Alt Text (1.1.1)
<!-- ❌ Missing alt -->
<img src="chart.png">

<!-- ✅ Descriptive alt -->
<img src="chart.png" alt="Bar chart showing 40% increase in Q3 sales">

<!-- ✅ Decorative (empty alt) -->
<img src="decorative-border.png" alt="" role="presentation">
Color Contrast (1.4.3)
/* ❌ Low contrast (2.5:1) */
.low-contrast {
  color: #999;
  background: #fff;
}

/* ✅ Sufficient contrast (7:1) */
.high-contrast {
  color: #333;
  background: #fff;
}

Contrast requirements:

  • Normal text: 4.5:1 (AA), 7:1 (AAA)
  • Large text (18px+ or 14px+ bold): 3:1 (AA), 4.5:1 (AAA)
  • UI components: 3:1
Media Alternatives (1.2)
<video controls>
  <source src="video.mp4" type="video/mp4">
  <track kind="captions" src="captions.vtt" srclang="en" label="English" default>
</video>

Operable

Keyboard Navigation (2.1.1)
// ❌ Only click
element.addEventListener('click', handleAction);

// ✅ Click + keyboard
element.addEventListener('click', handleAction);
element.addEventListener('keydown', (e) => {
  if (e.key === 'Enter' || e.key === ' ') {
    e.preventDefault();
    handleAction();
  }
});
Focus Visible (2.4.7)
/* ❌ Never remove focus */
*:focus { outline: none; }

/* ✅ Keyboard-only focus */
:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}
Skip Links (2.4.1)
<body>
  <a href="#main-content" class="skip-link">Skip to main content</a>
  <header><!-- navigation --></header>
  <main id="main-content" tabindex="-1">
    <!-- content -->
  </main>
</body>
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}
Reduced Motion (2.3.3)
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

Understandable

Page Language (3.1.1)
<!-- ❌ No language -->
<html>

<!-- ✅ Language specified -->
<html lang="en">

<!-- ✅ Language changes -->
<p>The French word for hello is <span lang="fr">bonjour</span>.</p>
Form Labels (3.3.2)
<!-- ❌ No label -->
<input type="email" placeholder="Email">

<!-- ✅ Explicit label -->
<label for="email">Email address</label>
<input type="email" id="email" autocomplete="email">

<!-- ✅ With hint -->
<label for="password">Password</label>
<input type="password" id="password" aria-describedby="password-requirements">
<p id="password-requirements">
  Must be at least 8 characters with one number.
</p>
Error Handling (3.3.1)
<label for="email">Email</label>
<input type="email" id="email"
       aria-invalid="true"
       aria-describedby="email-error">
<p id="email-error" role="alert">
  Please enter a valid email address.
</p>

Robust

ARIA Usage (4.1.2)
<!-- ❌ Unnecessary ARIA -->
<button role="button">Submit</button>

<!-- ✅ Native HTML -->
<button>Submit</button>

<!-- ✅ ARIA when needed (custom tabs) -->
<div role="tablist" aria-label="Product information">
  <button role="tab" aria-selected="true" aria-controls="panel-1">
    Description
  </button>
  <button role="tab" aria-selected="false" aria-controls="panel-2" tabindex="-1">
    Reviews
  </button>
</div>
<div role="tabpanel" id="panel-1" aria-labelledby="tab-1">
  <!-- content -->
</div>
Live Regions (4.1.3)
<!-- Polite (waits for pause) -->
<div aria-live="polite" aria-atomic="true">
  Status update
</div>

<!-- Assertive (interrupts) -->
<div role="alert" aria-live="assertive">
  Error: Form submission failed
</div>
Visually Hidden Text
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
<button>
  <svg aria-hidden="true"><!-- icon --></svg>
  <span class="visually-hidden">Delete item</span>
</button>

Output Format

Generate reports structured as:

# Accessibility Audit Report

## Summary
- Total Issues: X
- Critical: X | Serious: X | Moderate: X | Minor: X
- WCAG Level: A, AA, or AAA
- Automated Coverage: ~57% (manual testing required)

## Critical Issues (Fix Immediately)

### 1. [Issue Name] - WCAG X.X.X
**Severity:** Critical
**Impact:** [Who is affected and how]
**Affected:** X elements

**Locations:**
- `path/to/file.tsx:123`
- `path/to/file.tsx:456`

**Problem:**
[Brief description]

**Fix:**

// Before <div onClick={handleClick}>Click me</div>

// After <button onClick={handleClick}>Click me</button>


**Why:** [Accessibility principle]

---

## Serious Issues

[Same format]

## Moderate Issues

[Same format]

## Testing Recommendations

1. Manual keyboard testing (Tab, Enter, Escape)
2. Screen reader testing (see references/screen-reader-guide.md)
3. Automated testing setup (@axe-core/react or Lighthouse CI)
4. Color contrast validation (WebAIM Contrast Checker)

## Next Steps

[Prioritized action items]

Tools & Resources

Development Tools

  • eslint-plugin-jsx-a11y - React/JSX static analysis (~37 rules)
  • axe-core DevTools - Browser extension for runtime testing
  • Lighthouse - Built into Chrome DevTools

Testing Tools

  • @axe-core/react - Runtime accessibility testing
  • @axe-core/playwright - E2E test integration
  • pa11y - Automated command-line testing

Manual Testing

  • WebAIM Contrast Checker - https://webaim.org/resources/contrastchecker/
  • WAVE - Browser extension for visual feedback
  • Screen readers - NVDA (Windows), VoiceOver (macOS), JAWS

Reference Docs

  • references/WCAG-criteria.md - All WCAG 2.1 success criteria
  • references/ARIA-patterns.md - Common ARIA patterns and examples
  • references/screen-reader-guide.md - Testing commands and scenarios
  • references/grep-patterns.md - Search patterns for code audits

References


Important Notes

  • Automated tools catch 30-57% of issues; manual testing required
  • Pages with ARIA average 41% more errors than without
  • Always test with actual assistive technology when possible
  • Focus on critical issues first (keyboard, screen readers, contrast)
  • Document deliberate accessibility decisions
  • Test on multiple browsers and devices
  • Include users with disabilities in testing when possible

Common Pitfalls to Avoid

  1. Relying solely on automated testing
  2. Using ARIA when native HTML suffices
  3. Removing focus indicators
  4. Using positive tabindex values
  5. Color as only means of conveying information
  6. Keyboard traps in modals/dialogs
  7. Non-descriptive link text
  8. Missing or incorrect heading hierarchy
  9. Unlabeled form controls
  10. Missing language attributes

平台分布

Codex

36.33%
按下载量换算49

Claude

32.45%
按下载量换算44

Cursor

18.09%
按下载量换算25

Gemini CLI

8.63%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills