WCAG 2.1 AA Accessibility Implementation in React Applications
Complete guide to making a React application accessible following WCAG 2.1 Level AA guidelines.
Ensure the application meets WCAG 2.1 AA accessibility requirements, complying with Brazil's Accessibility Law and expanding the audience reached.
At a glance
Access
Free prompt
Open to copy without upgrading.
Prompt objective
Ensure the application meets WCAG 2.1 AA accessibility requirements, complying with Brazil's Accessibility Law and expanding the audience reached.
Real use case
São Paulo EdTech CursaFácil received a notification from the Public Ministry regarding lack of accessibility on their online course platform. With 45,000 active students, they need to make their React application compliant within 90 days to avoid a R$ 500,000 fine.
Customize these fields first
Replace the placeholders with your own context before you run the prompt. That usually improves the first output more than adding more instructions later.
Prompt
Create a WCAG 2.1 AA accessibility implementation plan for [APPLICATION NAME], a [TYPE] built with React and [UI LIBRARY: Material UI/Chakra/Radix/shadcn].\\\\\\\\n\\\\\\\\n**Context:**\\\\\\\\n- Main pages/screens: [NUMBER]\\\\\\\\n- Audience: [AUDIENCE DESCRIPTION]\\\\\\\\n- Timeline: [NUMBER] days\\\\\\\\n- Legal requirement: Brazil's Accessibility Law (Lei 13.146/2015, also known as Statute of Persons with Disabilities)\\\\\\\\n\\\\\\\\n**1) Initial Audit:**\\\\\\\\n- Automated verification checklist (axe-core, Lighthouse, WAVE)\\\\\\\\n- Mandatory manual tests (keyboard navigation, screen reader)\\\\\\\\n- Testing tools: axe DevTools, NVDA, VoiceOver\\\\\\\\n- Issue classification by severity (critical, serious, minor)\\\\\\\\n\\\\\\\\n**2) Component-Level Fixes:**\\\\\\\\n\\\\\\\\nFor each component below, provide corrected React/TypeScript code:\\\\\\\\n\\\\\\\\n- **Navigation**: landmarks (main, nav, aside), skip links, breadcrumbs with aria-label\\\\\\\\n- **Forms**: associated labels, accessible error messages, aria-describedby, aria-invalid\\\\\\\\n- **Modals/Dialogs**: focus trap, aria-modal, return focus on close\\\\\\\\n- **Data Tables**: caption, scope, aria-sort for sortable columns\\\\\\\\n- **Carousels/Tabs**: aria-selected, roving tabindex, arrow key navigation\\\\\\\\n- **Toasts/Alerts**: aria-live regions (polite vs assertive), role=alert\\\\\\\\n- **Images**: meaningful alt text, decorative with alt=\\\\\\\\
Open directly in an AI — the text is pre-filled:
How to use this prompt
- 1Replace the key placeholders first: APPLICATION NAME, TYPE, UI LIBRARY: Material UI/Chakra/Radix/shadcn, NUMBER.
- 2Replace any bracketed placeholders like [this] with your own context.
- 3Add extra background information when you want more tailored results.
- 4Combine multiple prompts in one conversation when you need a richer output.
- 5Save your best-performing prompts so they are easy to reuse later.
Next best step
Open the guide first, then branch only if you still need more.
A guide for technical builders choosing between prompts, coding workflows, and agent-based implementation.
If this prompt is close but not quite right, generate variants next. If the job is recurring, move into the course library after the guide.
Related prompts
View allScalable React Component Architecture with Design System
Defines component structure, design tokens, and conventions for a scalable React/Next.js design system.
Best for
Build a reusable, consistent component architecture that accelerates frontend development and ensures visual uniformity across the entire application.
Next.js Performance Optimization with Core Web Vitals
Diagnosis and action plan to improve LCP, FID, and CLS in Next.js applications.
Best for
Identify performance bottlenecks and implement optimizations that improve Core Web Vitals to achieve green status on PageSpeed Insights.
Complex state management with Zustand and React Query
State architecture that separates server state and client state using Zustand + TanStack Query.
Best for
Define a clear state management strategy that eliminates unnecessary re-renders, simplifies code, and improves developer experience.
Design system creation with Storybook, Tailwind, and visual tests
Complete Storybook setup with interactive documentation, visual tests, and CI/CD integration.
Best for
Establish a component development and documentation environment with Storybook that serves as the single source of truth for the team's design system.
Explore other prompt categories
Move sideways into adjacent libraries when the current category is not the full answer.
Free browsing stays open. Premium prompts unlock the reusable workflow layer.
Use the guides and role paths to validate the job first. Upgrade when you want the full prompt text, editable premium prompts, and the surrounding course paths in one place.
Free access
- Browse guides, role paths, and category pages.
- Preview prompts before you decide to upgrade.
- Find the right starting point without friction.
Membership access
- Unlock premium prompts and the full copy text.
- See more workflow paths and course connections.
- Keep the reusable templates in one place.