Token导航 LogoToken导航

Agent Skill · 前端设计

accessibility(无障碍)

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

accessibility 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 5,502。

总安装 659周安装 28GitHub Stars 16下载 231核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill accessibility

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

accessibility 用于辅助无障碍访问检查、页面可用性审计和前端可访问性改进,适合检查语义标签、键盘操作和 ARIA 属性。适用于网页可访问性规范和 WCAG 标准合规检查。通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。使用时需结合真实页面验证,不应只依赖静态文本判断。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/accessibility

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

accessibility 怎么安装?

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

accessibility 支持哪些 AI 工具?

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

accessibility 需要什么权限?

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

accessibility 是免费的吗?

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

accessibility 用的人多吗?

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

accessibility 安全吗?

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

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
accessibility

无障碍 · 本页

65916操作浏览器未明确有提醒

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

SKILL.md 原文

Web Accessibility

Accessibility is not a feature you bolt on at the end -- it is a quality attribute that must be considered from the first line of markup. Building accessible interfaces means that people with visual, motor, auditory, or cognitive disabilities can perceive, navigate, and interact with your application. It also means better usability for everyone: keyboard power users, people on slow connections, users with temporary injuries, and those in constrained environments.

Why Accessibility Matters

DimensionImpact
LegalLegislation in most jurisdictions (ADA, EAA, Section 508, EN 301 549) requires digital products to be accessible. Non-compliance carries litigation risk and financial penalties.
EthicalRoughly 16% of the global population lives with some form of disability. Excluding them from digital services is a choice, not an inevitability.
BusinessAccessible products reach a wider audience, improve SEO (structured content helps crawlers), reduce support costs, and correlate with higher overall usability scores.
Technical qualityAccessibility constraints force clean markup, proper semantics, and separation of concerns -- all of which improve maintainability.

WCAG Principles: POUR

The Web Content Accessibility Guidelines organize all success criteria under four principles. Every accessibility requirement maps to at least one.

PrincipleQuestion It AnswersExamples
PerceivableCan users sense the content?Text alternatives for images, captions for video, sufficient color contrast, resizable text
OperableCan users interact with every control?Keyboard operability, enough time to complete tasks, no seizure-triggering animations, clear navigation
UnderstandableCan users comprehend the content and UI behavior?Readable language, predictable navigation, input assistance and error messages
RobustDoes it work across assistive technologies?Valid markup, proper use of ARIA, compatibility with screen readers and other tools

Conformance Levels

WCAG defines three levels. Each higher level includes all criteria from the levels below it.

LevelTarget AudienceTypical Requirement
ABare minimum -- removes the most severe barriersMost legal and procurement requirements start here
AAIndustry standard -- addresses the majority of barriers for most usersRequired by ADA, EAA, Section 508, and most organizational policies
AAAHighest standard -- not always achievable for all content typesAspirational goal; apply selectively where feasible

For most projects, target Level AA. It covers the vast majority of real-world accessibility needs without imposing requirements that conflict with certain content types.


Semantic HTML Fundamentals

Native HTML elements carry built-in semantics, keyboard behavior, and screen reader announcements. Using the right element is the single most effective accessibility technique.

Instead OfUseWhy
<div onclick="..."><button>Buttons are focusable, announce their role, and respond to Enter and Space
<span class="link"><a href="...">Links announce as "link," support middle-click, and appear in link lists
<div class="header"><header>, <nav>, <main>, <footer>Landmark elements let screen reader users jump between page regions
<div class="list"><ul> / <ol> with <li>Lists announce item count and position ("item 3 of 7")
<div class="table"><table> with <th>Table headers associate data cells with their labels for screen readers
Styled <div> for input<input>, <select>, <textarea>Native form controls have label association, validation, and assistive tech support built in

Heading Hierarchy

Headings create an outline that screen reader users navigate like a table of contents. Follow these rules:

  • One <h1> per page that describes the page purpose
  • Never skip levels (do not jump from <h2> to <h4>)
  • Use headings for structure, not for visual styling -- CSS handles appearance

Common Accessibility Issues

IssueImpactFix
Missing alt text on imagesScreen readers announce the filename or nothingAdd descriptive alt; use alt="" for purely decorative images
Insufficient color contrastUsers with low vision cannot read textMeet 4.5:1 ratio for normal text, 3:1 for large text (AA)
No keyboard access to interactive elementsKeyboard and switch users are completely blockedUse native interactive elements or add tabindex="0" and key handlers
Missing form labelsScreen readers cannot announce what an input is forAssociate every input with a <label> using for/id or wrapping
Auto-playing mediaDisorienting for screen reader users, harmful for those with cognitive disabilitiesNever auto-play; if unavoidable, provide a visible pause/stop control
Missing skip linkKeyboard users must tab through the entire nav on every pageAdd a skip-to-main-content link as the first focusable element
No focus indicatorKeyboard users lose track of their position on the pageNever remove outline without providing a visible custom alternative
Missing page languageScreen readers may mispronounce contentSet lang attribute on <html> (e.g., lang="en")
Inaccessible dynamic contentScreen readers do not announce changes that happen after page loadUse ARIA live regions to announce dynamic updates
Missing document titleScreen reader users cannot identify the page when switching tabsSet a unique, descriptive <title> for every page
Touch targets too smallMotor-impaired users cannot reliably tap small controlsMinimum 24x24 CSS pixels (AA), prefer 44x44 for comfortable interaction
Motion and animationCan cause vestigo, nausea, or seizuresRespect prefers-reduced-motion media query; never flash more than 3 times per second

Accessible Forms

Forms are where accessibility failures cause the most real-world harm -- users cannot complete purchases, registrations, or critical workflows.

Label Association

Every form control needs a programmatically associated label:

<!-- Explicit association -->
<label for="email">Email address</label>
<input type="email" id="email" name="email" required>

<!-- Implicit association (wrapping) -->
<label>
  Email address
  <input type="email" name="email" required>
</label>

Error Handling

  • Display errors inline next to the relevant field, not only at the top of the form
  • Use aria-describedby to associate error messages with their input
  • Use aria-invalid="true" on fields that fail validation
  • Provide clear, specific error text ("Enter an email in the format name@example.com" not "Invalid input")

Required Fields

  • Mark required fields with required attribute (for native validation) or aria-required="true" (for custom validation)
  • Do not rely solely on color or an asterisk to indicate required status -- add text like "(required)"

Color and Contrast

Color must never be the only means of conveying information. Pair it with text, icons, patterns, or other visual cues.

Contrast ratios (WCAG AA):

ElementMinimum Ratio
Normal text (under 18pt / 14pt bold)4.5:1
Large text (18pt+ / 14pt+ bold)3:1
UI components and graphical objects3:1

Quick wins:

  • Test with browser developer tools (Chrome DevTools shows contrast ratios on hover)
  • Respect prefers-color-scheme for dark mode support
  • Test designs with simulated color blindness (protanopia, deuteranopia, tritanopia)

Reference Files

ReferenceContents
ARIA PatternsWhen to use ARIA, roles and properties, widget patterns (tabs, modals, accordions, dropdowns), live regions, landmark roles
Keyboard and FocusTab order, arrow key navigation, focus trapping, skip links, focus restoration, visible focus indicators, touch targets
Testing StrategiesAutomated tools, manual testing checklist, screen reader testing, contrast verification, accessibility tree, CI integration

Integration with Other Skills

SituationRecommended Skill
Building REST or GraphQL APIs with accessible error responsesInstall knowledge-virtuoso from krzysztofsurdy/code-virtuoso for API design guidance
Security headers that affect accessibility (CSP, iframe restrictions)Install knowledge-virtuoso from krzysztofsurdy/code-virtuoso for security patterns
Testing accessible components with unit and integration testsInstall knowledge-virtuoso from krzysztofsurdy/code-virtuoso for testing strategies
Performance optimization that does not sacrifice accessibilityInstall knowledge-virtuoso from krzysztofsurdy/code-virtuoso for performance guidance

平台分布

Codex

35.46%
按下载量换算82

Claude

29.84%
按下载量换算69

Cursor

19.69%
按下载量换算45

Gemini CLI

8.71%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills