Task boundary
The first lines define one outcome and the environment in which it must be achieved.
The interactive tools could not load. Reload this page; the guides and source links are still available.
Review / Original task brief
Exercise a real user flow with semantic, focus, state, contrast, target-size, and responsive evidence rather than a static checklist alone.
A web interface has a form, dialog, menu, custom control, upload, or task flow that must work beyond pointer input.
Task
Audit {{primary_task}} on {{route}} across {{supported_viewports}}.
Method
1. Complete the task with pointer input, keyboard only, and accessibility-tree inspection.
2. Verify landmarks, heading order, labels, names, roles, values, errors, status announcements, and state attributes.
3. Record focus order. For overlays, test initial focus, forward/reverse wrapping, Escape, close controls, and focus restoration.
4. Measure tap targets and document geometry at the narrowest viewport; identify real out-of-bounds elements.
5. Check computed contrast for representative text, controls, focus indicators, disabled states, and error surfaces.
Evidence to return
- Step-by-step task results for each interaction source.
- Exact selectors and geometry for defects.
- Accessibility-tree or computed-style evidence for each finding.
- Severity based on blocked user outcomes, not visual preference.
Stop conditions
Do not certify from source inspection or automated scores alone. Treat screenshot dimensions as provisional until the browser reports the actual CSS viewport and document geometry.Variables
{{route}}{{primary_task}}{{supported_viewports}}Keep unknowns explicit. Remove a section only when it truly does not apply; do not replace evidence requirements with a request for confidence.
Why this prompt is structured this way
The first lines define one outcome and the environment in which it must be achieved.
The method asks the coding agent to inspect and execute rather than jump directly to a plausible patch.
The result must include paths, commands, measurements, or browser observations that another person can check.
The agent is told when not to guess, broaden scope, weaken a guard, or overstate completion.
Related prompts
Inspect the actual diff in repository context and report only actionable defects with severity, evidence, and a concrete failure scenario.
Use when: A branch or working tree is ready for an independent correctness, security, and maintainability review.
Open prompt