sairam0424/mindforge/accessibility
Claude Code and agent skill by sairam0424/mindforge
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install sairam0424/mindforge/accessibilitySKILL.md
The same SKILL.md was published earlier as sairam0424/mindforge/accessibility.
Skill — Accessibility Engineering
When this skill activates
Any task involving UI components, forms, interactive elements, or user-facing HTML. Load this skill for ALL frontend work — accessibility is not optional.
Mandatory standard
WCAG 2.2 Level AA is the minimum. This is the legal requirement in most jurisdictions. Level AAA elements (where achievable without design compromise) are recommended.
Mandatory actions when this skill is active
Before writing any UI component
- Identify the semantic HTML element that best represents the component.
Use native HTML before ARIA. A <button> is always better than a <div role="button">.
- Map all interactive states: default, hover, focus, active, disabled, error, loading.
- Confirm colour contrast meets WCAG AA:
- Normal text: contrast ratio ≥ 4.5:1
- Large text (≥ 18pt or ≥ 14pt bold): contrast ratio ≥ 3:1
- UI components and graphics: contrast ratio ≥ 3:1
HTML semantics checklist (apply to every component)
Structure:
- [ ] One
<h1>per page. Heading hierarchy is sequential (h1 → h2 → h3, never skip levels) - [ ] Landmark roles present:
<main>,<nav>,<header>,<footer>,<aside> - [ ] Skip navigation link as the first focusable element on every page
- [ ] Focus order follows DOM order (do not rely on visual layout to imply order)
Forms:
- [ ] Every input has a visible
<label>(not just placeholder text) - [ ] Label is programmatically associated:
<label for="id">oraria-labelledby - [ ] Required fields marked:
requiredattribute + visual indicator + aria description - [ ] Error messages:
role="alert"oraria-live="polite", associated with field viaaria-describedby - [ ] Validation errors describe the problem AND the fix, not just "Invalid input"
Interactive components:
- [ ] All interactive elements reachable by Tab key
- [ ] Focus visible: never
outline: nonewithout a custom visible focus style - [ ] Keyboard shortcuts documented and not conflicting with browser/OS shortcuts
- [ ] Custom widgets implement the correct ARIA pattern (see ARIA Authoring Practices Guide)
- [ ] Required ARIA props present when using roles (examples below)
Images and media:
- [ ] Decorative images:
alt=""(empty string, not omitted) - [ ] Informative images:
altdescribes the information conveyed - [ ] Complex images (charts, diagrams):
aria-describedbypointing to a full text description - [ ] Videos: captions required. Audio descriptions for visual-only information.
Dynamic content:
- [ ] Content that updates dynamically:
aria-live="polite"(non-critical) oraria-live="assertive"(critical) - [ ] Modals/dialogs: focus moves to modal on open, returns to trigger on close,
aria-modal="true" - [ ] Loading states:
aria-busy="true"on the container being updated - [ ] Reduced motion respected:
prefers-reduced-motiondisables non-essential animation
ARIA usage rules
- Use ARIA only when no native HTML element conveys the role
- ARIA roles override native semantics — applying a role to
<button>changes it - Required ARIA properties: never use a role without its required properties
(e.g., role="checkbox" requires aria-checked)
- Never use
aria-hidden="true"on focusable elements
ARIA required properties examples
role="checkbox"→aria-checkedrole="switch"→aria-checkedrole="textbox"(non-input element) →aria-multiline(if multiline)role="combobox"→aria-expanded,aria-controls,aria-haspopuprole="dialog"→aria-modal,aria-labelledby(andaria-describedbywhen needed)
Testing protocol
Self-check before task completion
- [ ] Ran
@axe-core/cli— zero violations - [ ] Keyboard navigation tested manually
- [ ] All interactive elements have accessible names
- [ ] Colour contrast meets 4.5:1 for text
- [ ] Focus management correct for modals and dynamic content
- [ ] No
aria-hiddenon focusable elements
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.mindforge/skills/accessibility/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sairam0424/mindforge/accessibility)