agentleFS
jamal-gmljamal-gml/anthropica/skills/review-ui-ux/SKILL.md

review-ui-ux

Skill0 starsChanged 13 days agoMITView on GitHub

Review screens, flows, mockups or built UI for usability, WCAG 2.2 AA accessibility, UI states, microcopy, responsive layout and consistency, with severity-rated findings. Use when critiquing a design, checking a page before launch, or auditing accessibility (axe, Lighthouse, keyboard, screen reader). Not for building components (use `build-design-system`) or code review (use `review-pull-request`).

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check dark mode and high-contrast/forced-colors mode separately.

    line 55
  2. Distinctive:

    Run automated scanners only on pages you are allowed to test.

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

UI/UX Review

Find what stops real users, including disabled users, from completing their task, and say exactly how to fix it.

Procedure

  1. Frame it. Confirm the artefact (mockup, prototype, URL, branch or code), target users, the 1-3 primary tasks, devices, locales, the design system and any brand or legal constraints. Ask if unknown; do not review without a primary task.
  2. Walk the primary task as a first-time user, end to end. Record steps, decisions, dead ends, unclear labels and anything you had to remember from a previous screen.
  3. Heuristic pass with Nielsen's 10: system status, match with the real world, user control and freedom, consistency and standards, error prevention, recognition over recall, flexibility and efficiency, minimalist design, error recovery, help. Read references/heuristics-and-content.md for concrete checks per heuristic and microcopy rules.
  4. States pass. For every view and component: empty/first use, loading, partial data, error, success, offline, permission denied, 0/1/many/huge counts, long text and long translations, disabled. Missing states are findings.
  5. Accessibility pass (built UI): automated scan, then keyboard-only pass, then 200%/400% zoom and reflow at 320 CSS px, then a screen reader smoke test, then contrast and motion. Read references/wcag-22-aa.md for the full criterion checklist and references/assistive-tech-testing.md for keyboard and screen reader scripts. For mockups, check contrast, target sizes, focus design, labels, heading structure and colour-only meaning.
  6. Responsive pass at 320, 375/390, 768, 1024, 1280 and 1440+ px widths, portrait and landscape: no horizontal scroll (except data tables, maps), no clipped or overlapping content, touch targets usable, primary action reachable, tables and forms still workable.
  7. Consistency pass. Components, tokens, spacing, type scale, icon meaning and terminology match the design system and the rest of the product. One-off styles and look-alike components are findings.
  8. Write findings with severity, evidence and a concrete fix. Merge duplicates; group systemic issues (one root cause, many places) into one finding with a list of locations.

Rules

WCAG 2.2 AA thresholds most often missed:

CheckRequirement (SC)
Text contrast4.5:1; large text (24px, or 18.66px bold) 3:1 (1.4.3)
Non-text contrastIcons, input borders, focus indicators, chart lines 3:1 against adjacent colours (1.4.11)
Target sizeAt least 24x24 CSS px or enough spacing; exceptions inline links, equivalent control, essential (2.5.8). Recommend 44x44 for touch
Focus visibleEvery focusable element shows a visible focus indicator (2.4.7)
Focus not obscuredFocused element not fully hidden by sticky headers, banners, chat widgets (2.4.11)
KeyboardAll functionality operable by keyboard, no traps, logical order (2.1.1, 2.1.2, 2.4.3)
Name, role, valueCustom controls expose name, role, state to assistive tech (4.1.2); visible label text is part of the accessible name (2.5.3)
Labels and errorsInputs have visible labels/instructions (3.3.2); errors identified in text (3.3.1) with a suggestion (3.3.3); status messages announced (4.1.3)
Reflow and zoomUsable at 320 CSS px width without 2D scrolling (1.4.10); text resizable to 200% (1.4.4); text-spacing overrides don't break layout (1.4.12)
DraggingAny drag action has a single-pointer alternative, e.g. buttons or menu (2.5.7)
AuthenticationNo cognitive test to log in without an alternative; allow paste and password managers (3.3.8)
Redundant entry / consistent helpDon't ask for the same info twice in a flow (3.3.7); help in the same place across pages (3.2.6)
MotionAuto-moving content over 5 s can be paused (2.2.2); nothing flashes more than 3 times a second (2.3.1); honour prefers-reduced-motion for parallax and large transitions (best practice, 2.3.3 AAA)
ColourColour is never the only way to convey meaning (1.4.1)

Severity:

SeverityMeaning
CriticalBlocks the primary task for some users (keyboard trap, unlabeled required control, data loss, WCAG A/AA failure on a core flow)
MajorCauses errors, significant friction or confusion; WCAG AA failure off the core flow
MinorSlows users or looks inconsistent; workaround obvious
PolishVisual refinement, wording improvement

Gotchas:

  • Automated tools find only part (roughly a third to a half) of WCAG issues. A clean axe run is not "accessible"; always do the manual passes and say which were done.
  • Placeholder text is not a label; it disappears and usually fails contrast.
  • outline: none without a replacement focus style is an automatic finding.
  • div/span with click handlers: not focusable, no role, no Enter/Space handling. Recommend native button/a first.
  • Toasts that vanish in under ~5 s and carry errors or actions fail users who read slowly or use screen readers.
  • Disabled submit buttons hide why the form cannot be sent; prefer enabled buttons with validation messages.
  • Check dark mode and high-contrast/forced-colors mode separately; contrast pairs differ.
  • Infinite scroll without a reachable footer or "load more" breaks keyboard and screen reader users.

Tools (built UI):

  • npx @axe-core/cli <url> --tags wcag2a,wcag2aa,wcag21a,wcag21aa,wcag22aa
  • npx lighthouse <url> --only-categories=accessibility --output=json --output-path=./a11y.json
  • npx pa11y <url> for page-level CI checks; @axe-core/playwright inside E2E tests for authenticated flows.
  • Browser accessibility tree and contrast checker in dev tools; forced-colors emulation; prefers-reduced-motion emulation.

Safety gates

  • Review against staging or local builds. Do not submit forms, place orders, send messages or change settings on production without explicit approval.
  • Run automated scanners only on pages you are allowed to test; ask before scanning third-party or production sites at scale.
  • Redact personal data in screenshots and recordings attached to findings.

Output

# UI/UX review: <artefact>   Scope: <screens/flows>   Users and task: <...>
Passes done: heuristics | states | axe | Lighthouse | keyboard | zoom/reflow | screen reader (<AT + browser>) | responsive (<widths>)
Summary: <2-3 sentences: can users complete the task? top 3 issues>

| # | Severity | Where (screen, element, file:line) | Issue | Evidence (SC / heuristic, measured value) | Recommendation |
|---|---|---|---|---|---|
| 1 | Critical | Checkout > Pay button | Not reachable by Tab | 2.1.1 Keyboard; div with onClick | Use <button type="submit"> |

Systemic issues: <root cause -> locations>
Not reviewed / limits: <...>
What works well (keep): <...>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.