Agent skill

Better Accessibility

by boraoztunc in boraoztunc/skills

Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers.

Apache-2.0Auto-check passedFrontend & Design

Install Better Accessibility

skills CLI
$ npx skills add boraoztunc/skills --skill better-accessibility -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install boraoztunc/skills better-accessibility --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/boraoztunc/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/better-accessibility .claude/skills/better-accessibility && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
better-accessibility
GitHub stars
397
Token cost
~2.4k tokens
SKILL.md length
1,256 words
Files
8
Skills in repo
52
Repo updated
First seen
Licence
Apache-2.0

At a glance

Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers.

  • Works in 12 steps: Native Elements First → Visible Focus Rings → Full Keyboard Support → …
  • Reviewing UI components
  • SKILL.md covers Quick Reference, Core Principles, Common Mistakes and Reporting
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Better Accessibility is an agent skill from boraoztunc/skills. Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers. Use when building or reviewing UI components, modals, menus, forms, custom widgets, or when the user says "make this accessible" or reports keyboard or screen-reader issues. Triggers on accessibility, a11y, WCAG, aria, focus ring, focus-visible, focus trap, keyboard navigation, tab order, tabindex, screen reader, sr-only, aria-live, alt text, hit area, touch target, pointer-events, hover on…

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files (for example `focus-and-keyboard.md`, `forms.md` and `hit-areas.md`).

It sits in Frontend & Design, covering Accessibility. The repository describes itself as: Claude Code skills for copywriting, SEO, design, and more. The licence is Apache-2.0.

When your agent uses it

  • Reviewing UI components
  • The user says make this accessible
  • Reports keyboard
  • Screen-reader issues

Example prompts

  • “make this accessible”
  • “not keyboard accessible”
  • “/better-accessibility”

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Native Elements First
  2. Visible Focus Rings
  3. Full Keyboard Support
  4. Trap and Restore Focus
  5. Minimum Hit Area
  6. Label and Type Every Control
  7. Errors That Announce
  8. Accessible Names Everywhere
  9. Don't Rely on Color Alone
  10. Honor prefers-reduced-motion
  11. Announce Dynamic Content
  12. Alt Text by Purpose

What it can do on your machine

Read from SKILL.md and the folder at commit 645553c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Better Accessibility loads about 2.4k tokens when it runs. Until then it costs about 173 tokens; SKILL.md has 1,256 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~173
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from boraoztunc/skills at commit 645553c, republished under its Apache-2.0 licence (© boraoztunc). 1,256 words, ~2,399 tokens.

Download SKILL.mdSave it as .claude/skills/better-accessibility/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
better-accessibility
description
Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers. Use when building or reviewing UI components, modals, menus, forms, custom widgets, or when the user says "make this accessible" or reports keyboard or screen-reader issues. Triggers on accessibility, a11y, WCAG, aria, focus ring, focus-visible, focus trap, keyboard navigation, tab order, tabindex, screen reader, sr-only, aria-live, alt text, hit area, touch target, pointer-events, hover on touch, prefers-reduced-motion, autoplay, toast duration, skip link, semantic HTML, aria-label, form errors, disabled buttons, "not keyboard accessible".

Accessibility that comes with the craft

Accessibility is not a compliance checkbox bolted on at the end; it is the floor for interface craft. Most of it is free if you use the platform: native elements ship with keyboard support, real labels announce themselves, and a visible focus ring is one CSS rule. Apply these principles when building or reviewing UI code, and write every fix in the project's own idiom: the styling system already in use, never a second one alongside it.

When reviewing, walk the interface as a keyboard-only user first (every flow must complete without a mouse), then as a screen-reader user: does each control announce a name, a role, and its state? When unsure, prefer the platform default over a custom rebuild, and remove ARIA rather than add it.

Rendered-pair contrast measurement and color remediation are covered by the better-colors skill; visual text sizing and iOS input zoom by better-typography; spatial RTL layout by better-layout.

Quick Reference

CategoryWhen to Use
Focus & KeyboardFocus rings, skip links, tabindex, focus trapping, APG keyboard patterns
Semantics & ARIANative elements first, button vs link, landmarks, accessible names, disabled states
FormsLabels, autocomplete, error messaging, input types
Screen ReadersVisually hidden content, live regions, toasts, alt text, SVG
Hit AreasTarget sizes, expanding hit areas, collision rules
Motion & Zoomprefers-reduced-motion, autoplay and timed UI, 200% zoom, reflow, rem vs px
Review Output FormatSeverity scale, findings table, verification, verdict

Core Principles

1. Native Elements First

The first rule of ARIA: don't use ARIA when a native element exists. <button> for actions, <a href> for navigation (it must support Cmd/Ctrl/middle-click), never <div onClick>. No ARIA is better than bad ARIA.

2. Visible Focus Rings

Style :focus-visible, not bare :focus, so keyboard users get a ring and mouse users usually don't. Prefer the browser's unmodified focus indicator. If the design needs a custom ring, use a project focus token or another explicit color and verify the complete indicator against every adjacent color it crosses; currentColor is acceptable only after the same check. Use at least a 2px solid perimeter or an equivalent visible area. Never use outline: none without a verified replacement, and preserve system colors in forced-colors mode.

3. Full Keyboard Support

Every pointer interaction needs a keyboard path, following the ARIA APG patterns: Escape closes overlays, arrow keys move within composite widgets (tabs, menus, listboxes), Tab moves between widgets, Enter and Space activate. Only tabindex="0" (join the natural tab order) and tabindex="-1" (programmatic focus), never positive values, which break the natural order. Composite widgets use roving tabindex: the active item is 0, all others -1.

4. Trap and Restore Focus

Modals set inert on the background content, move focus inside on open, and return focus to the trigger on close. Add overscroll-behavior: contain so background content doesn't scroll.

5. Minimum Hit Area

WCAG 2.5.8's Level AA baseline is a 24×24 CSS-pixel target or one of its defined spacing, equivalent-control, inline, user-agent, or essential exceptions. For easier activation, aim for 44×44px in touch contexts and 40×40px in desktop interfaces when density permits. Extend with a pseudo-element if the visible element should stay smaller. Never let extended hit areas overlap, and give decorative layers pointer-events: none so a glow or gradient never swallows the clicks meant for the control beneath it.

6. Label and Type Every Control

Every input gets a <label for> or wrapping <label>; a placeholder is never a label, and label and control share one hit target: no dead zones between a checkbox and its text. Add autocomplete with a meaningful name, and the correct type and inputmode for the keyboard. Never block paste; users paste passwords and one-time codes.

7. Errors That Announce

Keep submit enabled until the request starts, then disable with a spinner while keeping the original label. Validate on submit: mark failing fields with aria-invalid="true", point aria-describedby at the inline error text, and focus the first invalid field. Use native disabled when a native control is genuinely unavailable. Use aria-disabled="true" only when retaining focusability or discoverability is intentional; then block pointer, keyboard, and form behavior in code and style the state explicitly.

8. Accessible Names Everywhere

Icon-only buttons need a descriptive aria-label. Visible label text must appear in the accessible name. Decorative elements get aria-hidden="true", never on a focusable element.

9. Don't Rely on Color Alone

Status needs a redundant cue: icon, text, or underline alongside the color. Determine which WCAG contrast requirement applies from the content and state, then use better-colors to measure the rendered foreground/background pair. When contrast fails, report the pair and requirement it misses; do not change the project's colors unless asked.

Show full SKILL.md (485 more words)Show less
10. Honor prefers-reduced-motion

Wrap motion in @media (prefers-reduced-motion: no-preference) so it is opt-in. Under reduced motion, replace slides and scales with opacity crossfades; kill parallax and autoplay entirely. Independent of the preference: autoplaying media needs a visible pause control, and toasts carrying actions or errors stay until dismissed.

11. Announce Dynamic Content

Use aria-describedby for field-specific validation, a polite live region (role="status") for non-urgent updates not tied to a control such as toasts or result counts, and role="alert" only for urgent errors not tied to a control. For reliable repeated polite announcements, render a stable empty region before updating its text; dynamically inserted alerts have different support and must be tested with the target screen readers.

12. Alt Text by Purpose

Decorative images get alt="", informative images describe the meaning, functional images describe the action: a search icon button is alt="Search", not alt="magnifying glass".

13. Structure Is Navigation

Use headings that describe their sections and form a coherent outline; one page-level <h1> and properly nested levels are the recommended default, not standalone WCAG pass/fail rules. Expose one visible primary <main> landmark. When repeated navigation or chrome precedes it, make a "Skip to content" link the first focusable element. Anchored headings get scroll-margin-top.

14. Survive Zoom and Text Resize

The page must work at 200% zoom and reflow at 320px width without horizontal scrolling. Use min-height instead of fixed height on text containers, prefer rem breakpoints where they fit the codebase's conventions, and keep the viewport meta from capping how far the reader can zoom.

Common Mistakes

MistakeFix
outline: none to remove the focus ringStyle :focus-visible instead; mouse clicks won't show it
Custom focus color assumed to work everywhereVerify the full indicator against every adjacent color and in forced-colors mode
<div onClick> for a button or link<button> for actions, <a href> for navigation
Placeholder used as the only labelAdd a visible <label for>; placeholders disappear on input
Positive tabindex to fix focus orderFix the DOM order; only use 0 and -1
Repeated polite update inconsistently announcedKeep a stable empty status region and update its text; test the target screen readers
assertive live region for a routine toastUse polite; reserve assertive for errors
aria-hidden="true" on a focusable elementRemove it or make the element non-focusable
Functional icon alt describes the pictureDescribe the action: alt="Search", not alt="magnifying glass"
Submit disabled until the form is validKeep it enabled; validate on submit and focus the first error
Decorative glow or gradient swallowing clickspointer-events: none on the layer, plus aria-hidden="true"
Hover treatment stuck after a tap on touchGate hover styling with @media (hover: hover)
Tooltip on a natively disabled controlPersistent text beside it, or aria-disabled so it stays focusable

Reporting

A standalone accessibility review is finished when every confirmed finding is reported in the format in review-output.md, with verification and a verdict. Under better-interface, its format governs instead.

© boraoztunc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files in better-accessibility of boraoztunc/skills.

  • SKILL.md
  • focus-and-keyboard.md
  • forms.md
  • hit-areas.md
  • motion-and-zoom.md
  • review-output.md
  • screen-readers.md
  • semantics-and-aria.md

Open the folder on GitHubat commit 645553c

Compare with similar skills

Better Accessibility next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Better Accessibility compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Better Accessibility this skillboraoztunc/skills397—~2.4kAutomated safety check: PassApache-2.0
Web Interface Guidelines Reviewervercel-labs/openreview1.7k97 repos~308Automated safety check: PassNone
Accessibility Reviewmarkmead/hyperui12k1 repos~1.1kAutomated safety check: PassMIT
Web Animation DesignbaptisteArno/typebot.io11k2 repos~2.7kAutomated safety check: PassCustom licence
Accessibility Fixeribelick/ui-skills9.5k4 repos~1.2kAutomated safety check: PassMIT
Wcag Audit PatternsvmDeshpande/ai-agent-automation17811 repos~610Automated safety check: PassApache-2.0

Similar skills

  • Web Interface Guidelines Reviewer

    vercel-labs/openreview

    Official

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…

    1.7k GitHub starsUsed in 97 repos~308 tokens
    Frontend & DesignAuto-check passed
  • Accessibility Review

    markmead/hyperui

    Run a WCAG 2.1 AA accessibility audit on a design or page. An agent skill from markmead/hyperui.

    12k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • Web Animation Design

    baptisteArno/typebot.io

    Guides easing, timing and animation choices for UI motion, based on a web animation course, and reviews existing animations in a before-and-after table.

    11k GitHub starsUsed in 2 repos~2.7k tokens
    Frontend & DesignAuto-check passed
  • Accessibility Fixer

    ibelick/ui-skills

    Audits and fixes HTML accessibility problems such as ARIA labels, keyboard navigation, focus management, contrast and form errors with minimal changes.

    9.5k GitHub starsUsed in 4 repos~1.2k tokens
    Frontend & DesignAuto-check passed
  • Wcag Audit Patterns

    vmDeshpande/ai-agent-automation

    Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance.

    178 GitHub starsUsed in 11 repos~610 tokens
    Frontend & DesignAuto-check passed
  • Baseline UI

    ibelick/ui-skills

    Applies a fixed set of UI rules for stack, components, interaction, animation, typography and layout, or reviews a file against them with concrete fixes.

    9.5k GitHub starsUsed in 8 repos~855 tokens
    Frontend & DesignAuto-check passed

More from boraoztunc/skills

All 52 skills in this repo
  • Gsap

    boraoztunc/skills

    GSAP animation reference for HyperFrames. An agent skill from boraoztunc/skills.

    397 GitHub starsUsed in 5 repos~1.9k tokens
    Auto-check passed
  • Hyperframes

    boraoztunc/skills

    Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML.

    397 GitHub starsUsed in 9 repos~7.6k tokens
    Auto-check passed
  • Remotion To Hyperframes

    boraoztunc/skills

    Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition.

    397 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Animejs

    boraoztunc/skills

    Anime.js adapter patterns for HyperFrames. An agent skill from boraoztunc/skills.

    397 GitHub starsUsed in 2 repos~828 tokens
    Auto-check passed
  • Beam Glow States

    boraoztunc/skills

    Create React loading, processing, selected, current, focus, and pressed states with the border-beam package's animated edge glow.

    397 GitHub starsUsed in 2 repos~3.2k tokens
    Auto-check passed
  • Minimal Zine Poster

    boraoztunc/skills

    Compile a theme, sentence, object, mood, article idea, or photo into a quiet Japanese/Korean zine-style editorial poster — tall aged paper, large negative space, one small image anchor, experimental…

    397 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Better Accessibility

What does Better Accessibility do?

Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers. Better Accessibility is an agent skill from boraoztunc/skills. Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers.

When should I use Better Accessibility?

Better Accessibility fits situations like: reviewing UI components; the user says make this accessible; reports keyboard; screen-reader issues.

How do I install Better Accessibility in Claude Code?

Run `npx skills add boraoztunc/skills --skill better-accessibility -a claude-code`. Or copy the skill folder (better-accessibility in boraoztunc/skills) into .claude/skills/better-accessibility in your project. Claude Code loads it when a task matches its description.

How do I install Better Accessibility in Codex?

Run `npx skills add boraoztunc/skills --skill better-accessibility -a codex`. Or copy the skill folder (better-accessibility in boraoztunc/skills) into .agents/skills/better-accessibility in your project. Codex loads it when a task matches its description.

Can I use Better Accessibility in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add boraoztunc/skills --skill better-accessibility -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/better-accessibility, .gemini/skills/better-accessibility, .github/skills/better-accessibility and .opencode/skills/better-accessibility in your project.

What does Better Accessibility need to run?

SKILL.md names no scripts, command-line tools or credentials: Better Accessibility is instructions for the agent only.

Does Better Accessibility access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Better Accessibility safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Better Accessibility use?

Better Accessibility is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Better Accessibility use?

About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Better Accessibility?

Skills that share tags, products or a category with Better Accessibility: Web Interface Guidelines Reviewer (vercel-labs/openreview, 1.7k stars), Accessibility Review (markmead/hyperui, 12k stars), Web Animation Design (baptisteArno/typebot.io, 11k stars) and Accessibility Fixer (ibelick/ui-skills, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Better Accessibility?

boraoztunc (a GitHub user) maintains it in boraoztunc/skills, which has 397 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on August 15, 2026.

Source: boraoztunc/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.