accessible-interactions
БесплатноБез исполняемых скриптовНе проверенKeyboard, focus, ARIA and reduced-motion rules for every interactive element in the ApplyPack dashboard (forms, tables, toggles, action buttons). Read before…
от applypack★ 36 звёзд на GitHubОб этом скилле
Accessible Interactions
The dashboard is server-rendered forms and tables. Accessibility here is mostly semantics and focus — get those right and there is little else to do.
Semantics first
- Actions are
<button>inside a<form method="post">(ActionForm+Buttoninui.tsx); navigation is<a>. Never a clickable<div>. - One
<h1>per page (PageHeader); section titles are<h2>(SectionTitle); heading levels never skip. Landmarks:header,nav(labelled "Primary", the catalog'slayout.primaryNav),main#main,sectionper card,footer. - A word a person reads or hears — an
aria-label, atitle, ansr-onlyspan — is a catalog message like any other (t(), ADR 0061). A name that is data (a company, a file, a language's own name) takestranslate="no", and text in another language than the page takes itslang. - Every input has a wired label — use
Field, which wraps the control in a<label>. Groups of checkboxes/radios sit in a<fieldset>with a<legend>. - Flash messages render with
role="status"(Flash). - Tables use
<th scope="col">(Table); numeric cells arefont-mono tabular-nums. - Status conveyed by text, never colour alone:
Badgeshows the word,FitBadgeshows the number plus a 4-step meter.
Focus
- Focus order = visual reading order.
- Focus ring:
:focus-visibleoutline in--accent, 2px offset, defined once inlayout.tsx. Never remove it on a control. - Skip link to
#mainis the first tabbable element (already inLayout). - Sticky header must not cover a focused control: add
scroll-margin-topwhen introducing in-page anchors.
Touch and pointer
- Minimum hit area 32px tall for buttons (
Buttonsetsmin-h-[32px]), 28px for checkbox labels. Nothing depends on hover. - Destructive actions confirm via
ActionForm confirm=— the browser dialog is keyboard-accessible by default; do not replace it with a custom modal.
Reduced motion
layout.tsx collapses all transitions under prefers-reduced-motion. Do
not add animations that carry meaning; the only motion is 150ms colour
transitions on hover.
Forms
- Correct input types (
type="search",type="url",type="date",type="number"with min/max) andautocomplete="off"on secrets. - Server-side validation errors come back as a flash; keep the user's input in the re-rendered form.
Definition of accessible-done
Keyboard-only walkthrough of the changed page; 375px viewport has no
horizontal scroll outside a table's own overflow-x-auto; browser console
has zero errors.
Установить accessible-interactions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл accessible-interactions?
Keyboard, focus, ARIA and reduced-motion rules for every interactive element in the ApplyPack dashboard (forms, tables, toggles, action buttons). Read before building or modifying any button, form, table or navigation.
Как установить скилл accessible-interactions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл accessible-interactions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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