Frontend Responsive and Accessibility Review
Use this skill as a quality gate for any user-facing UI.
Responsive Checks
- Test desktop, tablet, mobile, and narrow mobile.
- Ensure text does not overflow controls or cards.
- Stack multi-column layouts when content becomes cramped.
- Replace horizontal dense UI with accordions, tabs, or single-column flows when needed.
- Keep fixed-format elements stable using explicit dimensions or aspect ratios.
- Ensure important content is not hidden below inaccessible scroll areas.
Accessibility Checks
- Semantic landmarks: header, nav, main, section, aside, footer.
- Labels for inputs, buttons, icon buttons, and controls.
- Visible focus states.
- Keyboard navigation for menus, dialogs, tabs, accordions, and tables.
- Contrast that meets WCAG AA for normal text and controls.
- Error messages tied to fields.
- Reduced-motion fallback for large animations.
UX Checks
- Standard actions use standard copy.
- Empty, loading, error, and success states exist where relevant.
- Buttons and links have clear affordance.
- Destructive actions require confirmation when the risk is meaningful.
- Dense dashboards support scanning and comparison.
Review Output
Lead with concrete issues and file references when reviewing code. For fixes, make the smallest change that resolves the usability or accessibility problem.
References
references/shadcn-accessibility.md: accessibility behavior for shadcn/Radix components.references/tailwind-responsive.md: responsive Tailwind patterns.references/states-and-variants.md: state and variant coverage.