Tearsheet Issue 01 · the back half Chip in


The back half of the issue: thirteen short chapters on designing for the web, every rule printed as a do, a don’t and a why. Tear out the checklist at the end before you launch.

01Principles

Before pixels: know what the page is for. Every screen should answer three questions in about five seconds: what is this, what can I do here, and why should I care?

Do

Give each screen one primary action and make it visually obvious.

Don’t

Give five buttons equal weight and make people work out which one matters.

When everything is emphasized, nothing is. Hierarchy is how a design tells people where to look.

Do

Use conventions people already know: logo top-left links home, search looks like search, links look like links.

Don’t

Reinvent scrolling, navigation or form controls for novelty.

People spend most of their time on other sites (Jakob’s Law). Familiar patterns cost them nothing to learn.

Do

Remove things until the page breaks, then put the last one back.

Don’t

Fill space because it’s empty. Whitespace is a feature, not waste.

Do

Be consistent: the same thing should look and behave the same everywhere.

Don’t

Use three button styles, four greys and two date formats for the same job.

A design system (even a small one, like our tokens file) is how you stay consistent without thinking about it.

02Layout & spacing

Spacing is the quietest design tool and the one that most separates amateur from professional work. Pick a scale and stick to it.

Do

Use a spacing scale based on 4 or 8: 4, 8, 12, 16, 24, 32, 48, 64, 96.

Don’t

Pick values by eye: 13px here, 17px there, 22px somewhere else. It reads as messy even when nobody can say why.

Do

Put related things close together and unrelated things further apart. A label sits closer to its field than to the field above.

Don’t

Space everything evenly. Equal gaps erase the grouping people use to read a page.

This is the law of proximity: distance is how the eye decides what belongs together.

Do

Keep body text between 45 and 75 characters per line. max-width: 65ch does it in one line of CSS.

Don’t

Let paragraphs stretch the full width of a 1440px screen. Long lines make readers lose their place.

Do

Align to a grid and left-align body text (right-align in right-to-left languages).

Don’t

Center-align long paragraphs. Every line starts in a different place, so reading is slower.

03Typography

Most of the web is text. Get type right and a plain design looks considered; get it wrong and no amount of decoration helps.

Do

Use at least 16px for body text with a line height of 1.5 to 1.7.

Don’t

Set body text at 12–13px in light grey. It looks elegant in a mockup and is unreadable on a phone in sunlight.

Do

Use a type scale with a fixed ratio (for example 1.25: 16, 20, 25, 31, 39, 49) and at most two typefaces.

Don’t

Use five fonts and a dozen sizes picked one at a time.

Do

Build hierarchy with size, weight and color, and use each sparingly. Headings should be clearly bigger than text, not 2px bigger.

Don’t

Bold whole paragraphs or write sentences in ALL CAPS. Emphasis everywhere is emphasis nowhere.

Do

Use one <h1> per page and keep heading levels in order (h2 then h3, never skipping).

Don’t

Pick heading tags for their default size. Style with CSS; choose the tag for meaning.

Screen-reader users jump between headings to navigate. Search engines use them to understand the page.

Do

Load web fonts carefully: two or three weights, font-display: swap, WOFF2, self-hosted where you can. System fonts are a perfectly good choice.

Don’t

Load a font family in nine weights to use two of them.

04Color & contrast

Color carries meaning and mood, but its first job is legibility. Contrast is measurable, so measure it.

WhatMinimum contrast (WCAG AA)
Body text4.5 : 1
Large text (24px, or 18.5px bold)3 : 1
Icons, input borders, focus rings and other UI parts3 : 1
Do

Check every text and background pair against those numbers.

#52525b on white 7.8 : 1
Don’t

Use pale grey text on white to look “minimal”.

#b4b4bb on white 2.0 : 1
Do

Keep a small palette: neutrals, one accent, and semantic colors for success, warning and danger.

Don’t

Use your accent color for decoration and for clickable things. If blue means “click”, only clickable things are blue.

Do

Pair color with a second cue: an icon, a label, an underline, a pattern.

Don’t

Show status with a red or green dot alone. About 1 in 12 men can’t reliably tell them apart.

Do

Design dark mode on purpose: dark grey backgrounds (not pure black), slightly softer text, and lighter, less saturated accents.

Don’t

Invert your light theme and call it done. Shadows vanish, colors vibrate and white text on pure black glares.

05Buttons & links

A button does something. A link goes somewhere. Keeping that distinction clear fixes a surprising number of usability and accessibility problems.

Do

Show a clear hierarchy: one primary, then secondary, then text links.

Create accountCompare plansSign in
Don’t

Make every option a loud, filled button.

Create accountCompare plansSign in
Do

Start labels with a verb that says what happens: “Save changes”, “Download invoice”, “Delete project”.

Don’t

Write “Submit”, “OK”, “Yes” or “Click here”. Out of context (and screen readers often list links out of context) they mean nothing.

Do

Use <button> for actions and <a href> for navigation.

Don’t

Put a click handler on a <div>. It can’t be focused, doesn’t respond to Enter or Space, and isn’t announced as a button.

Do

Make touch targets at least 44 × 44px, with space between them. (WCAG 2.2 sets an absolute floor of 24 × 24.)

Don’t

Cram tiny icon buttons together so people tap the wrong one.

Do

Show a loading state on click and block double submits. For destructive actions, confirm with a specific label or, better, offer Undo.

Don’t

Leave a button looking idle while a request runs, so people click it three more times.

06Forms

Forms are where users give you something: money, data, trust. Every extra field and every unclear error costs you completions.

Do

Put a visible label above every field.

Don’t

Use the placeholder as the label. It disappears the moment someone starts typing.

…was this email, or username?
Do

Show errors next to the field, in words that say how to fix it.

Use at least 8 characters.
Don’t

Show “Invalid input” in a banner at the top, or clear the form when something is wrong.

Do

Use the right input types and autocomplete values (type="email", autocomplete="one-time-code") so phones show the right keyboard and browsers can fill things in.

Don’t

Ask for things you don’t need. Every optional field is a reason to leave.

Do

Lay forms out in a single column, and validate when a field loses focus or on submit.

Don’t

Shout an error after the first keystroke, before the person has had a chance to finish.

Do

Accept input in the forms people use: spaces in card numbers, dashes in phone numbers, any capitalization in email addresses.

Don’t

Disable paste in password or email fields. It punishes password managers and makes accounts less secure.

08Accessibility

About one in six people has a disability, and everyone is temporarily impaired sometimes: a broken arm, bright sunlight, a slow connection. Accessible design is simply design that works.

The first rule: use the right HTML element. A real <button>, <nav>, <label> or <dialog> gives you keyboard support and screen-reader meaning for free. No ARIA is better than wrong ARIA.
Do

Make everything work with a keyboard alone, in a logical tab order, with a clearly visible focus state (:focus-visible).

Don’t

Write outline: none without a replacement, or use positive tabindex values.

Do

Write alt text that says what an image is for (“Chart: sign-ups doubled in March”). Use alt="" for purely decorative images.

Don’t

Write “image of…”, repeat the file name, or leave alt off entirely (screen readers then read the file name aloud).

Do

Support 200% zoom and a 320px-wide viewport without sideways scrolling. Set lang on <html> and a unique <title> per page.

Don’t

Disable pinch zoom with maximum-scale=1 or user-scalable=no.

Do

Add a “Skip to content” link, use landmarks (header, nav, main, footer) and announce dynamic updates with live regions.

Don’t

Rely on hover alone, or on time limits people can’t extend.

Test it: unplug your mouse for five minutes, then try your page with a screen reader (VoiceOver on Mac/iOS, NVDA on Windows, TalkBack on Android).

09Feedback & states

Mockups show the happy path. Real products spend a lot of time in the other states. Design all of them.

StateWhat to show
EmptyWhat will appear here and one clear way to start.
LoadingUnder 1s: nothing. 1–3s: spinner. Content loads: skeleton. Long tasks: progress bar with an estimate.
ErrorWhat happened, why (if known), and what to do next. Keep the person’s input.
PartialA list with one item looks different from one with 1,000. Check both.
SuccessConfirm it worked, then get out of the way.
Do

Respond to every action within about 100ms, even if only by showing that the click registered.

Don’t

Let a click do nothing visible while the network catches up.

Do

Write errors like a helpful person: “That card was declined. Try another card or contact your bank.”

Don’t

Show “Error 0x80004005” or “Something went wrong” with no way forward.

10Motion

Good motion explains: where something came from, where it went, what changed. Bad motion performs.

Do

Keep UI transitions between 150 and 300ms. Use ease-out for things entering and ease-in for things leaving.

Don’t

Make people wait for a 1-second animation before they can click.

Do

Animate transform and opacity, which the browser can animate smoothly.

Don’t

Animate width, height, top or left, which force layout on every frame and stutter on slower phones.

Do

Honor prefers-reduced-motion: replace slides and parallax with simple fades or nothing.

Don’t

Autoplay carousels or background video with no pause control. They distract, and for some people cause nausea.

11Responsive design

Most visits come from phones. Design for the small screen first and let the layout grow, rather than squeezing a desktop page down.

Do

Set breakpoints where your content breaks, and use fluid sizing like clamp(2rem, 5vw, 4rem) for headings.

Don’t

Design for specific devices (“iPhone 15 width”). Next year’s devices will be different.

Do

Keep key actions within thumb reach on phones and test on a real device, not just a resized browser.

Don’t

Hide important content or features on mobile. People on phones want the same things.

Do

Use relative units (rem, %, ch) and modern layout (flexbox, grid, container queries).

Don’t

Fix heights on text containers. Translations, zoom and real content will overflow them.

12Performance

Speed is a design feature. A beautiful page that takes six seconds to load is, for most visitors, a blank page.

Core Web VitalMeasuresGood
LCP — Largest Contentful PaintHow fast the main content appears≤ 2.5 s
INP — Interaction to Next PaintHow fast the page reacts to input≤ 200 ms
CLS — Cumulative Layout ShiftHow much things jump around≤ 0.1
Do

Serve images in AVIF or WebP at the size they’re shown, with width and height set and loading="lazy" below the fold.

Don’t

Ship a 4MB PNG hero image, or images without dimensions that shove the text down as they load.

Do

Ship less JavaScript. Reach for HTML and CSS first; many components here need no JS at all.

Don’t

Add a library for something the platform already does (<dialog>, <details>, form validation, smooth scrolling).

13Content & ethics

Words are interface. And trust, once spent on a trick, doesn’t come back.

Do

Write like a person. Put the important words first, keep sentences short, and use headings and lists so pages can be scanned.

Don’t

Write walls of text full of jargon (“Leverage our synergistic platform”).

Do

Make cancelling as easy as signing up, show the full price up front, and make the privacy-friendly choice the default.

Don’t

Use dark patterns: pre-ticked opt-ins, hidden fees, fake countdown timers, or confirmshaming (“No thanks, I don’t like saving money”).

Beyond being wrong, many of these are now illegal in the EU, UK and parts of the US.

Do

Ask for permissions (notifications, location) at the moment they’re needed and say why.

Don’t

Fire a cookie banner, a newsletter pop-up and a notification prompt in the first three seconds.

Pre-launch checklist

Run through this before you ship. Your progress is saved in this browser.