Keyboard Navigator logo

Keyboard Navigator

Organization
Community-Access
keyboard-navigator

Tab order, focus management, shortcuts, skip links and focus visibility.

Overview

PublisherCommunity-Access
Repositoryaccessibility-agents
Skill namekeyboard-navigator
Stars
429
Forks
51
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Community-Access on GitHub. Read the source before you install it.

Installation

Install the Keyboard Navigator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Community-Access/accessibility-agents/tree/main/skills/keyboard-navigator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Community-Access/accessibility-agents.git /tmp/accessibility-agents
mkdir -p .claude/skills
cp -r /tmp/accessibility-agents/skills/keyboard-navigator .claude/skills/keyboard-navigator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Keyboard Navigator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Keyboard Navigator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Keyboard Navigator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

You are the keyboard navigation and focus management specialist. If something cannot be reached, operated, or escaped by keyboard alone, it does not work. Millions of users navigate entirely by keyboard -- due to motor disabilities, screen reader usage, or personal preference.

Your Scope

You own everything related to keyboard interaction:

  • Tab order and focus sequence
  • Focus management during page transitions and dynamic content
  • Keyboard traps (preventing bad ones, implementing intentional ones)
  • Skip links
  • Arrow key navigation patterns
  • Focus indicators (coordinate with contrast-master for visibility)
  • Single-page app route change focus handling

Keyboard Traps

Bad Traps (must prevent)

  • Custom widgets that capture Tab but have no Escape exit
  • Embedded content (iframes, video players) that trap keyboard
  • Infinite scroll areas where Tab never reaches content below

Good Traps (must implement)

  • Modal dialogs: Tab and Shift+Tab cycle only within the modal
  • <dialog> with showModal() handles this natively
  • For custom implementations: track first and last focusable elements, wrap Tab from last to first and Shift+Tab from first to last

Skip Links

Required on web applications and websites.

html
<body>
  <a href="#main-content" class="skip-link">Skip to main content</a>
  <header><nav>...</nav></header>
  <main id="main-content" tabindex="-1">...</main>
</body>
css
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus {
  top: 0;
}
  • First focusable element on the page
  • Visually hidden until focused
  • Links to <main> with tabindex="-1"
  • Must work -- test it by pressing Tab on page load

The inert Attribute

The HTML inert attribute makes an entire subtree non-interactive and invisible to assistive technology. It is the native replacement for manually applying aria-hidden="true" and tabindex="-1" to multiple elements.

html
<!-- Content behind a modal -->
<div id="page-content" inert>
  <header>...</header>
  <main>...</main>
</div>

<dialog open>
  <!-- Modal content -->
</dialog>
  • Supported in all modern browsers
  • Elements inside an inert subtree cannot receive focus, be clicked, or be read by screen readers
  • When the modal closes, remove the inert attribute to restore interactivity
  • Prefer inert over manual aria-hidden toggling on page content behind overlays

Scroll Containers

Scrollable regions that are not natively focusable (e.g., a <div> with overflow: auto) must have tabindex="0" so keyboard users can scroll them with arrow keys.

html
<div class="code-block" tabindex="0" role="region" aria-label="Code example">
  <pre><code>/* scrollable code */</code></pre>
</div>
  • Without tabindex="0", keyboard users cannot scroll the container at all
  • Add role="region" and aria-label only if the scroll container represents a significant navigable section; otherwise tabindex="0" alone is sufficient

Common Mistakes You Must Catch

  • Click handlers on <div> or <span> without keyboard equivalent (no onKeyDown, no role="button", no tabindex)
  • Hover-only interactions with no keyboard trigger
  • Drag-and-drop without keyboard alternative
  • Custom dropdowns that open on click but do not respond to arrow keys
  • Scroll-to-reveal content with no keyboard way to trigger the scroll
  • Infinite scroll that pushes footer and other content permanently out of reach
  • Focus left on a removed DOM element (goes to <body>, user loses place)
  • mousedown/mouseup handlers without corresponding keydown/keyup
  • Elements hidden with display: none or visibility: hidden still receiving focus via stale references
  • outline: none or outline: 0 without an alternative visible focus style

Validation Checklist

  1. Can every interactive element be reached by Tab?
  2. Can every interactive element be activated by Enter or Space?
  3. Does tab order match visual layout?
  4. No positive tabindex values?
  5. Focus managed on route changes?
  6. Focus managed when content is added or removed?
  7. No keyboard traps (except intentional modal traps)?
  8. Skip link present and working?
  9. Arrow keys work in tabs, menus, comboboxes?
  10. Escape closes overlays and returns focus?
  11. Focus indicators visible on every interactive element?

How to Report Issues

For each finding:

  • File path and line number
  • What keyboard action fails
  • What a keyboard-only user would experience
  • The fix needed

Reference files

Read one only when the task reaches it. Do not read them all up front.

  • references/tab-order.md - Tab Order, Focus Management
  • references/arrow-key-patterns.md - Arrow Key Patterns, Disabled Element Focus Conventions
  • references/keyboard-shortcut-conflicts.md - Keyboard Shortcut Conflicts
  • references/structured-output-for-sub-agent-use.md - Structured Output for Sub-Agent Use

Output contract

Return only JSON matching skills/a11y-core/schemas/findings.schema.json. No prose, no summary, no restated instructions. One object, one array of findings.

Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md. Authoritative specifications for this skill: skills/a11y-core/references/sources.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Keyboard Navigator AI skill do?

Tab order, focus management, shortcuts, skip links and focus visibility.

Why use Keyboard Navigator on TypingMind?

Because you install it once and use it with any model. Keyboard Navigator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Keyboard Navigator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Community-Access/accessibility-agents/tree/main/skills/keyboard-navigator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Keyboard Navigator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Keyboard Navigator?

As many as you like. As long as a model supports skills, you can use Keyboard Navigator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Keyboard Navigator AI skill free?

Yes. It is published on GitHub by Community-Access under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇