setup-accessibility
БесплатноЗапускает вложенные скриптыНе проверенEnforce ARIA accessibility via PostToolUse hooks -- labels, keyboard handlers, widget attributes, Playwright AXE setup. Use when setting up a11y enforcement…
от redpanda-data★ 34 звезды на GitHubОб этом скилле
Accessibility Enforcement
What This Catches
<img>withoutalt-- usealt=""for decorative img- Mouse-only
onClickon<div>/<span>-- needsrole+tabIndex+onKeyDown/onKeyUp - Missing ARIA on widget roles --
role="combobox"needsaria-expanded+aria-controls,role="dialog"needsaria-label/aria-labelledby,role="tablist"needs childrole="tab"
Escape hatch: // allow: a11y-skip [reason]
No Nested Pressables
Interactive components ONE pattern -- never both:
Pattern A: Container clickable -- no interactive children.
<ListCard onClick={handleSelect}>
<Avatar src={user.avatar} />
<Text>{user.name}</Text>
<ChevronRightIcon /> {/* visual indicator only, not a button */}
</ListCard>
Pattern B: Children interactive -- container not clickable.
<ListCard>
<Avatar src={user.avatar} />
<Text>{user.name}</Text>
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button variant="ghost" size="icon"><MoreVerticalIcon /></Button>
</DropdownMenuTrigger>
</DropdownMenu>
</ListCard>
Why: ambiguous click targets, event bubbling bugs, screen readers can't convey interaction model, touch targets overlap on mobile.
Visual Checklist
- Focus rings visible on all interactive elements (min 2px, contrasting color)
- Hover and focus styles match (no mouse-only affordances)
- Color not sole means of conveying info
- Touch targets min 44x44 CSS pixels
-
prefers-reduced-motionrespected for animations -
forced-colors/ high-contrast mode: usecurrentcolorfor SVG fills - Text resizable to 200% without content loss
Initial setup (install, AXE fixture, hook config): see SETUP.md.
Установить setup-accessibility в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл setup-accessibility?
Enforce ARIA accessibility via PostToolUse hooks -- labels, keyboard handlers, widget attributes, Playwright AXE setup. Use when setting up a11y enforcement, WCAG 2.1 AA compliance, or accessibility testing.
Как установить скилл setup-accessibility?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл setup-accessibility запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic