canon-keyboard

canon-keyboard is a skill for Claude Code, Codex from Dragoon0x/canon. It costs 70 tokens per session (874 once invoked), scanned A, original, MIT.

A guide to making interface controls usable with a keyboard, including tab order, focus, arrow-key movement, and shortcut keys. It explains how common controls such as menus and tab bars should behave without a mouse.

In plain words
What is it for?
Use it to review tab order, focus handling, keyboard shortcuts, skip links, and keyboard behaviour inside menus, toolbars, tabs, and radio groups.
Why use it?
It helps avoid interfaces that are difficult or impossible to use for keyboard-only users and reduces confusing focus movement.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review tab order, focus handling, keyboard shortcuts, skip links, and keyboard behaviour inside menus, toolbars, tabs, and radio groups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dragoon0x/canon/canon-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.

Any agent
npx skills add Dragoon0x/canon --skill canon-keyboard
Clone the repo
git clone --depth 1 https://github.com/Dragoon0x/canon

Made for: Claude Code, Codex.

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 canon-keyboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/dragoon0x/canon/canon-keyboard/github.svg)](https://agentmods.dev/skills/dragoon0x/canon/canon-keyboard)
Your own site
<a href="https://agentmods.dev/skills/dragoon0x/canon/canon-keyboard"><img src="https://agentmods.dev/badge/skills/dragoon0x/canon/canon-keyboard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for canon-keyboard

Your own site · 80×15
<a href="https://agentmods.dev/skills/dragoon0x/canon/canon-keyboard"><img src="https://agentmods.dev/badge/skills/dragoon0x/canon/canon-keyboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 874 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.00070 $0.00874
Opus 5 $0.00035 $0.00437
Sonnet 5 $0.00014 $0.00175
Haiku 4.5 $0.00007 $0.00087

Measured 9d ago against content hash 3f06edc38a63, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

canon-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 9d ago.

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.

source/skills/canon-keyboard/SKILL.md · 77 lines

How it starts

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

CANON · Keyboard

If it doesn't work with a keyboard, it doesn't work. Period.

Tab order = visual order

Tab moves focus through interactive elements in document order. That order must match the visual layout. If CSS rearranges elements visually (flexbox order, grid placement, position: absolute), the tab order still follows DOM order. Fix the DOM, not the visual.

Never use tabindex > 0. It forces elements to the front of tab order globally and breaks the natural flow.

tabindex value Meaning
0 Focusable in natural order
-1 Focusable only via JS (.focus()), not via Tab
> 0 Never use. Forces unnatural order.

Interactive elements are natively focusable

<button>, <a href>, <input>, <select>, <textarea> — all keyboard-accessible by default. If you're adding tabindex="0" and onKeyDown to a <div>, you've reinvented a button badly.

Composite widgets — arrow keys, not Tab

Inside a toolbar, tab bar, radio group, or menu, arrow keys move between items. Tab enters and exits the group. This is the roving tabindex or aria-activedescendant pattern.

Widget Internal navigation
Tabs Arrow Left/Right (horizontal), Up/Down (vertical)
Menu Arrow Up/Down, Enter to activate, Escape to close
Toolbar Arrow Left/Right between buttons
Radio group Arrow Up/Down or Left/Right
Tree view Arrow Up/Down to traverse, Right to expand, Left to collapse

Keyboard shortcuts

  • Document them. An undiscoverable shortcut is a non-shortcut.
  • Use ⌘/Ctrl + letter for common actions (⌘S save, ⌘K command palette).
  • Don't override browser shortcuts (⌘L address bar, ⌘T new tab, ⌘W close tab).
  • Use single-key shortcuts (like ? for help) only in apps, not content pages (WCAG 2.1.4).
  • Allow users to remap or disable shortcuts.

Focus indicators

See canon-focus for visual specs. Key rule: every focused element must be visually distinguishable. outline: none without a replacement is an accessibility violation.

Read the full file on GitHub · 77 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. 9d ago First seen · 77 lines · 70 tokens per session scan A 3f06edc38a63

Subscribe to this mod's changes

canon-keyboard is a skill published in the GitHub repository Dragoon0x/canon (5 stars, last pushed 4mo ago), licensed MIT. It adds 70 tokens to every session and 874 once invoked, about $0.0003 per session on Opus 5. 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-08-31.

Related

Other skills, from other repositories

accessibility

Accessibility (a11y) workflow skill. Use this skill when the user needs Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible". Do NOT use for SEO (use seo)…

diegosouzapw/awesome-omni-skills · 119 tokens

accessibility

Use when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast, tap-target size. NOT palette or visual intent (that is design), NOT test-runner setup (that is testing-web), NOT LCP/page-speed (that is…

ericrisco/rsc-harness · 86 tokens

accessibility-compliance-accessibility-audit-v2

Accessibility Audit and Testing workflow skill. Use this skill when the user needs You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance and the operator should preserve the upstream…

diegosouzapw/awesome-omni-skills · 76 tokens

accessibility-audit

Use when wCAG compliance audit — semantic HTML, ARIA, keyboard navigation, color contrast, and screen reader testing. Use when working with accessibility audit.

oyi77/1ai-skills · 37 tokens

a11y-audit

Dedicated WCAG 2.2 AA/AAA accessibility audit across 10 dimensions (A1-A10) covering semantic HTML, keyboard navigation, ARIA patterns, color contrast, forms, images/media, responsive/zoom, motion/animation, reading/content, and legal compliance. Goes far beyond surface-level design-review checks with deep…

greglas75/zuvo · 147 tokens

motion-video

Product animation, UI motion, portfolio videos — Apple-grade reveals, motion tokens, full production pipelines.

memi-design/design-skills · 22 tokens