building-accessible-ui

building-accessible-ui is a skill for Claude Code, Codex from microsoft/a11y-llm-eval. It costs 112 tokens per session (2,435 once invoked), scanned A, original, MIT.

An accessibility checklist and review skill for user interfaces. Accessibility means making software usable by people with disabilities, including people who use screen readers or keyboards instead of a mouse.

In plain words
What is it for?
Use it when creating, changing, or reviewing interface markup, components, styles, templates, or the code that drives them.
Why use it?
It helps catch barriers before an interface is considered finished, such as missing structure, poor keyboard behavior, or unclear controls. It treats accessibility as part of the main outcome rather than a final polish step.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it when creating, changing, or reviewing interface markup, components, styles, templates, or the code that drives them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/a11y-llm-eval/building-accessible-ui
About the project

A11y LLM Evaluation Harness and Dataset is a test suite for measuring how well language models generate accessible HTML. It runs agent-generated pages in a browser and evaluates them with automated accessibility checks.

microsoft/a11y-llm-eval · 59 stars · on GitHub · microsoft.github.io

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 microsoft/a11y-llm-eval --skill building-accessible-ui
Clone the repo
git clone --depth 1 https://github.com/microsoft/a11y-llm-eval

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 building-accessible-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/a11y-llm-eval/building-accessible-ui.svg)](https://agentmods.dev/skills/microsoft/a11y-llm-eval/building-accessible-ui)
Your own site
<a href="https://agentmods.dev/skills/microsoft/a11y-llm-eval/building-accessible-ui"><img src="https://agentmods.dev/badge/skills/microsoft/a11y-llm-eval/building-accessible-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,435 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.00112 $0.02435
Opus 5 $0.00056 $0.01218
Sonnet 5 $0.00022 $0.00487
Haiku 4.5 $0.00011 $0.00244

Measured 8d ago against content hash 2d8fff1426dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

building-accessible-ui 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 8d 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.

config/skills/building-accessible-ui/SKILL.md · 101 lines

How it starts

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

building-accessible-ui

Checklist for producing and reviewing accessible UIs. Each rule leads with the platform-agnostic principle and, where relevant, the Web (HTML + ARIA + CSS) implementation. Apply the web guidance only when the output is web.

Detailed rationale lives in references/; widget-specific guidance in components/. Open a file only when it's relevant to the current task. Do not preload. Every file opened and every line a tool prints stays in context — don't re-read.

Accessibility constitution

Ground rules. Use them to resolve conflicts and decide how much custom work is justified. The checklist below is their mechanical application.

1. Accessibility is a core outcome

A UI inaccessible to realistic users is not "done". Treat accessibility as a first-class criterion alongside correctness, performance, and security — not a finishing step. When scope must be cut, record the gap explicitly. Never claim output is "fully accessible"; state what was addressed and known limitations.

2. Build for real people

Evaluate designs against these personas; if a decision breaks one, justify it and offer an alternative:

  • Screen reader — landmarks, headings, accessible name/role/state, reading order.
  • Keyboard-only — Tab/arrows/Enter/Space/Escape, visible focus, no traps.
  • Low-vision — zoom, reflow, contrast, Forced Colors.
  • Cognitive — plain language, clear labels, actionable errors, forgiving interactions.
  • Deaf / hard of hearing — captions/transcripts; no sound-only cues.
  • Motor / voice / switch — large hit targets, named controls, no precise/timed gestures.
  • Situational — sunlight, one-handed, noisy, flaky network.

3. Implementation priority

Use the highest option that fits:

  1. Existing accessible component in this codebase / design system.
  2. A component library.
  3. Native platform semantics (<button>, <a href>, <input>, <label>, <fieldset>/<legend>, <dialog>, <details>, <nav>, <main>, headings).
  4. Native element + minimum necessary ARIA (aria-describedby, aria-expanded, aria-current, etc.).
  5. Fully custom ARIA widget — only when nothing above fits, and only if you implement the APG keyboard, focus, and state behavior end-to-end.

Read the full file on GitHub · 101 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. 8d ago First seen · 101 lines · 112 tokens per session scan A 2d8fff1426dc

Subscribe to this mod's changes

building-accessible-ui is a skill published in the GitHub repository microsoft/a11y-llm-eval (59 stars, last pushed 4mo ago), licensed MIT. It adds 112 tokens to every session and 2,435 once invoked, about $0.0006 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

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens