Better Accessibility logo

Better Accessibility

Community
hsynozdamar-byte
better-accessibility

UI accessibility to WCAG 2.2 AA: focus, keyboard, ARIA, forms, live regions, target sizes. Use when building interactive UI or auditing a screen or component.

Overview

Publisherhsynozdamar-byte
Repositoryclaude-skills-edited
Skill namebetter-accessibility
Stars
63
Forks
1
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hsynozdamar-byte on GitHub. Read the source before you install it.

Installation

Install the Better Accessibility AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-accessibility
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hsynozdamar-byte/claude-skills-edited.git /tmp/claude-skills-edited
mkdir -p .claude/skills
cp -r /tmp/claude-skills-edited/skills/better-accessibility .claude/skills/better-accessibility
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Better Accessibility in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Better Accessibility on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Better Accessibility is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Accessibility

Most accessibility is free if you use the platform: native elements bring keyboard support and roles, real labels announce themselves, and a focus ring is one CSS rule. When unsure, take the platform default over a custom rebuild, and remove ARIA rather than add it.

These are minimums, not style. Visual treatment (ring color, hit-area technique, motion) follows the project's design, but the floors below hold. Write fixes in the project's styling system and its existing primitives (Radix, Base UI, React Aria). Color measurement belongs to better-colors.

A review is two walks: keyboard only (every flow completes without a mouse), then screen reader (every control announces name, role and state).

Floors

  • Contrast (WCAG AA): text 4.5:1, large text (24px, or 18.5px bold) 3:1, UI components and focus indicators 3:1. Never color alone: pair status color with an icon, text or underline.
  • Targets: 24×24 CSS px minimum (WCAG 2.5.8), or a spacing exception: a 24px circle centered on each small target touches no other target. Aim for 44×44 on touch, 40×40 on desktop when density allows.
  • Focus: visible on every focusable element via :focus-visible. Prefer the browser ring plus outline-offset: 2px. A custom ring is at least a 2px solid perimeter, checked against every color it crosses. Never outline: none without a verified replacement.
  • Zoom: works at 200% and reflows at 320px wide without horizontal scroll (tables, maps, code scroll in their own box). Use min-height, not fixed height, on text containers. Never cap zoom in the viewport meta.
  • Names: every control has an accessible name; visible label text is part of it (WCAG 2.5.3: a "Send" button can't be aria-label="Submit message").

Rules that are commonly wrong

  • <button> for actions, <a href> for navigation (must support Cmd/Ctrl/middle-click). Never <div onClick>. A "button" that navigates is a styled <a>.
  • tabindex is only 0 or -1; positive values break page order. Composite widgets (tabs, menus, toolbars, radio groups) are one Tab stop with roving tabindex; arrows move within, Tab moves between.
  • A role is a promise of the full keyboard model. role="menu" on site nav is wrong; use <nav> with a list.
  • Modals: prefer native <dialog> with showModal(). Otherwise inert on the background, role="dialog", aria-modal="true", aria-labelledby. Focus inside on open (least destructive action for confirms), Escape closes, focus returns to the trigger. overscroll-behavior: contain.
  • aria-hidden="true" never on or above a focusable element. Decorative icons and layers get it; decorative layers over controls also need pointer-events: none.
  • Inputs: a <label> (placeholder is never a label), meaningful autocomplete, correct type/inputmode. Never block paste. Label and control share one hit target.
  • Errors: keep submit enabled and validate on submit. Failing field gets aria-invalid="true" and aria-describedby to inline error text; focus the first invalid field. While submitting, disable and show a spinner beside the original label.
  • Disabled: native disabled when truly unavailable. A tooltip on a disabled control never shows; use visible text beside it or aria-disabled="true" (then block activation in code and style it). Never both.
  • Announcements: if focus moves there, nothing extra. Field-specific: aria-describedby. Non-urgent (toasts, "Saved", counts): role="status", rendered empty before text arrives. Urgent untied errors only: role="alert". Never move focus to a toast.
  • Alt by purpose: decorative alt="" (present, empty); informative describes meaning; functional describes the action (alt="Search", not "magnifying glass"). Missing alt reads the file name.
  • Structure: one visible <main>, headings in an outline, a "Skip to content" link first when chrome precedes main, scroll-margin-top on anchor targets. SPA route change: update document.title, focus the new <h1> (tabindex="-1") or <main>.
  • Motion: opt in with @media (prefers-reduced-motion: no-preference). Under reduce, swap slides and scales for opacity, kill parallax and autoplay; keep spinners and instant state changes. Anything moving over 5 seconds needs a visible pause. Toasts with an action or error stay until dismissed.
  • Touch: gate hover styles with @media (hover: hover) so they don't latch after a tap.

References

Reporting

Severity: HIGH blocks a task, hides content from assistive tech, or is systemic; MEDIUM makes an interaction meaningfully harder; LOW is polish. One row per root cause, ordered by severity:

SeverityLocationBeforeAfterWhy

Mark checks you could not run as Not verified. End with Block if any HIGH remains, otherwise Approve. With nothing to report, say "No actionable accessibility findings".

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Better Accessibility AI skill do?

UI accessibility to WCAG 2.2 AA: focus, keyboard, ARIA, forms, live regions, target sizes. Use when building interactive UI or auditing a screen or component.

Why use Better Accessibility on TypingMind?

Because you install it once and use it with any model. Better Accessibility is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Better Accessibility in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-accessibility. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Better Accessibility?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Better Accessibility?

As many as you like. As long as a model supports skills, you can use Better Accessibility with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Better Accessibility AI skill free?

It is published on GitHub by hsynozdamar-byte. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇