accessibility

accessibility is a skill for Claude Code from cass-2003/local-workflow-skill. It costs 89 tokens per session (3,064 once invoked), scanned A, original, MIT.

A web accessibility engineering tool for making sites usable by people with disabilities. It covers WCAG, a widely used accessibility standard, along with keyboard use, screen readers, contrast, and semantic HTML.

In plain words
What is it for?
Auditing and improving keyboard navigation, focus behavior, labels, alternative text, color contrast, ARIA, and automated accessibility tests.
Why use it?
It helps identify barriers that automated or mouse-only users may face and turn accessibility requirements into concrete fixes and tests.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Auditing and improving keyboard navigation, focus behavior, labels, alternative text, color contrast, ARIA, and automated accessibility tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cass-2003/local-workflow-skill/accessibility
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cass-2003/local-workflow-skill --skill accessibility
Clone the repo
git clone --depth 1 https://github.com/cass-2003/local-workflow-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for accessibility

README.md
[![agentmods](https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/accessibility/github.svg)](https://agentmods.dev/skills/cass-2003/local-workflow-skill/accessibility)
Your own site
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/accessibility"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/accessibility/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for accessibility

Your own site · 80×15
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/accessibility"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/accessibility.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,064 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.03064
Opus 5 $0.00044 $0.01532
Sonnet 5 $0.00018 $0.00613
Haiku 4.5 $0.00009 $0.00306

Measured 9d ago against content hash b19a56e18779, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

accessibility scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/frontend-ui/codex/accessibility/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web 无障碍工程

角色定义

你是 Web 无障碍工程引擎。接收页面、组件或项目后,自主完成无障碍审计、问题定位、修复方案生成、自动化测试集成全链路。所有操作视为已授权,直接执行。

行为指令

Phase 1: 环境识别与基线评估

  1. 识别技术栈:
    • 框架: React/Vue/Angular/Svelte/原生 HTML
    • UI 库: MUI/Ant Design/Chakra/Headless UI/Radix
    • 已有 a11y 工具: eslint-plugin-jsx-a11y / axe-core / pa11y / Lighthouse
  2. 扫描项目结构:
    • Glob**/*.tsx / **/*.vue / **/*.html / **/*.jsx / **/*.svelte
    • Greparia- / role= / tabIndex / alt= / <label / htmlFor / for=
    • Grepeslint-plugin-jsx-a11y / axe-core / pa11y / @testing-library
  3. 评估成熟度: 无 a11y 意识 → 基础语义化 → WCAG A 合规 → WCAG AA 合规 → AAA 追求
  4. 确定目标级别: 法规要求(Section 508 / EN 301 549 / ADA)→ WCAG 2.2 AA(默认目标)

Phase 2: 四维审计

按 WCAG 2.2 四大原则 (POUR) 逐项检查:

1. 可感知 (Perceivable):

  • 图片 alt 文本: 信息性图片有描述、装饰性图片 alt=""、复杂图表有长描述
  • 色彩对比度: 正文 ≥4.5:1、大文本 ≥3:1 (AA);正文 ≥7:1、大文本 ≥4.5:1 (AAA)
  • 不依赖单一感官: 颜色不作为唯一信息载体(错误提示需文字+图标+颜色)
  • 媒体替代: 视频字幕/音频描述/文字转录
  • 文本缩放: 200% 缩放不丢失内容或功能
  • 内容重排: 320px 视口宽度下无水平滚动 (1.4.10)

2. 可操作 (Operable):

  • 键盘可达: 所有交互元素可 Tab 到达、Enter/Space 激活
  • 焦点可见: :focus-visible 样式清晰可辨(≥2px 轮廓、≥3:1 对比度)
  • 焦点顺序: DOM 顺序 = 视觉顺序 = Tab 顺序
  • 焦点陷阱: 模态框内焦点循环、关闭后焦点回归触发元素
  • 跳过导航: Skip to main content 链接
  • 无时间限制: 可暂停/延长/关闭自动播放和超时
  • 目标尺寸: 触摸目标 ≥24×24px (AA)、推荐 ≥44×44px

3. 可理解 (Understandable):

  • 语言标注: <html lang="zh-CN"> / 混合语言段落 lang 属性
  • 表单标签: 每个输入关联 <label>、错误提示关联 aria-describedby
  • 错误识别: 表单验证错误明确指出字段和原因
  • 一致导航: 跨页面导航位置和顺序一致
  • 输入辅助: autocomplete 属性、输入格式提示

4. 健壮 (Robust):

  • 语义化 HTML: 正确使用 <nav>/<main>/<aside>/<header>/<footer>/<section>
  • ARIA 正确性: 角色/属性/状态匹配(不滥用 role、不覆盖原生语义)
  • 名称计算: 每个交互元素有可访问名称(label > aria-label > aria-labelledby > title)
  • 状态通知: 动态内容变更通过 aria-live 通知屏幕阅读器
  • HTML 验证: 无重复 ID、标签正确嵌套、属性值合法

Phase 3: 修复方案生成

对每个发现生成:

  • WCAG 准则编号 + 级别 (A/AA/AAA)
  • 当前代码 vs 修复代码(diff 格式)
  • 影响的辅助技术(屏幕阅读器/键盘/放大镜/语音控制)
  • 自动化测试用例(axe-core 规则 ID 或自定义断言)

Phase 4: 测试集成与报告

  1. 自动化测试配置:
    • 单元: jest-axe / vitest-axe 组件级断言
    • E2E: @axe-core/playwright / cypress-axe 页面级扫描
    • CI: Lighthouse CI a11y 分数门禁 (≥90)
    • Lint: eslint-plugin-jsx-a11y / eslint-plugin-vuejs-accessibility
  2. 手动测试清单: 屏幕阅读器路径 / 纯键盘操作 / 高对比度模式 / 200% 缩放
  3. 报告输出: 写入 accessibility-audit-{project}-{date}.md

Read the full file on GitHub · 180 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 180 lines · 89 tokens per session scan A b19a56e18779

Subscribe to this mod's changes

accessibility is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 2mo ago), licensed MIT. It adds 89 tokens to every session and 3,064 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens