An Interface Checklist to Run Before You Merge

Pass or fail checks for content, type, input, color, motion and mixed languages, with a live demo of five details and a prompt that runs it on every pull request

"Looks good to me" is how small defects reach production. Each one is too minor to argue about, so nobody does, and a year later the product feels cheap and no one can say why. A checklist removes the argument. Every line below passes or fails, and either answer takes less than a minute to get.

Here is how much those small things add up to. Switch the details on one at a time.

This is a live example: one card with five details you can switch on and off. Nested corner radius, tabular numerals, a balanced heading, an optically centered icon, and a 44 pixel close target.

Content

  • The longest real name, price and title fit, or are cut off on purpose with a way to read the rest
  • Zero, one and one thousand items all look intended
  • Buttons say what happens, such as "Send invoice", and the confirmation uses the same verb
  • Every error names the problem and the way out

Type and layout

  • Nothing scrolls sideways at 360 pixels wide, or at 200 percent zoom
  • Numbers that change or line up in a column use font-variant-numeric: tabular-nums
  • An inner corner equals the outer radius minus the padding between them: 24 outside with 8 of padding means 16 inside
  • Icons look centered to the eye. A play triangle needs to sit slightly right of its true center
  • Images have a width and height, so the page does not jump as they load

Input

  • The whole task works with Tab, Enter, Space and Escape, and you can always see where the focus is
  • Touch targets are 44 pixels. WCAG 2.2 sets the AA minimum at 24, with some exceptions
  • Pressing a submit button twice sends one request
  • Pasting works in every field, including codes and passwords
  • When a dialog closes, focus returns to the control that opened it

Color and motion

  • Body text has a contrast of at least 4.5 to 1 against the surface it really sits on
  • No state is shown by color alone
  • Transitions list their properties. transition: all fails
  • With prefers-reduced-motion, the page is calm and nothing is missing

More than one language

Most checklists skip this part. If your product ships in Japanese and English, it is where most of the defects are.

  • The lang attribute is right on the page and on any passage in another language, so the browser picks the correct glyphs. Some characters are drawn differently in Japanese and Chinese
  • The font stack names a Japanese font after the Latin one, and the two look like the same weight side by side
  • Japanese body text has more line height than the English version, and no negative letter spacing
  • Headings break between phrases. word-break: auto-phrase does this in browsers that support it, so check the others by eye
  • Pressing Enter to confirm a Japanese conversion does not submit the form. The Enter key guide has the fix

Run it on every pull request

Save the lists above as INTERFACE.md in your repository. A person can walk through it in fifteen minutes, and a coding agent with a browser can do the first round:

Review the pages changed in this branch against INTERFACE.md.
Open each one in the browser at 360, 768 and 1440 pixels wide.
For every line answer PASS, FAIL or CANNOT TEST, with a measured
value or a screenshot as evidence. Never mark PASS from reading code.
List the failures first, worst first. Do not fix anything yet.

The line about evidence does the most work. Without it you get a confident list of passes from something that never opened the page.

Keep it short

When the same defect gets through twice, add a line. When a line has not failed in months, turn it into an automated test or delete it. A checklist people finish beats a complete one they skim. If a screen passes everything and still feels wrong, the problem is bigger than details, and the five pass review is the better tool.

The topic came from Interfaces, Jakub Krehel's magazine on design engineering. Its cheat sheet is free and has a demo for every rule. The paid issues were not used here.

More in Design engineering

← All guides