Логотип Keyboard A11y Tester

Keyboard A11y Tester

Сообщество
ezufelt
keyboard-a11y-tester

Drive a real browser KEYBOARD-ONLY to test whether a keyboard-only person AND a screen-reader person can complete a task on a website, and report evidence-linked WCAG findings. Both personas run by default in one pass. Use when the user wants to test/audit a site with the keyboard, check keyboard navigation, focus order, focus visibility, keyboard traps, skip links, accessible names, screen-reader announcements, ARIA live regions, heading/landmark structure, or alt text — OR asks whether a keyboard-only or screen-reader user can complete a specific task ("visit X and find/do Y", "can a keyboard user submit the form", "would a screen reader announce this correctly"), OR to run a *.test.yaml case. Behaves like the W3C keyboard persona "Ade" and the W3C screen-reader persona "Lakshmi". Do NOT use for axe/Lighthouse-only rule scans, colour-contrast-only audits, or for driving a REAL screen reader (NVDA/VoiceOver) — the screen-reader checks here are ARIA/ACCNAME-tree emulation, not real assistive-tech automation.

Обзор

Издательezufelt
Репозиторийkeyboard-a11y-tester
Название навыкаkeyboard-a11y-tester
Звёзды
6
Форки
2
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — ezufelt. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Keyboard A11y Tester в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/ezufelt/keyboard-a11y-tester/tree/main/skills/keyboard-a11y-tester
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ezufelt/keyboard-a11y-tester.git /tmp/keyboard-a11y-tester
mkdir -p .claude/skills
cp -r /tmp/keyboard-a11y-tester/skills/keyboard-a11y-tester .claude/skills/keyboard-a11y-tester
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Keyboard A11y Tester в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Keyboard A11y Tester, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Keyboard A11y Tester не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Keyboard-only + screen-reader accessibility tester

You drive a real Chromium browser using only the keyboard and judge whether a keyboard-only person and a screen-reader person can accomplish a task, producing findings mapped to WCAG success criteria. A bundled script (scripts/runner.mjs) owns the mechanical work — driving keys, capturing state, and computing the deterministic checks for both personas. You are the judgment layer: you decide each keystroke by reading what happened, and you write the findings the rules can't (task completion, logical order, form quality, announcement quality).

Never call a mouse. If a control is only reachable/operable by pointer, that is a finding. The screen-reader checks never drive a real screen reader either — they emulate ARIA/ACCNAME-tree computation via @guidepup/virtual-screen-reader (see the "Screen-reader" section below and references/architecture.md), which augments but does not replace testing with real screen readers and real users.

Setup (check first, then ASK before installing)

All commands below run from the plugin's root directory (where package.json and scripts/ live — two levels up from this file, which lives in skills/keyboard-a11y-tester/). cd there first. Run the preflight, then install only what's missing — and ask the user first each time:

bash
node scripts/setup-check.mjs   # prints JSON: { deps_installed, browser_available, ... }
  1. If deps_installed is false: ask the user "Install this skill's npm dependencies (npm install)?" — run it only if they agree.
  2. Re-run the preflight (the browser can only be checked once deps exist). If browser_available is false: ask the user "Install the Playwright Chromium browser (npx playwright install chromium)?" — run it only if they agree. Do NOT ask about the browser when browser_available is already true — the preflight actually launches Chromium, so true means you already have access.

Never install without asking.

The core loop: observe → decide → act (this is the whole skill)

Work one keystroke at a time against a persistent browser session. After every keystroke, read the observation and decide the next key from what you actually see — never send a pre-counted sequence of Tabs. "Tab 6 times" is wrong; "Tab until the focused control is named X" is right.

  1. Start a session (keep it running in the background):

    bash
    node scripts/runner.mjs serve --url <https://site> --goal "<the task in plain words>" \
         --viewport desktop --port 9400
    # prints:  READY <session-dir>     (the session dir is under the system temp dir)

    --url runs against any site — no test file needed. (Optional: pass a saved <scenario>.test.yaml path instead of --url; see test-cases/TEMPLATE.test.yaml.) Run once per viewport (--viewport desktop, then --viewport mobile on a different --port). All output (trace, findings, screenshots) is written under a per-user temp directory — never into the skill/project folder. Override with --out <dir> if you want it elsewhere.

    By default BOTH personas run in the same pass (--persona all, the default). Restrict to one with --persona keyboard (today's behavior, no screen-reader data, no screen-reader-census.json) or --persona screen-reader (no pixel/focus-indicator work, no :focus-visible startup gate — irrelevant to a blind persona).

    If serve aborts with returned HTTP 403 — refusing to audit an error page, a CDN/WAF is blocking headless Chromium on its user-agent (very common on CloudFront/Cloudflare sites; the same URL loads fine in a headed browser). Retry with a headful UA — and tell the user you did:

    bash
    --user-agent 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36'

    Never work around the abort by auditing the error page — a blocked page has no focusable elements, so it reads as a keyboard trap and a landmark-less page, and every finding you'd write from it would be fiction.

    To test a page that requires login, pass --storage-state <file> with a saved Playwright storageState JSON (cookies + localStorage from an already-authenticated session). It's applied once when the session's browser launches, and the state stays alive for every step after that — no need to re-authenticate mid-session. A missing or invalid file fails immediately rather than silently testing the logged-out page.

  2. Observe / step. Each step performs ONE key and prints an observation: the focused element's accessible name / role / states, the URL, its computed focus style (has_outline/has_shadow), a screenshot path, and whether focus moved. When the screen-reader persona is active, it also includes sr_announcement: { focus_announcement, live_announcements, new_phrases } — what the emulated screen reader would say as a result of this keystroke.

    bash
    node scripts/runner.mjs observe <session-dir>              # current state, no keystroke
    node scripts/runner.mjs step <session-dir> --press Tab     # one key
    node scripts/runner.mjs step <session-dir> --press Enter
    node scripts/runner.mjs step <session-dir> --type "hello@example.com"   # type into focused field

    Allowed keys: Tab Shift+Tab Enter Space Escape ArrowUp ArrowDown ArrowLeft ArrowRight Home End. Read the screenshot with your Read tool when the AX name isn't enough to decide (e.g. which grid tile, is the focus ring actually visible against this background).

    Reading sr_announcement: live_announcements are entries that appeared without your keystroke being the direct cause of a focus-name change (e.g. you pressed Enter on a "Submit" button and a polite:-prefixed confirmation showed up) — that's strong evidence a status message IS reaching a screen reader (supports 4.1.3). If you take an action that visibly produces a confirmation/error on screen but no live_announcements entry appears, that's evidence the update is NOT announced — a real 4.1.3 problem worth writing up even beyond what the deterministic sr-live-region-silent check catches (that check only fires when NOTHING was ever announced all session; a region that fires for some updates but not others needs your judgment).

  3. Decide from the observation, e.g.:

    • navigate: step --press Tab repeatedly until focused.name matches your target, then act.
    • operate a control: Enter/Space to activate; arrows for menus/tabs/selects/radios; Escape to close a menu/dialog (and check focus returns sensibly).
    • fill a form: re-read each field's label before typing — forms reorder when they reveal conditional fields; match value→label, don't assume field order.
    • confirm success by state, not assumption (e.g. a filter button flipping to pressed:true, a URL change, a heading receiving focus, a visible confirmation).
  4. Finish & stop:

    bash
    node scripts/runner.mjs finish <session-dir>   # writes trace.json + deterministic-findings.json
    node scripts/runner.mjs stop <session-dir>     # closes the browser

What the deterministic layer gives you (from finish)

deterministic-findings.json — machine-decidable checks, each with url, locations (landmark

  • nearest heading), evidence (step ids or, for screen-reader findings, page selectors — see evidence_kind), confidence, severity, conformance_level, persona (keyboard/screen-reader):

Keyboard persona (per focus stop visited):

  • 2.4.7 (AA) focus indicator PRESENT on each stop (presence only — 2.4.7 sets no size bar).
  • 2.4.13 (AAA, informative) focus-appearance strength (area + 3:1 contrast). Advisory only.
  • 1.4.1 indicator not colour-only · 2.1.2 focus stalls (trap) · 2.4.1 skip link · 2.4.3 positive tabindex · 3.2.1 context change on focus · 3.3.2 file input named only by the UA default ("Choose File", no author label) · 4.1.2 missing accessible name.
  • 2.1.1 (page audit) element with a click/pointer handler plus cursor: pointer or inline onclick, but not keyboard-focusable and no interactive role — a mouse-only control (function failure, so it files under this profile).

Screen-reader persona (from the page-wide census + live announcements):

  • 1.1.1 images with no accessible name (missing alt/aria-label).
  • 1.3.1 heading-level skips, and duplicate unlabeled landmark roles.
  • 4.1.2 interactive controls whose whole announcement is a bare role (reading-order superset of the keyboard persona's Tab-reachable check — also catches arrow-key browse-mode-only controls).
  • 4.1.2 broken ARIA ID reference — aria-controls/aria-describedby/aria-details/ aria-errormessage pointing at an ID that resolves to no element.
  • 4.1.2 keyboard-focusable control absent from the accessibility-tree census (cross-checks the keyboard persona's Tab-reachable trace against this page's census — almost always aria-hidden="true" combined with a focusable tabindex).
  • 4.1.3 a declared live region (aria-live/role=status|alert|log|alertdialog) that never announced anything all session.
  • 1.1.1 (page audit, WCAG failure F3) interactive control whose only visual content is a CSS background image — element-level or ::before/::after — and whose accessible name is empty; the image never enters the accessibility tree, so its meaning is conveyed visually only.
  • 1.1.1 (page audit, WCAG failure F39 family) interactive control whose only content is an image explicitly suppressed from assistive tech (alt="" / role="presentation" / aria-hidden / unnamed svg) — "decorative" cannot be right for a nameless control's sole content.
  • 4.1.2 (page audit) keyboard-focusable, click-handled element with no interactive role — reachable, so not a function failure; what breaks is representation: announced as generic text, nothing guarantees Enter/Space work.
  • 4.1.2 (page audit) explicit ARIA role missing its required state attribute (checkbox without aria-checked, combobox without aria-expanded, slider without aria-valuenow).
  • 1.3.1 (batch mode, cross-viewport-findings.json, only when >1 viewport ran) a named interactive control present in one viewport's census but absent from another's for the same URL. Low confidence (0.4) — often intentional responsive design (e.g. a collapsed nav), treat as a lead to confirm rather than a settled finding.

trace.json — every step: keystroke, selector, AX name/role/state, computed focus style, region locator, bounding box, focus-visible verdict, screenshot ref, and (screen-reader persona) sr_announcement. screen-reader-census.json — a one-time-per-page structural dump: the full reading-order sequence (entries, each {spoken_phrase, role, tag, selector}), declared_live_regions, declared_broken_aria_refs, and declared_alternate_reading_order (aria-flowto relationships — descriptive only, no deterministic check reads this, use it for the reading-order judgment call below). Read this once per page for the judgment calls below — it's the richest source for 2.4.6/1.3.2/label-quality/reading-order review.

page-audit.json (written for every persona) — per-URL lead material beyond the deterministic subset above: background_images (every url() background, element-level and ::before/::after, with size, text/name context, and whether an interactive ancestor exists), suppressed_images (every alt="" / role="presentation" / aria-hidden / unnamed-svg image — the ones the accessibility tree silently drops, censused precisely so YOU can second-guess the "decorative" declaration), and interactive_candidates (elements that look wired for interaction — pointer listeners, inline onclick, locally-set cursor: pointer — without interactive semantics; framework-delegated handlers surface only via the cursor signal, so treat pointer_listener: false entries as leads to probe, not findings). On the final audited page, sizeable background_images/suppressed_images entries carry a screenshot field (screenshots/audit_NNN.png) — an actual crop of the image region, so you can look at the pixels when judging.

What YOU add (the AI-judgment findings)

Read the trace + screenshots and write findings the scanners can't, using the SAME shape:

  • Task completion — could the persona finish the task keyboard-only, and exactly where does it break? (unreachable control, focus not managed into a revealed panel/dialog, no perceivable confirmation, a step that needs the mouse).
  • Logical focus order vs the visual layout (deterministic 2.4.3 only flags positive tabindex; you judge whether the sequence makes sense).
  • Focus-indicator perceivability against the actual background (the pixel check says present; you judge distinguishable).
  • Custom-widget keyboard contract (menu/tablist/combobox arrows, Escape closes dialog, Enter/Space on custom buttons; does it match its apparent role?).
  • Form quality — meaningful labels, validation errors move/announce focus, success reachable.
  • Reading order vs visual order (screen-reader persona) — compare screen-reader-census.json's entries sequence against the visual layout, and check declared_alternate_reading_order for any aria-flowto path the visual layout doesn't match; the deterministic layer never judges this, only DOM order (2.4.3).
  • Announcement quality (screen-reader persona) — is a name/label present but unhelpful ("button", "link", generic icon-only controls with a technically-non-empty but meaningless name)? Deterministic checks only catch a fully bare role, not a bad one.
  • Live-region behavior beyond "ever fired" — does every dynamic update you'd expect to be announced actually show up in a step's live_announcements, not just at least one all session (see the sr_announcement guidance above)?
  • Images the tree can't see: decorative or meaningful? — the deterministic F3/F39 checks only fire for interactive, nameless, image-only controls. Everything else is YOUR call, and the audit gives you the pixels to make it: open each entry's screenshots/audit_NNN.png crop and look.
    • background_images (sizeable, non-repeating, no text over it, not aria-hidden): if the crop shows content — a chart, a product photo, an icon that distinguishes otherwise-identical controls — that content has no text alternative → 1.1.1. A repeated texture or ambience behind readable text is decorative — no finding.
    • suppressed_images (alt="", role=presentation, aria-hidden, unnamed svg): the author claimed decorative — verify it. A 16px flourish or an icon beside equivalent visible text is a correct alt=""; a suppressed photo, chart, badge ("4.5 stars", "Sale"), or the only thing distinguishing two controls is a wrong one → 1.1.1, citing the crop and the reason. An aria-hidden icon inside a named control (interactive_context.heuristic_name non-empty) is the canonical correct pattern — leave it alone. Crops exist only for the final audited page; for earlier pages, judge from the entry's context fields or navigate back and re-run finish.
  • Suspected mouse-only controls — probe interactive_candidates live: Tab toward the element (can focus ever land on it?), and for focusable ones press Enter and Space and check whether anything actually happens. A candidate that visibly responds to click affordances but not to any keystroke is a confirmed 2.1.1; one the deterministic layer only saw via cursor: pointer (framework-delegated handler) needs exactly this confirmation.

Every finding MUST: reference the evidence (step id(s), or a page selector for screen-reader census-sourced findings), carry a confidence score, map to a specific WCAG SC, name the page URL, and state persona impact in plain language ("a keyboard user cannot …" / "a screen-reader user hears …"). Merge your findings with the deterministic ones into one report. Be honest about uncertainty and verify before asserting — prefer confirming a suspected issue against the computed style / a screenshot / the census over guessing.

Personas

  • Ade — keyboard-only, sighted, may use speech-recognition and tire quickly (https://www.w3.org/WAI/people-use-web/user-stories/story-one/). This is why accessible names (voice control), visible focus, logical order, and skip links matter.
  • Lakshmi — blind, uses a screen reader on desktop and mobile (https://www.w3.org/WAI/people-use-web/user-stories/story-three/). This is why accessible names/descriptions, heading/landmark structure, reading order, and live-region announcements matter. The screen-reader checks here emulate what a spec-compliant screen reader would announce (via @guidepup/virtual-screen-reader's ARIA/ACCNAME-tree computation) — they augment but do not replace testing with a real screen reader and real users.

Judge success from whichever persona's checks you're reviewing.

CAPTCHAs

CAPTCHAs detect automation (navigator.webdriver) and refuse to run. The runner automatically suppresses that one signal only on a page where a CAPTCHA is present (page-scoped, human-approved) and reloads so the CAPTCHA can run and be tested — every other page keeps the honest signal. A reCAPTCHA image grid IS keyboard-operable (tab into tiles, Space to select, Verify) but is often not focus-managed on appearance and is fatiguing — report that, and note that fully passing an enterprise CAPTCHA from automation is unreliable by design.

Quick whole-page scan (no task)

For a fast, unattended pass over the start page instead of a driven task:

bash
node scripts/runner.mjs --url <https://site>                # blind Tab-crawl, per viewport

--persona applies here too (default all); the blind crawl never presses Enter/Space, so live-region findings from this mode only tell you a region never fired passively, not whether it fires correctly on activation — use a driven serve session for that.

Reference

references/architecture.md (driver / runtime / interaction model / output contract). Do both viewports (desktop + mobile); behaviour differs — nav often collapses behind a disclosure/hamburger on mobile.

Часто задаваемые вопросы

Что делает навык ИИ Keyboard A11y Tester?

Drive a real browser KEYBOARD-ONLY to test whether a keyboard-only person AND a screen-reader person can complete a task on a website, and report evidence-linked WCAG findings. Both personas run by default in one pass. Use when the user wants to test/audit a site with the keyboard, check keyboard navigation, focus order, focus visibility, keyboard traps, skip links, accessible names, screen-reader announcements, ARIA live regions, heading/landmark structure, or alt text — OR asks whether a keyboard-only or screen-reader user can complete a specific task ("visit X and find/do Y", "can a keyb...

Зачем использовать Keyboard A11y Tester в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Keyboard A11y Tester — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Keyboard A11y Tester в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/ezufelt/keyboard-a11y-tester/tree/main/skills/keyboard-a11y-tester. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Keyboard A11y Tester?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Keyboard A11y Tester?

С любым количеством. В TypingMind вы можете использовать Keyboard A11y Tester с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Keyboard A11y Tester?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — ezufelt. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип affaan-m

Competitive Report Structure

affaan-m
СообществоПопулярный

Используйте после того, как benchmark-methodology подготовит оценённые карточки профилей конкурентов. Собирает результаты в отчёт для принятия решений: карту рынка, профили конкурентов, сравнительную матрицу, анализ свободных ниш…

40.4K
270.2K
Файлы: 1
Открыть
Логотип affaan-m

Dmux Workflows

affaan-m
СообществоПопулярный

Координируйте работу нескольких агентов с помощью dmux (менеджера панелей tmux для ИИ-агентов). Используйте шаблоны параллельных рабочих процессов с Claude Code, Codex, OpenCode и другими средами. Этот навык пригодится, когда нужно параллельно запустить несколько сеансов агентов…

40.4K
270.2K
Файлы: 1
Открыть
Логотип affaan-m

Documentation Lookup

affaan-m
СообществоПопулярный

Используйте актуальную документацию библиотек и фреймворков через Context7 MCP вместо обучающих данных. Навык активируется при вопросах о настройке, запросах справки по API и примеров кода, а также когда пользователь называет фреймворк (например, React,…

40.4K
270.2K
Файлы: 1
Открыть
Логотип affaan-m

Mle Workflow

affaan-m
СообществоПопулярный

Рабочий процесс разработки систем машинного обучения для промышленной эксплуатации: контракты данных, воспроизводимое обучение, оценка моделей, развёртывание, мониторинг и откат. Используйте при создании, проверке или повышении надёжности…

40.4K
270.2K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇