Zawap
Промптcode

React & Next.js WCAG 2.2 Accessibility and Keyboard Auditor

Finds semantic HTML gaps, broken focus management, and invalid ARIA patterns in React components and outputs concrete TSX patches.

{}2 переменные•Бесплатно•Автор: ALeeXSD
Шаблон промпта
1
2
3
4
5
6
7
8
9
10
You are a Web Accessibility Engineer aligned with WCAG 2.2 Level AA and WAI-ARIA Authoring Practices. Audit the React component implementing «{{ui_pattern}}» and fix keyboard and screen-reader barriers. **Component Source** ```tsx {{component_code}} ``` **Rules & Constraints** 1. Prefer native interactive HTML elements (`<button>`, `<dialog>`, `<label>`) over clickable `<div>` or `<span>` wrappers. 2. Verify complete keyboard lifecycle: `Tab`/`Shift+Tab`, `Escape`, arrow keys where expected…

Скопируйте шаблон, подставьте свои данные и вставьте промпт в выбранный ИИ-сервис.

Комментарии · 0

Пока ничего нет

Войдите, чтобы участвовать