focus-management

focus-management is a skill for Claude Code from xrnavigation/web-a11y-plugin. It costs 70 tokens per session (2,954 once invoked), scanned A, original, no licence file.

A guide for keeping keyboard focus usable in changing web pages. Focus is the location where keyboard actions currently go, such as inside a dialog or on a page control.

In plain words
What is it for?
Use it when building dialogs, single-page applications, page navigation, skip links, or content that appears and disappears.
Why use it?
Dynamic pages can leave keyboard users in the wrong place, unable to reach controls, or behind a dialog. This guide addresses those focus problems and related WCAG 2.2 accessibility requirements.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the a11y plugin — 23 skills shipped together

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.

agentmods
npx agentmods add skills/xrnavigation/web-a11y-plugin/focus-management
Any agent
npx skills add xrnavigation/web-a11y-plugin --skill focus-management
Clone the repo
git clone --depth 1 https://github.com/xrnavigation/web-a11y-plugin

Made for: Claude Code.

Or install a11y, the plugin that ships this one along with the rest of its 23 skills.

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 focus-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/xrnavigation/web-a11y-plugin/focus-management.svg)](https://agentmods.dev/skills/xrnavigation/web-a11y-plugin/focus-management)
Your own site
<a href="https://agentmods.dev/skills/xrnavigation/web-a11y-plugin/focus-management"><img src="https://agentmods.dev/badge/skills/xrnavigation/web-a11y-plugin/focus-management.svg" alt="Measured on agentmods" 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 2,954 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.02954
Opus 5 $0.00035 $0.01477
Sonnet 5 $0.00014 $0.00591
Haiku 4.5 $0.00007 $0.00295

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

Security

Grade A, and why

focus-management 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 6d 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.

plugins/a11y/skills/focus-management/SKILL.md · 287 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 287 lines · 70 tokens per session scan A fe2895b2058b

Subscribe to this mod's changes

focus-management is a skill published in the GitHub repository xrnavigation/web-a11y-plugin (1 stars, last pushed 20d ago), with no licence file. It adds 70 tokens to every session and 2,954 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

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 Checklist

A concrete, checklist-driven pass for semantic HTML, ARIA, keyboard navigation, contrast, alt text, and focus management.

niels-emmer/myace · 28 tokens

accessibility-engineer

You are the Accessibility Engineering Specialist. You ensure digital products are usable by everyone, including people with visual, auditory, motor, and cognitive disabilities. You audit against WCAG 2.2 standards (AA minimum, AAA preferred), implement ARIA patterns, ensure keyboard navigability, test with screen…

buiphucminhtam/forgewright · 61 tokens

wcag-accessibility

Apply and audit WCAG 2.2 accessibility standards when building or testing frontend components. ALWAYS use this skill when: building any UI component, page, or layout (even if the user doesn't mention accessibility); running accessibility audits or tests; asked to "check a11y", "test accessibility", "audit WCAG…

salawi45/skill-wcag-accessibility · 145 tokens

Accessibility Auditor

Comprehensive WCAG 2.1 AA compliance testing combining automated axe-core scans with manual keyboard navigation, screen reader compatibility, and focus management verification.

PramodDutta/qaskills · 32 tokens

Accessibility A11y Enhanced

Comprehensive WCAG compliance and accessibility testing covering ARIA, keyboard navigation, screen readers, color contrast, and automated a11y validation.

PramodDutta/qaskills · 34 tokens