accessible-by-default

accessible-by-default is a skill for Claude Code from latestaiagents/agent-skills. It costs 126 tokens per session (2,024 once invoked), scanned A, original, MIT.

An accessibility baseline for web interfaces based on WCAG 2.2 AA, a widely used set of accessibility guidelines. It covers keyboard focus, semantic HTML, readable contrast, text alternatives, motion preferences, and usable controls.

In plain words
What is it for?
Use it when building or reviewing any page, component, CSS change, interactive element, palette, or animation.
Why use it?
It prevents common barriers for people using keyboards, screen readers, reduced-motion settings, or different vision abilities, and avoids relying on color alone.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the design-taste plugin — 5 skills shipped together , and of latestaiagents

Good fit Use it when building or reviewing any page, component, CSS change, interactive element, palette, or animation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/latestaiagents/agent-skills/accessible-by-default
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 latestaiagents/agent-skills --skill accessible-by-default
Clone the repo
git clone --depth 1 https://github.com/latestaiagents/agent-skills

Made for: Claude Code.

Or install design-taste, the plugin that ships this one along with the rest of its 5 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 accessible-by-default

README.md
[![agentmods](https://agentmods.dev/badge/skills/latestaiagents/agent-skills/accessible-by-default/github.svg)](https://agentmods.dev/skills/latestaiagents/agent-skills/accessible-by-default)
Your own site
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/accessible-by-default"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/accessible-by-default/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 accessible-by-default

Your own site · 80×15
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/accessible-by-default"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/accessible-by-default.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,024 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.00126 $0.02024
Opus 5.5 $0.00050 $0.00810
Sonnet 5.5 $0.00025 $0.00405
Haiku 4.5 $0.00013 $0.00202

Measured 26d ago against content hash a9f8bf149c5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

accessible-by-default 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 26d 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.

skills/design-taste/accessible-by-default/SKILL.md · 164 lines

How it starts

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

Accessible by Default

Distinctive design is optional; accessible design is not. Apply this baseline to every screen, whatever the visual direction.

This skill covers the checks that most often break when agents restyle UI. It targets WCAG 2.2 Level AA, a widely used target in accessibility policies. It is a baseline, not a full conformance audit: automated and checklist review do not replace testing with assistive technology and with disabled users.

When to Use

  • Building any page or component
  • After applying a new visual direction, palette, or motion system
  • Reviewing a PR that changes CSS, colors, interactive elements, or animation

Workflow

Step 1: Use Semantic HTML First

Native elements bring keyboard support, focus, and roles for free.

<!-- Before -->
<div class="btn" onclick="save()">Save</div>

<!-- After -->
<button type="button" onclick="save()">Save draft</button>
  • Links navigate (<a href>); buttons act (<button>)
  • One <h1> per page and headings in order; use <main>, <nav>, <header>, <footer> landmarks
  • Every input has a <label> (visible, associated with for/id or by wrapping)
  • Use ARIA only when no native element fits, and then follow the ARIA pattern fully

Step 2: Meet Contrast Thresholds (Unrounded)

What Ratio WCAG 2.2
Normal text 4.5:1 1.4.3 Contrast (Minimum), AA
Large text: at least 18pt, or 14pt bold (about 24px / 18.5px) 3:1 1.4.3, AA
UI component boundaries and states, meaningful graphics, focus indicators 3:1 against adjacent colors 1.4.11 Non-text Contrast, AA
Enhanced (optional) 7:1 / 4.5:1 large 1.4.6, AAA

W3C states ratios are not rounded: 4.499:1 fails 4.5:1. Logos and purely decorative text are exempt. Check text over images or gradients at the lowest-contrast point.

Step 3: Keep Focus Visible and Unobscured

/* Never remove focus without replacing it */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

Read the full file on GitHub · 164 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. 26d ago First seen · 164 lines · 126 tokens per session scan A a9f8bf149c5c

Subscribe to this mod's changes

accessible-by-default is a skill published in the GitHub repository latestaiagents/agent-skills (6 stars, last pushed 26d ago), licensed MIT. It adds 126 tokens to every session and 2,024 once invoked, about $0.0005 per session on Opus 5.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-11-04.

Related

accessible-by-default compared with skills from other repositories

accessible-by-default next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
accessible-by-defaultlatestaiagents/agent-skillsSkill626d agoMITA126Claude Code
ai-design-taste-frontendskillsaiagent/aiskillsSkill55mo agononeA80Codex
ai-extract-design-systemskillsaiagent/aiskillsSkill55mo agononeA73Codex
ai-frontend-designskillsaiagent/aiskillsSkill55mo agononeA72Codex
moai-design-toolsmodu-ai/moai-adkSkill1.3ktodayApache-2.0A45Claude Code
mcp-host-styling-integrationa5c-ai/babysitterSkill1.9k28d agoMITA44Claude Code
moai-ref-ui-polishmodu-ai/moai-adkSkill1.3ktodayApache-2.0A98Claude Code