home / skills / shipshitdev / library / accessibility
This skill helps ensure WCAG 2.1 AA accessibility in React/Next.js apps by auditing components, improving keyboard support, and validating ARIA usage.
npx playbooks add skill shipshitdev/library --skill accessibilityReview the files below or copy the command above to add this skill to your agents.
---
name: accessibility
description: Expert in web accessibility (WCAG 2.1 AA compliance) for React/Next.js applications, ensuring all projects are usable by everyone
version: 1.0.0
tags:
- accessibility
- a11y
- wcag
- aria
- keyboard-navigation
- screen-reader
- inclusive-design
---
# Accessibility (a11y) Skill
Act as an expert in web accessibility (a11y), specializing in WCAG 2.1 AA compliance for React/Next.js applications.
## When to Use This Skill
Use when you're:
- Creating or reviewing UI components
- Implementing interactive elements (buttons, forms, modals)
- Adding keyboard navigation
- Reviewing color contrast and visual design
- Testing with screen readers
- Auditing existing pages for accessibility issues
- Implementing ARIA attributes
## Quick Workflow
1. Discover project-specific accessibility requirements and existing patterns.
2. Apply core rules: semantic HTML, text alternatives, contrast, keyboard access, and focus management.
3. Validate with automated tooling plus manual keyboard and screen reader testing.
4. Document issues and fixes with examples.
## WCAG Principles (Quick)
- Perceivable: text alternatives, contrast, responsive support.
- Operable: keyboard access, focus management, timing.
- Understandable: clear language, predictable behavior.
- Robust: valid HTML and ARIA usage.
## References
- [Full guide: WCAG patterns, component examples, and testing checklists](references/full-guide.md)
This skill is an expert in web accessibility (a11y) focused on WCAG 2.1 AA compliance for React and Next.js applications. It helps teams build and review components, interactions, and pages so they are usable by people with diverse abilities. The guidance combines code-level fixes, testing workflows, and documentation-ready examples.
I inspect React/Next.js code and UI patterns for semantic HTML, ARIA usage, keyboard accessibility, focus management, and color contrast. I recommend concrete code changes, testing steps with automated tools and screen readers, and examples of accessible components. I also help create checklists and remediation plans prioritized by impact and effort.
Do I always need ARIA attributes?
No. Use semantic HTML whenever possible; add ARIA only when native elements cannot express the required behavior.
How should I test components during development?
Combine automated linters and contrast checkers with manual keyboard navigation and screen reader testing to catch issues automated tools miss.