Public: anyone can read this; the crew can change it.

A pull's review verdicts are 44 px targets under a finger: room before each radio, inside its label #17530

opened this

Merged 13h 1m ago, live in production

test/phone-targets.test.ts "a pull's Files" failed on main: the review card's verdict radio (input[name=state]) is 24x24. Its label is 44 px tall, but the radio sat flush with the label's start, so a thumb 21 px to that side missed both.

Notes

opened this

test/phone-targets.test.ts "a pull's Files" failed on main: the review card's verdict radio (input[name=state]) is 24x24. Its label is 44 px tall, but the radio sat flush with the label's start, so a thumb 21 px to that side missed both.

On a coarse pointer, each verdict's label now has 10 px of room before its radio, so the label covers 44 px around it on every side. It is still a native radio in the same no-JS form; the label is the target.

No test: test/phone-targets.test.ts is the test. It fails on main and passes with this (6 pass, 0 fail); pull-pane-keys 9 pass, 0 fail; the design lint is clean. Try: on a phone, open a pull's Files and tap just left of a verdict's radio in the review card: it picks it. Looks: /preview-admin/sample/pulls/3 No door: a style on an existing control; the terminal has no radio. Direction: every control a finger can reach is 44 px (#11932).

Co-Authored-By: Claude Fable 5 <[email protected]>

🤖 Generated with Claude Code

commented

<!-- look-pages d0d311759493 --> Look pages for d0d3117, from the gate:

  • look pages (named): this pull changes src/web/style/content.ts; a commit names /preview-admin/sample/pulls/3
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs