Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

keyboard

БесплатноЗапускает вложенные скриптыНе проверен

Walks a running page with the keyboard alone, records every focus stop and reports controls it cannot reach, see or operate.

raphaelsalajaот raphaelsalaja★ 74 звезды на GitHub

Об этом скилле

Keyboard

This skill puts the mouse away and walks a running page with keys alone. It records every focus stop in order and returns a numbered report of what the keyboard cannot reach, see or operate.

Every stop pressed, never read from the code

Focus order, reach and operation are judged from keys pressed in the running page. A stop the walk did not press is Not verified, never assumed. One unreachable control is a finding however minor the control.

How the focus ring is styled, sticky chrome that covers focus and accessible names belong to defaults. Dialog focus traps and how an overlay declares its dismissal belong to overlays. A failure there cites its id. Opening the running result belongs to verify. Forcing hidden states open belongs to lab.

1. Load the recorder

Open the page at the state the user named and click nothing. Pass the contents of tabstops.js to the browser tool's evaluate call. It returns pointer targets with no keyboard way in, scrollers with nothing to focus, reordered containers and the skip link, then records each stop. Judging order or reach from the markup is keyboard-press-the-keys.

Send keys through trusted input, such as Playwright's keyboard.press or the operating system. A dispatched DOM KeyboardEvent never moves focus, so a walk with no stops means the keys never arrived. window.__keyboard.keys counts Tab presses as trusted and untrusted.

Loop the keys inside one script call rather than one tool call per key: for (let i = 0; i < 60; i++) { await page.keyboard.press("Tab"); await page.waitForTimeout(50); }. The 50ms wait lets the recorder read each ring two frames after focus.

2. Walk forward, then back

Press Tab from the top of the page until focus leaves it, then Shift+Tab back to the start. Read window.__keyboard.stops and call window.__keyboard.highlight().

Stops follow the reading order of the layout. A jump from the header to the footer and back, or any positive tabindex, is keyboard-order-follows-layout. Search the CSS for order:, row-reverse, column-reverse, grid-auto-flow: dense and explicit grid-row, grid-column or grid-area. The recorder's reordered list names each container whose boxes land out of source order around two or more stops. Fix the source order, because reading-flow works only in Chromium.

Every stop shows an indicator on screen. A stop with no visible change is keyboard-see-every-stop. The recorder compares focused and unfocused paint after transitions settle, on the element, its ::before and ::after and any :focus-within ancestor. ringSource names where the ring was found.

A stop marked shadowOnly changed only a box-shadow, which forced colours drop, and cites defaults-focus-outline. A ringWidth under 2px cites defaults-focus-keyboard-only. A ringStyle of auto is the browser's own ring, which reads 1px however wide it draws.

The house bar is a 3:1 change between focused and unfocused pixels. That is WCAG 2.4.13, a AAA criterion. AA asks only for a visible indicator, under 2.4.7.

Every stop is something the user can see. Focus landing on links inside a closed drawer is keyboard-no-hidden-stops. The recorder marks a stop obscured, fully or partly, when sticky chrome, a banner or a toast covers it. Fully covered fails WCAG 2.4.11 at AA. Partly covered passes AA and fails only 2.4.12 at AAA. Either cites defaults-clear-sticky-chrome, and a stop with no name cites defaults-name-icon-buttons.

When navigation comes before the main content, the first stop is a skip link to it. It shows when focused, and after Enter the next Tab lands inside main. Twenty header stops before the first result is keyboard-skip-link. The recorder's skipLink reads target: null for a link to a missing id, and each stop's inMain shows where that next Tab landed.

3. Reach every control

Compare the stops against what the page shows and against the recorder's unreachable list. A clickable div the walk never lands on is keyboard-reach-every-control. A list that reorders only by dragging cites motion-gesture-alternative.

A region that scrolls but holds nothing focusable takes tabindex="0", role="region" and an aria-label, because Safari never puts a scroller in the tab order. The recorder's scrollers list names each one. A code block that only a wheel can scroll is keyboard-scroll-regions.

Toasts sit in a region labelled "Notifications" that a documented shortcut, such as Alt+T, reaches. A toast's Undo the walk cannot reach is keyboard-reach-toasts.

An editor that keeps Tab for indenting lets Escape then Tab move focus to the next control, and says so beside the editor. A code editor that Tab enters and never leaves is keyboard-leave-editors.

4. Operate each control

Enter and Space press buttons, Enter follows links and Space toggles checkboxes and switches. A control that answers a click but no key is `keyboard-operate-

Полный SKILL.md на GitHub

Установить keyboard в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamltabstops.js

FAQ

Что делает скилл keyboard?

Walks a running page with the keyboard alone, records every focus stop and reports controls it cannot reach, see or operate.

Как установить скилл keyboard?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл keyboard запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить keyboard с