sairam0424/mindforge/accessibility

Claude Code and agent skill by sairam0424/mindforge

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install sairam0424/mindforge/accessibility

SKILL.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
  1. 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">.

  1. Map all interactive states: default, hover, focus, active, disabled, error, loading.
  2. 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"> or aria-labelledby
  • [ ] Required fields marked: required attribute + visual indicator + aria description
  • [ ] Error messages: role="alert" or aria-live="polite", associated with field via aria-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: none without 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: alt describes the information conveyed
  • [ ] Complex images (charts, diagrams): aria-describedby pointing 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) or aria-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-motion disables 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-checked
  • role="switch" → aria-checked
  • role="textbox" (non-input element) → aria-multiline (if multiline)
  • role="combobox" → aria-expanded, aria-controls, aria-haspopup
  • role="dialog" → aria-modal, aria-labelledby (and aria-describedby when needed)
Testing protocol
bash
# Automated testing (catches ~30-40% of issues)
npx @axe-core/cli https://localhost:3000
# Keyboard testing (manual — must be done for every interactive component)
# 1. Tab through every interactive element — order must be logical
# 2. Activate every control with Enter/Space — must work
# 3. Navigate dropdowns/menus with arrow keys
# 4. Escape dismisses modals and dropdowns
# Screen reader testing (minimum: test with NVDA + Chrome on Windows OR
# VoiceOver + Safari on macOS)
# Key checks:
# - Every interactive element announced with role, name, and state
# - Dynamic updates announced appropriately
# - Images described correctly
# Contrast checking
# Install: axe DevTools browser extension or Colour Contrast Analyser

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-hidden on 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sairam0424/mindforge/accessibility/badge)](https://verified-skill.com/skills/sairam0424/mindforge/accessibility)

Something wrong with this skill or its page? Tell us.