‹ 首页

a11y-fixes

@gaia-react · 收录于 1 周前

Resolve axe-core accessibility violations reported by Vitest (test/a11y.ts), Playwright (.playwright/a11y.ts), or the code-review-audit agent's a11y bucket. Trigger on any axe rule id appearing in test output, not only the ones named here. Contains fix patterns for the most common violations (color-contrast, label, label-title-only, image-alt, button-name, link-name, region, landmark-one-main, heading-order, aria-allowed-attr, aria-required-attr, aria-required-children, aria-required-parent, aria-valid-attr-value, focus-trap, tabindex, html-has-lang, document-title, duplicate-id, listitem, definition-list); for any violation not listed, apply the general axe guidance and the same fix-then-verify loop.

适合你,如果需要在测试或审查中自动修复 axe-core 无障碍违规。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add gaia-react/gaia/a11y-fixes
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- gaia-react/gaia/a11y-fixes
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify gaia-react/gaia/a11y-fixes
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
19GitHub stars
~2.1K上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。