accessibility-basics

accessibility-basics is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 36 tokens per session (1,111 once invoked), scanned A, original, Apache-2.0.

A set of rules for building web interfaces that people can use with keyboards, screen readers, and different visual abilities. It covers meaningful HTML, labels, keyboard focus, and status signals beyond colour.

In plain words
What is it for?
Use it when creating or changing buttons, forms, menus, dialogs, headings, and other interface components.
Why use it?
It prevents common access barriers such as unlabeled buttons, mouse-only controls, trapped keyboard focus, and low-contrast or colour-only messages.

Skill for Claude CodeCodex

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

Good fit Use it when creating or changing buttons, forms, menus, dialogs, headings, and other interface components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makifbaysal/tasktrooper/accessibility-basics
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 makifbaysal/tasktrooper --skill accessibility-basics
Clone the repo
git clone --depth 1 https://github.com/makifbaysal/tasktrooper

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/accessibility-basics/github.svg)](https://agentmods.dev/skills/makifbaysal/tasktrooper/accessibility-basics)
Your own site
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/accessibility-basics"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/accessibility-basics/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 accessibility-basics

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/accessibility-basics"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/accessibility-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,111 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.00036 $0.01111
Opus 5.5 $0.00014 $0.00444
Sonnet 5.5 $0.00007 $0.00222
Haiku 4.5 $0.00004 $0.00111

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

Security

Grade A, and why

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

catalog/agents/frontend-developer/skills/accessibility-basics/SKILL.md · 75 lines

How it starts

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

Accessibility Basics

Overview

Accessibility is not a pass at the end — it's built into each component. The recurring defects are div with onClick instead of a button, icon buttons with no label, and custom menus/dialogs that trap keyboard users.

Core principle: Semantic HTML and the accessible primitives do most of the work — reach for them first.

Rules

  • Semantic HTML first: button for actions, a for navigation, headings in order with exactly one <h1> per page. A div with onClick is a defect (no keyboard, no role).
  • Every control is labeled: every form control has an associated <label>; every icon-only button has an aria-label; decorative icons are aria-hidden.
  • Dialogs and menus are keyboard-navigable: focus moves in on open, is trapped while open, and returns to the trigger on close — the Radix primitives do this, so use them instead of hand-rolling.
  • Visible focus everywhere: never remove an outline without a replacement :focus-visible style; sticky/fixed elements never cover the focus ring.
  • Color is never the only signal: pair status with an icon or text; keep contrast ≥4.5:1 for body text and ≥3:1 for large text, in both themes.
  • Touch and zoom: hit targets ≥44px on phone / ≥24px on desktop (pad a smaller visual out to that size); a checkbox or radio shares one hit target with its label (<label> wrapping both, or htmlFor) so the combined row reaches 44px with no dead zone between box and text; <input> font size ≥16px on phones to stop iOS auto-zoom; never disable browser zoom (user-scalable=no, maximum-scale=1).
  • Motion: respect prefers-reduced-motion via motion-reduce: on any animation you add; smooth anchor scrolling only as motion-safe:scroll-smooth on <html>, never unconditional scroll-behavior: smooth.
  • Structure for screen readers: page landmarks (header, nav, main, footer), a skip-to-content link before the nav, scroll-margin-top on anchor targets sitting under a sticky header, and lang on <html> matching the active locale.
  • Live regions: toasts and inline validation messages use aria-live="polite" so assistive tech announces them without stealing focus.
  • Forms: on submit, move focus to the first invalid field; its error is linked with aria-describedby and the field carries aria-invalid.

Read the full file on GitHub · 75 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 · 75 lines · 36 tokens per session scan A bf9e7fc4b343

Subscribe to this mod's changes

accessibility-basics is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 36 tokens to every session and 1,111 once invoked, about $0.0001 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-10-05.

Related

Other skills, from other repositories

web-prototype

General-purpose desktop web prototype. Single self-contained HTML file built by copying the seed assets/template.html and pasting section layouts from references/layouts.md. Default for any landing / marketing / docs / SaaS page when no more specific skill matches.

nexu-io/open-design · 59 tokens

design-critique

Give a structured product design critique — user job clarity, hierarchy, affordance, error states, accessibility, and consistency — focused on what to change, in what order, and why.

paperclipai/paperclip · 42 tokens

web-prototype-taste-brutalist

Swiss industrial-print web prototype. Newsprint canvas, monolithic black grotesque, viewport-bleeding numerals, hairline grid dividers, hazard-red accent, ASCII syntax decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Swiss Industrial Print mode).

nexu-io/open-design · 70 tokens

web-design

Penguin visual language for generated web pages and app UIs — GitHub-style simplicity with a single blue accent, light and pure-black dark themes, design tokens, component and chat-interface recipes, plus an opt-in warm paper editorial theme.

Prism-Shadow/penguin-harness · 51 tokens

mockuplm

Create visual UX mockups using HTML/CSS files (.mockup.html). Use when the user wants to design UI, wireframes, visual layouts, or plan features visually.

nimbalyst/nimbalyst · 39 tokens

moai-design-tools

Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.

modu-ai/moai-adk · 45 tokens