loom-accessibility

loom-accessibility is a skill for Claude Code, Codex from cosmix/loom. It costs 16 tokens per session (4,934 once invoked), scanned A, original, MIT.

A set of guidance for making websites usable by people with disabilities, including keyboard users and people who use screen readers. WCAG is a widely used set of web accessibility rules, and this guidance focuses on its common AA level.

In plain words
What is it for?
Use it when building or reviewing buttons, forms, navigation, dialogs, focus behavior, and screen-reader support. It also helps check accessibility compliance and understand what automated tests may miss.
Why use it?
It helps prevent interfaces that work only for mouse users or people who can see and hear everything. It explains how to use native HTML controls, keyboard focus, readable contrast, and suitable labels.

Skill for Claude CodeCodex

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/cosmix/loom/loom-accessibility
Any agent
npx skills add cosmix/loom --skill loom-accessibility
Clone the repo
git clone --depth 1 https://github.com/cosmix/loom

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 loom-accessibility

README.md
[![agentmods](https://agentmods.dev/badge/skills/cosmix/loom/loom-accessibility.svg)](https://agentmods.dev/skills/cosmix/loom/loom-accessibility)
Your own site
<a href="https://agentmods.dev/skills/cosmix/loom/loom-accessibility"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-accessibility.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.04934
Opus 5 $0.00008 $0.02467
Sonnet 5 $0.00003 $0.00987
Haiku 4.5 $0.00002 $0.00493

Measured yesterday against content hash 18507fc707dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

loom-accessibility 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.

skills/loom-accessibility/SKILL.md · 331 lines

How it starts

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

Accessibility

Overview

Making web UIs usable by everyone, including keyboard-only and assistive-technology users. Covers WCAG 2.1/2.2 AA, semantic HTML, ARIA, keyboard/focus management, screen readers, contrast, and testing. Optimize for AA — that is the legal bar (ADA, EN 301 549, AODA) in most jurisdictions.

Core Rules (internalize these first)

  1. First rule of ARIA: don't use ARIA. A native <button>/<a>/<input>/<nav> ships focus, keyboard, role, and state for free. ARIA only describes; it never adds behavior. Bad ARIA is worse than none.
  2. Second rule: don't change native semantics. <button role="heading"> is a footgun. Don't override roles of interactive elements.
  3. aria-hidden="true" on a focusable element is a trap — it hides the element from the a11y tree while leaving it in the Tab order, so SR users land on "nothing." Hide the whole subtree and remove it from tab order (inert), never one or the other.
  4. Never outline: none without a replacement. Removing the focus ring with no :focus-visible style is the single most common WCAG 2.4.7 failure.
  5. Automated tools catch ~30–40% of issues. axe/Lighthouse find contrast, missing alt/labels, dup IDs — never "is the focus order sane," "does the SR announcement make sense," "is this keyboard-operable." Manual keyboard + SR passes are mandatory.

Accessible Name Computation (the thing people get wrong)

The accessible name is what a screen reader announces. Resolution order (first non-empty wins):

  1. aria-labelledby (space-separated IDs; concatenated text of targets) — highest priority, overrides visible content
  2. aria-label
  3. Native labeling: <label for>/wrapping <label>, <img alt>, <fieldset><legend>, <figcaption>, wrapped text content of a button/link
  4. title / placeholderfallback only; never rely on these (placeholder vanishes on input, title is not exposed on touch/keyboard reliably)

⚠ Gotchas:

  • aria-labelledby referencing a hidden (display:none) element still contributes its text — intentional, useful for SR-only names.
  • aria-label/aria-labelledby are ignored on non-interactive, non-landmark elements (<div>, <span>, <p>) unless they have a role. Don't expect <span aria-label> to announce.
  • Icon-only controls MUST have a name: <button aria-label="Close">✕</button>. A bare glyph/SVG announces nothing or reads the character.
  • aria-describedby adds supplementary description (hint, error) read after the name — it does not replace the name.

Read the full file on GitHub · 331 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 · -28 tokens per session 18507fc707dd
  2. 4d ago First seen · 331 lines · 44 tokens per session scan A 46734c78f8bb

Subscribe to this mod's changes

loom-accessibility is a skill published in the GitHub repository cosmix/loom (54 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 4,934 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

fixing-accessibility

Audit and fix HTML accessibility issues including ARIA labels, keyboard navigation, focus management, color contrast, and form errors. Use when adding interactive controls, forms, dialogs, or reviewing WCAG compliance.

ibelick/ui-skills · 45 tokens

accessibility

Achieve and maintain WCAG compliance through inclusive design practices, proper ARIA usage, and comprehensive testing methodologies.

cosmicstack-labs/mercury-agent-skills · 25 tokens

winui-code-review

Code quality review for WinUI 3 apps — MVVM compliance, x:Bind correctness, accessibility, theming, security, and performance. Use before committing to catch issues that the compiler and UI tests won't find.

microsoft/win-dev-skills · 49 tokens

accessibility-fix

Scan an AEM Edge Delivery Services page for WCAG 2.1 AA accessibility violations and generate specific fixes. Identifies missing alt text, heading hierarchy issues, link text problems, color contrast concerns, and EDS-specific accessibility patterns. Use when fixing accessibility issues, preparing for compliance…

adobe/skills · 72 tokens

docs-check-style

Check documentation for Elastic style guide compliance using Vale linter output and style rules. Use when writing, editing, or reviewing docs to catch voice, tone, grammar, formatting, accessibility, and word choice issues.

elastic/elastic-docs-skills · 46 tokens

accessibility-testing-expert

Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.

roedyrustam/vibes-plug · 62 tokens