Skip to content
affaan-m avatar

Frontend A11y

Accessibility patterns for React and Next.js covering forms, ARIA, semantic HTML, and keyboard navigation.

CCM score
75 of 100
skills.sh installs
8.4K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers form labeling, required fields, and error messages, with htmlFor, aria-describedby, and aria-invalid wiring
  • Includes semantic HTML guidance for buttons, anchors, and heading order, plus ARIA usage for live regions and expandable sections
  • Provides keyboard-operable patterns such as a custom dropdown handling arrow keys, Enter, Space, and Escape
  • Designed for building or reviewing forms, modals, dropdowns, tooltips, and tabs in React and Next.js components

Install

$ npx -y skills add affaan-m/ecc --skill frontend-a11y -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Frontend Accessibility Patterns

Practical accessibility patterns for React and Next.js. Covers the issues most commonly flagged in code review: missing form labels, incorrect ARIA usage, non-semantic interactive elements, and broken keyboard navigation.

When to Activate

  • Building or reviewing form components (<input>, <select>, <textarea>)
  • Creating interactive elements (modals, dropdowns, tooltips, tabs)
  • Using <div> or <span> with onClick
  • Adding aria-* attributes to any element
  • Implementing keyboard navigation or focus management
  • Receiving accessibility feedback from code review tools (CodeRabbit, ESLint a11y)
  • Building components that must support screen readers

Form Accessibility

Missing htmlFor / id pairing and disconnected error messages are the most common issues flagged in code review.

Label Connection

// BAD: label has no connection to input — screen readers cannot associate them
<label>Email</label>
<input type="email" />

// GOOD: htmlFor matches input id
<label htmlFor="email">Email</label>
<input id="email" type="email" />

Required Fields

Details

Repository
github.com/affaan-m/ecc
Category
Frontend & UI Code
First seen
Jul 14, 2026

Questions

What does the frontend-a11y skill help with?

The frontend-a11y skill gives accessibility patterns for React and Next.js, covering semantic HTML, ARIA attributes, form labeling, keyboard navigation, focus management, and screen reader support. It applies when building or reviewing forms, modals, dropdowns, tooltips, or tabs.

How do I install the frontend-a11y skill?

Run npx -y skills add affaan-m/ecc --skill frontend-a11y -y in your project. After that, the agent can check form labels, error message links, and keyboard handling in your React or Next.js components.

Which skills lead the Frontend & UI Code category, and where does frontend-a11y stand?

Frontend-a11y sits in the Frontend & UI Code category alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. Where those skills cover broader React and design guidance, frontend-a11y focuses on accessibility patterns for interactive components.

Does the frontend-a11y skill cover accessible forms in React?

Yes, the skill covers form accessibility, including connecting labels to inputs with htmlFor and id, marking required fields, and linking error messages with aria-describedby and aria-invalid. It includes a complete accessible login form example.

More from affaan-m/ecc

All 257

Similar to Frontend A11y

More Frontend & UI Code