p6-a11y-keyboard

p6-a11y-keyboard is a command for Claude Code from jonase47/ccpr. It costs 0 tokens per session (943 once invoked), scanned A, original, MIT.

A keyboard accessibility review checks whether an interface can be operated without a mouse. It examines tab order, focus indicators, keyboard actions, Escape handling, modal focus traps, and touch-target size.

In plain words
What is it for?
Use it to check keyboard access to interactive elements, logical navigation order, visible focus, Enter and Space actions, overlay closing, modal focus, and target sizes.
Why use it?
It helps find controls that keyboard users cannot reach, understand, or operate reliably.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to check keyboard access to interactive elements, logical navigation order, visible focus, Enter and Space actions, overlay closing, modal focus, and target sizes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jonase47/ccpr/p6-a11y-keyboard
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jonase47/ccpr

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for p6-a11y-keyboard

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonase47/ccpr/p6-a11y-keyboard.svg)](https://agentmods.dev/commands/jonase47/ccpr/p6-a11y-keyboard)
Your own site
<a href="https://agentmods.dev/commands/jonase47/ccpr/p6-a11y-keyboard"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p6-a11y-keyboard.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 943 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00943
Opus 5 $0.00000 $0.00472
Sonnet 5 $0.00000 $0.00189
Haiku 4.5 $0.00000 $0.00094

Measured yesterday against content hash d4cb189d0724, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

p6-a11y-keyboard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/p6-a11y-keyboard.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/p6-a11y-keyboard – Keyboard Navigation & Focus

Checks full keyboard operability: tab order, focus indicator, Enter/Space, Escape, focus trap.

Argument: $ARGUMENTS = [page/component]

If provided: Check the specified page/component. If not provided: Check all interactive areas.

Prerequisites

  • UI implemented with interactive elements

Agent

  • Type: ux-designer
  • Model: sonnet

Context (Orchestrator prepares)

Orchestrator reads in advance and delivers inline:

  • From src/: HTML structure (interactive elements, tabindex, event handlers)
  • From ACCESSIBILITY.md: Keyboard requirements

Prompt Template

Goal: Check keyboard navigation for: [page/component]

HTML Structure: [inline from src/]

Output Format: Checklist:

# Check Point Status Finding
1 All elements reachable via Tab OK/FINDING ...
2 Tab order is logical OK/FINDING ...
3 Focus indicator visible OK/FINDING ...
4 Enter/Space activates elements OK/FINDING ...
5 Escape closes overlays OK/FINDING ...
6 Focus trap in modals OK/FINDING ...
7 Touch targets >= 44x44px OK/FINDING ...

Constraints:

  • Keyboard navigation ONLY – no colours, no screen reader
  • Focus on interactive elements (buttons, links, inputs, modals)

Orchestrator Checkpoint

  • All interactive elements checked?
  • Focus management for dynamic content tested?

Write Detail File

Write the result to docs/quality/a11y_keyboard.md (overwrite if it exists). Start with this YAML frontmatter:

---
phase: P6
subskill: a11y-keyboard
status: active
last_updated: <DD.MM.YYYY>
---

Body sections: ## Scope (which pages/components were checked), ## Findings (the checklist table), ## Severity Summary (counts of OK / minor / major findings).

Update Sub-Index

Update docs/quality/A11Y.md (the accessibility sub-index, created by /p6-a11y if missing):

  • Set **Last Updated:** <DD.MM.YYYY>.
  • In its Detail Files table: ensure a row for [a11y_keyboard.md](a11y_keyboard.md) with status complete (or needs-rework if blocking findings exist).
  • Lift any blocking finding into Open Risks / Open Questions of the sub-index.
  • Do not edit the phase-level QA.md directly — /p6-a11y rolls the sub-index up.

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed d4cb189d0724
  2. 4d ago First seen · 91 lines · 0 tokens per session scan A 5cc3f3327f59

Subscribe to this mod's changes

p6-a11y-keyboard is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 943 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.