Responsive UI QA
Use this skill after implementing or modifying a frontend page, component, game, or interactive tool.
Workflow
- Start the app using the repo's normal command when needed.
- Inspect at minimum: mobile
375x812, tablet768x1024, desktop1440x900, and one narrow stress width around320px. - Capture screenshots or use browser inspection for each critical route/state.
- Check for overlap, clipped text, horizontal scroll, unreadable contrast, tiny tap targets, broken sticky elements, blank media/canvas, and content hidden behind fixed UI.
- Interact with nav, menus, forms, tabs, dialogs, hover/focus states, and primary CTAs.
- Fix layout with responsive constraints, grid changes, wrapping, min/max widths, stable heights, and overflow handling.
- Re-test the exact viewport/state that failed.
- For canvas/3D/media experiences, verify pixels are nonblank and the scene is framed correctly.
Fix Preferences
- Use container-relative sizing,
minmax(),clamp()for dimensions,aspect-ratio, and explicit grid tracks. - Do not scale font size directly with viewport width.
- Prefer wrapping and reflow over shrinking text until it becomes unreadable.
- Reserve fixed heights only for controls, toolbars, media frames, and known-format surfaces.
- Ensure keyboard focus is visible and not clipped.
References
Read references/qa-checklist.md when performing a final visual QA pass.