framework-accessibility

Provide accessibility patterns and code fixes for React, Next.js, Vue, Angular, Svelte, and Tailwind CSS.

Updated Jan 29, 2025
One-click install
npx skills add https://github.com/ryan0122/a11ypros --skill framework-accessibility-ryan0122
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: framework-accessibility
Source: https://github.com/ryan0122/a11ypros/tree/main/.github/skills/framework-accessibility
Command: npx skills add https://github.com/ryan0122/a11ypros --skill framework-accessibility-ryan0122

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses common accessibility pitfalls and provides solutions for developers working with popular web frameworks, ensuring their applications are usable by everyone.

Core Features & Use Cases

  • Framework-Specific Guidance: Offers detailed patterns, common issues, and fix templates for React/Next.js, Vue, Angular, Svelte, and Tailwind CSS.
  • Code Snippets: Provides "before" and "after" code examples to illustrate accessibility fixes.
  • Use Case: A developer building a React component encounters an accessibility issue with a custom dropdown. They can consult this Skill to find the specific React pitfalls and corresponding code fixes to make the dropdown keyboard-navigable and screen-reader friendly.

Quick Start

Use the framework-accessibility skill to find accessibility fixes for React components.

Frequently Asked Questions about framework-accessibility

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix keyboard accessibility issues in React components?

To fix keyboard accessibility issues in React components, you need to implement proper focus management and keyboard event handling. This Skill provides framework-specific code fix templates that illustrate common React pitfalls, offering before and after code examples to make custom UI elements like dropdowns fully keyboard-navigable and screen-reader friendly.

What are common ARIA implementation pitfalls in Angular and Vue?

Common ARIA implementation pitfalls in Angular and Vue involve incorrect roles, missing state attributes, and improper focus management. This Skill identifies these framework-specific accessibility issues and provides code remediation examples, ensuring your dynamic UI components correctly expose state changes to assistive technologies.

Can I use Tailwind CSS to resolve color contrast ratio accessibility issues?

Yes, you can use Tailwind CSS to resolve color contrast ratio issues by applying appropriate utility classes. This Skill offers specific accessibility patterns and code fix templates for Tailwind CSS, helping you adjust foreground and background colors to meet compliance standards and improve visual readability.

How do I manage focus correctly when navigating routes in Next.js and Svelte?

Managing focus correctly when navigating routes in Next.js and Svelte requires resetting focus to the main content area or new page header after route changes. This Skill provides framework-specific accessibility patterns and code examples to handle focus management, ensuring screen reader users are notified of page transitions.

Does this Skill provide before and after code examples for web accessibility fixes?

Yes, this Skill provides before and after code examples to illustrate web accessibility fixes across React, Next.js, Vue, Angular, Svelte, and Tailwind CSS. These code snippets demonstrate how to remediate common issues like keyboard navigation, ARIA implementation, and contrast ratios within your existing components.

Why does my custom dropdown fail screen reader tests in Vue and how do I fix it?

Custom dropdowns fail screen reader tests in Vue due to missing ARIA attributes and incomplete keyboard event handling. This Skill helps you fix these accessibility issues by providing Vue-specific code fix templates that demonstrate how to add proper roles, keyboard navigation, and focus management to your components.