BeginnerLesson 1 of 126 min read

What Web Design Is For: Goals, Audience and Evidence

Start a design from goals and an audience instead of taste, write a one-page brief, and use a simple five-second test with a proper confidence interval to see whether a design communicates, with the statistics computed twice.

In this lesson you will

  • Write a design brief with goals and audience
  • Define a measurable success test
  • Compute a confidence interval for a proportion
  • Avoid over-reading small samples

About 28 minutes

Lina’s first client

Lina is a graphic designer who has been asked to redesign the website of Still Water Yoga, a small studio. The owner says: “Make it beautiful.” Lina knows that beautiful is not a goal. Web design is the planning and arrangement of a site so that people can do what they came to do, and so that the site achieves what its owner needs. It covers structure, layout, type, colour, imagery and interaction, and its quality is judged by whether people understand the offer, find what they want, trust the site and take the next step, such as booking a class.

So the work begins with a brief of five short answers. Who is the audience: local adults, mostly on phones, many new to yoga. What do they need to do: see the class timetable, find the price of a first class, book. What does the owner need: more first-time bookings. What is the content: about twenty pages, which may be fewer. How will we know it works: a measurable test, for instance that after five seconds on the home page, most visitors can say what the studio offers. Design decisions are then tested against the brief instead of against taste. A five-second test shows a design for five seconds and asks what people remember, and its result is a proportion, which must be reported with its uncertainty.

Brief question Lina’s answer
Audience Local adults, new to yoga, on phones
Main tasks See timetable, find first-class price, book
Owner goal More first-class bookings
Success test Most visitors can say what the studio offers after 5 seconds
Constraints Small budget, photos supplied by the owner
const z = 1.959964;
function wilson(k, n) {
  const p = k / n, d = 1 + z * z / n;
  const centre = (p + z * z / (2 * n)) / d;
  const half = z * Math.sqrt(p * (1 - p) / n + z * z / (4 * n * n)) / d;
  return { p, lo: centre - half, hi: centre + half };
}
function twoProp(k1, n1, k2, n2) {
  const p1 = k1 / n1, p2 = k2 / n2, pp = (k1 + k2) / (n1 + n2);
  const zstat = (p2 - p1) / Math.sqrt(pp * (1 - pp) * (1 / n1 + 1 / n2));
  const erfc = x => { const t = 1 / (1 + 0.5 * Math.abs(x)); const r = t * Math.exp(-x * x - 1.26551223 + t * (1.00002368 + t * (0.37409196 + t * (0.09678418 + t * (-0.18628806 + t * (0.27886807 + t * (-1.13520398 + t * (1.48851587 + t * (-0.82215223 + t * 0.17087277))))))))); return x >= 0 ? r : 2 - r; };
  return { z: zstat, p: erfc(Math.abs(zstat) / Math.SQRT2) };
}
const oldDesign = wilson(28, 40), newDesign = wilson(35, 40), tiny = wilson(4, 5);
const test = twoProp(28, 40, 35, 40);
const f = x => (x * 100).toFixed(1) + '%';
console.log('old design: 28 of 40 recalled  ->', f(oldDesign.p), '95% CI', f(oldDesign.lo), 'to', f(oldDesign.hi));
console.log('new design: 35 of 40 recalled  ->', f(newDesign.p), '95% CI', f(newDesign.lo), 'to', f(newDesign.hi));
console.log('tiny test : 4 of 5 recalled    ->', f(tiny.p), '95% CI', f(tiny.lo), 'to', f(tiny.hi));
console.log('difference test: z =', test.z.toFixed(3), ' p =', test.p.toFixed(4));
console.log('DATA ' + JSON.stringify({ oldDesign, newDesign, tiny, test }));
old design: 28 of 40 recalled  -> 70.0% 95% CI 54.6% to 81.9%
new design: 35 of 40 recalled  -> 87.5% 95% CI 73.9% to 94.5%
tiny test : 4 of 5 recalled    -> 80.0% 95% CI 37.6% to 96.4%
difference test: z = 1.913  p = 0.0557

These figures are invented for the lesson, as a plausible example of a five-second test. With the old design, 28 of 40 visitors could say what the studio offers, which is 70.0%, but the 95 percent confidence interval runs from 54.6% to 81.9%: with 40 people the true share could be well above or below the observed one. The new design scored 35 of 40, 87.5%, with an interval of 73.9% to 94.5%. The intervals overlap a little, so is the improvement real? The two-proportion test says z = 1.913 and p = 0.0557, so a difference this large would arise by chance about 5.6 times in a hundred if the designs were equally good. That is suggestive, and not overwhelming.

The tiny test shows the danger of small samples. Four of five people recalling the offer is 80.0%, and the interval spans from 37.6% to 96.4%, almost everything. Five users are good for finding usability problems, since each new person reveals fewer new ones, and not for measuring percentages. State the number of people next to every percentage, and do not call a design better because it scored 80 against 75 percent on a handful of participants. The interval used here, the Wilson interval, behaves better for small samples and for proportions near 0 or 1 than the textbook formula that adds and subtracts a standard error.

Independent check: the same formulas were written again in Python, with the critical value 1.96 taken from the standard library’s normal distribution and the p-value from math.erfc, and every number agrees with the JavaScript results: the three intervals, the z statistic and the p-value. The JavaScript version computes erfc with a published polynomial approximation, and the Python version uses the exact function from the C library, so the agreement to six decimals also checks the approximation.

Check by hand for the new design: p = 35 / 40 = 0.875. The Wilson centre is (0.875 + 1.96 squared / 80) / (1 + 1.96 squared / 40) = 0.9231 / 1.0960 = 0.8422, and the half-width is about 0.0937, which gives 74.9 percent to 93.6 percent, as the output says.

Do not design from taste alone

“I like it” is the start of a conversation, not an argument. Tie each decision to the audience, a task, or evidence, and say which. Your own taste is not your audience’s.

Write the brief on one page

If the goals, audience and success test do not fit on one page, they are not clear yet. Show the page to the client and get a yes before you open a design tool.

About this course

Every calculation in this lesson was run while the course was written, in JavaScript (Node.js 22) and checked independently in Python 3.13 (and, where it says so, with real font files). Design guidelines are rules of thumb and tools change, so check current documentation, and test your own designs with real people. The test data in this lesson are invented for illustration. Run your own tests with real participants, and follow the research ethics that apply to you.

Practice

Write a one-page brief for a site you know, with audience, tasks, owner goal and a measurable success test. Compute the confidence interval of 12 of 20 successes by hand and with code. Decide how many participants you would need to tell 50 percent from 70 percent.

Check what you learned

Five quick questions. Pick an answer and you will see straight away whether it is right and why.

Why is “make it beautiful” not a design goal?

  1. It is too long
  2. It cannot be tested against an audience or task
  3. Designers dislike it
  4. It is illegal

Goals must be testable.

What does a five-second test measure?

  1. What people understand or remember quickly
  2. Page speed
  3. Server load
  4. Colour accuracy

First-impression communication.

What does a 95 percent confidence interval show?

  1. The range of plausible true values
  2. The exact answer
  3. The sample size
  4. The error of the printer

Wider with small samples.

Why is 4 of 5 a weak result for a percentage?

  1. 5 is an odd number
  2. It is too high
  3. Tests need 100 people
  4. The interval is very wide

Small samples cannot give precise shares.

Why check the calculation in two languages?

  1. To make it faster
  2. To get a different answer
  3. It is a rule of statistics
  4. To catch a bug in either implementation

Independent agreement.

Summary

  • Start from goals, audience and tasks, not taste.
  • Write a one-page brief with a measurable success test.
  • Report proportions with confidence intervals and the sample size.
  • Small tests find problems; they do not measure percentages.

Next lesson

Lesson 2 covers layout, hierarchy and grids.

Questions

Do I need statistics to be a web designer?

You do not need much, and a basic feeling for uncertainty prevents mistakes such as declaring a winner from ten visitors. This course uses simple formulas and checks them.

How many users should I test with?

For finding usability problems, five to eight people per round often reveal most of the big issues. For measuring percentages you need many more. Check the usability research literature for guidance.

What if the client insists on a taste?

Listen, write down the reason behind it, and test it against the brief. A decision with a reason can be discussed, and a preference alone cannot.

Progress is saved in this browser.