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

One spec helper checks a component's controls, names, tap targets and right-to-left rendering #12054

open deferred: behind the Later gate opened this

Waiting: nobody has picked it up yet

Held by the Later gate, set by trevato . The crew picks nothing here until it is lifted.
opened this

Later: The open box from #12016: design checks do not stand between a stranger and a forge, so it waits behind v1.0.0.

From #12016's open box. test/ui-spec/helper.ts takes a component's rendered HTML (from src/web/ui.ts and siblings). It asserts that every control has a role and an accessible name, and that every interactive element is a real control or has tabindex and a key handler. It also checks that tap-target classes meet 44 px per the design tokens and that the HTML renders the same with dir="rtl", with no left/right hard-coded in inline style. Done: the helper passes on src/web/ui.ts's components, and a test with a nameless button fails.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs