Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

scanning-accessibility扫描辅助功能

Agent Skill

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

总安装

564

周安装

24

GitHub Stars

2,088

下载量

198
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:scanning-accessibility(扫描辅助功能)
来源仓库:https://github.com/jeremylongshore/claude-code-plugins-plus-skills
仓库路径:skills/scanning-accessibility
安装命令:
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill scanning-accessibility
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill scanning-accessibility

简介

scanning-accessibility 用于辅助无障碍访问检查和页面可用性审计。

  • 适合检查语义标签、键盘操作、颜色对比和 ARIA 属性。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 需结合真实页面验证,并兼顾 WCAG 规范与设计系统。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Accessibility Test Scanner

Overview

Validate web applications against WCAG 2.1/2.2 accessibility standards covering perceivability, operability, understandability, and robustness. Combines automated scanning with axe-core, Pa11y, and Lighthouse accessibility audits alongside manual validation checklists for keyboard navigation, screen reader compatibility, and color contrast.

Prerequisites

  • Accessibility testing library installed (axe-core, @axe-core/playwright, Pa11y, or Lighthouse CI)
  • Browser automation tool (Playwright or Puppeteer) for rendering pages
  • Application running and accessible at a test URL
  • Target WCAG conformance level defined (A, AA, or AAA -- AA is standard)
  • Color contrast analyzer (built into axe-core or standalone tool)

Instructions

  1. Configure the accessibility scanner with the target WCAG level:

- Set axe-core rules to WCAG 2.1 AA (or 2.2 AA for latest standard). - Include rules for ARIA attributes, color contrast, form labels, and heading structure. - Define pages and components to scan (homepage, forms, modals, navigation).

  1. Run automated accessibility scans on each page:

- Use @axe-core/playwright to scan after page load. - Run Pa11y for HTML-level validation. - Execute Lighthouse accessibility audit for a score and detailed findings. - Scan each major interactive state (modal open, dropdown expanded, error state).

  1. Validate keyboard navigation:

- Verify all interactive elements are reachable via Tab key in logical order. - Confirm focus indicators are visible on every focusable element. - Test Escape key closes modals and dropdowns. - Verify skip-to-content link is present and functional. - Check that focus is trapped within open modals (no focus escape).

  1. Validate ARIA implementation:

- Check all ARIA roles match the element's purpose (role="button" on clickable divs). - Verify aria-label or aria-labelledby on elements without visible text. - Confirm aria-live regions announce dynamic content changes. - Validate aria-expanded, aria-selected, and aria-checked states toggle correctly.

  1. Check color and visual accessibility:

- Verify text contrast ratio meets WCAG AA (4.5:1 for normal text, 3:1 for large text). - Ensure information is not conveyed by color alone (use icons, patterns, or text labels). - Test with simulated color blindness filters (protanopia, deuteranopia, tritanopia).

  1. Validate form accessibility:

- Every input has an associated <label> with matching for/id. - Error messages are announced via aria-describedby and aria-invalid. - Required fields are indicated with aria-required="true" and visual indicators.

  1. Generate a compliance report with WCAG success criteria references for each finding.

Output

  • Accessibility scan results with violations, passes, and incomplete checks
  • WCAG compliance matrix showing pass/fail per success criterion
  • Remediation checklist with code fixes for each violation
  • Keyboard navigation test results
  • Lighthouse accessibility score and improvement recommendations

Error Handling

ErrorCauseSolution
axe-core reports no violations but page is inaccessibleAutomated tools catch ~30-40% of issues; manual testing neededSupplement automated scans with keyboard and screen reader manual testing
Color contrast violation on dynamic themeTheme colors computed at runtime not captured by static scanRun scans with each theme active (light/dark); test with high-contrast mode
False positive on hidden contentScanner checks elements that are visually hidden but present in DOMUse axe.configure({rules: [{id: 'rule-id', selector: ':visible'}]})
ARIA role conflictsMultiple conflicting ARIA attributes on same elementRemove redundant roles; follow WAI-ARIA authoring practices for the component pattern
Focus order incorrect after dynamic contentDOM insertion order differs from visual orderUse tabindex to correct order; restructure DOM to match visual layout

Examples

Playwright + axe-core accessibility test:

import { test, expect } from '@playwright/test';
import AxeBuilder from '@axe-core/playwright';

test('homepage meets WCAG AA', async ({ page }) => {
  await page.goto('/');
  const results = await new AxeBuilder({ page })
    .withTags(['wcag2a', 'wcag2aa', 'wcag21aa'])
    .analyze();
  expect(results.violations).toEqual([]);
});

test('login form is keyboard accessible', async ({ page }) => {
  await page.goto('/login');
  await page.keyboard.press('Tab');
  const focused = await page.evaluate(() => document.activeElement?.getAttribute('data-testid'));
  expect(focused).toBe('email-input');
  await page.keyboard.press('Tab');
  const nextFocused = await page.evaluate(() => document.activeElement?.getAttribute('data-testid'));
  expect(nextFocused).toBe('password-input');
});

Pa11y CI configuration:

{
  "defaults": {
    "standard": "WCAG2AA",
    "timeout": 10000,  # 10000: 10 seconds in ms
    "wait": 1000  # 1000: 1 second in ms
  },
  "urls": [
    "http://localhost:3000/",  # 3000: 3 seconds in ms
    "http://localhost:3000/login",  # 3 seconds in ms
    "http://localhost:3000/dashboard",  # 3 seconds in ms
    { "url": "http://localhost:3000/settings", "actions": ["click element #tab-profile"] }
  ]
}

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.17%
按下载量换算68

Claude

33.36%
按下载量换算66

Cursor

18.65%
按下载量换算37

Gemini CLI

10.28%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills