Sub topic 14
Testing and iterating on copy
Earlier chapters gave you rules for writing clear microcopy. Rules only predict what will work. This chapter covers how to check those predictions with real users, and how to turn the results into better copy.
This chapter assumes you can write buttons, form text, error messages, empty states and confirmations, as covered in the earlier chapters. No statistics background is needed. The one code example is short and explained line by line.
Why copy needs testing
You know what you meant when you wrote a label. Users only see the words. A label like "Archive" may be obvious to you and mean "delete, but slowly" to someone else. Testing replaces your guess about how the text reads with evidence.
Copy is also cheap to change, and that makes testing worthwhile. A wording fix often needs no new design or engineering work. A small test can therefore pay off quickly.
Decide what you are testing for
A test needs a question. "Is this copy good?" is too vague. Pick one of these instead:
- Comprehension: Do users understand what the text says?
- Prediction: Can users say what will happen if they act on it?
- Task success: Do users finish the task without help?
- Recovery: After an error, do users fix the problem and continue?
- Tone: Does the text feel appropriate for the moment?
Each question suggests a method. The table maps them.
| Question | Method | Typical sample |
|---|---|---|
| Do users understand it? | Highlighter test, cloze test | 5–15 people |
| Can they predict the result? | First-click test, label prediction | 10–30 people |
| Do they finish the task? | Moderated usability test | 5–8 people |
| Which version performs better? | A/B test | Hundreds to thousands |
| Does it fit the moment? | Interviews, tone ranking | 5–10 people |
Qualitative methods
Qualitative methods tell you why something fails. They need few participants.
Usability testing with a task
Give the participant a goal, not a script. Say "Change the email address on your account," not "Click Edit profile." Watch where they hesitate, re-read, or click the wrong thing. Ask them to think aloud. Hesitation on a label is a signal that the label is unclear.
Five to eight participants usually reveal the most serious copy problems. Later participants mostly repeat what earlier ones showed you.
Highlighter test
Print or display a screen's text. Ask participants to mark in one color the words that make them feel confident or clear, and in another color the words that confuse them. Tally the marks. This works well for onboarding text, empty states and policy messages, where the problem is often one phrase inside a longer paragraph.
Cloze test
Remove every fifth or sixth word from a passage and ask participants to fill in the blanks. If most people can restore the missing words, the text is predictable and easy to read. If they guess widely different words, the passage is hard to follow.
First-click and label prediction
Show a screen and ask, "Where would you click to cancel your subscription?" If most participants pick the wrong link, the label is the problem, not the user. For buttons, show only the label and ask, "What do you expect to happen when you press this?" Compare the answers to the real behavior. This test is quick and works on an early prototype or even a screenshot.
Five-second test
Show the screen for five seconds, then ask what it was for and what the user would do next. This checks whether headlines and primary buttons carry the message on their own.
Quantitative methods
Quantitative methods tell you which version does better and by how much. They need real traffic.
A/B testing copy
In an A/B test, you show version A to one group and version B to another at random. You compare one outcome measure, such as the share of users who finish checkout.
Rules that keep an A/B test honest:
- Change one thing per test. If you change the button label and the headline, you will not know which one made the difference.
- Choose the success metric before the test starts. Picking it afterward lets you find a "winner" by chance.
- Run the test for whole weeks. Behavior differs between weekdays and weekends.
- Decide the sample size before you start, and do not stop early because the results look good.
- Check a guardrail metric, such as support tickets or refunds. A label that gets more clicks by hiding a consequence is not a win.
Here is a small script that checks whether the difference between two versions is likely to be real. It uses a two-proportion z-test and only the Python standard library.
from math import sqrt, erf
def two_proportion_test(success_a, total_a, success_b, total_b):
"""Compare two conversion rates. Returns rates, z score, p-value."""
rate_a = success_a / total_a
rate_b = success_b / total_b
pooled = (success_a + success_b) / (total_a + total_b)
std_error = sqrt(pooled * (1 - pooled) * (1 / total_a + 1 / total_b))
z = (rate_b - rate_a) / std_error
p_value = 2 * (1 - 0.5 * (1 + erf(abs(z) / sqrt(2))))
return rate_a, rate_b, z, p_value
# Version A: "Submit". Version B: "Send invoice".
rate_a, rate_b, z, p = two_proportion_test(412, 2000, 468, 2000)
print(f"A: {rate_a:.1%} B: {rate_b:.1%} z = {z:.2f} p = {p:.3f}")The script prints A: 20.6% B: 23.4% z = 2.14 p = 0.033. The p-value of 0.033 means that if the two labels really performed the same, a gap this large would show up by chance about 3 times in 100. Many teams treat a p-value below 0.05 as a reasonable bar. It is a guide, not proof.
Other signals you already have
You do not always need a new test. Existing data often points to weak copy:
- Support tickets that quote a specific message.
- Search queries inside your help center.
- Form fields where users abandon the form or retry many times.
- Error rates by message, if your system logs which errors were shown.
- Rage clicks and repeated back-and-forth between two screens.
Start with the places where these signals cluster. They tell you where testing will matter most.
The iteration loop
Testing is one step in a cycle. The cycle is the point.
A hypothesis states a change and the effect you expect. For example: "If we rename 'Submit' to 'Send invoice', more users will finish sending because the result is clearer." A written hypothesis keeps you honest about what you expected, and it makes a failed test useful, because you learn which assumption was wrong.
When a test fails, ask why before writing another variant. Replaying session recordings or following up with a few participants usually answers it faster than another round of guessing.
Worked example: an error message
Suppose a payment form shows this message when a card is declined:
Payment failed. Error code 51.Support receives many tickets from users who retry the same card several times. The team forms a hypothesis: users do not know what to do next. They write a variant.
Your card was declined. Check the card number and expiry date, or try another card.They run a moderated test with six participants and an A/B test on live traffic. In the moderated test, four of six participants tried a second card with the new text, compared with one of six with the old text. The A/B test then shows a higher share of completed payments after a decline, and the number of tickets falls. The team ships the variant. They also record the pattern in the style guide: say what happened, then say what to do.
Common errors
- Testing with the wrong people. Colleagues know your product's vocabulary. Recruit people who match your real users.
- Leading questions. "Is this message helpful?" invites a yes. Ask "What would you do next?" and watch.
- Testing text out of context. A label on a plain list of words behaves differently than the same label in the real screen. Test with the real interface or a faithful prototype.
- Trusting preference over performance. Participants may say they like a friendly version, then fail the task with it. Weight what people do above what they say.
- Stopping an A/B test early. Results swing widely at small sample sizes. Peeking and stopping on a good day produces false winners.
- Optimizing the click, not the outcome. A pushier label may raise clicks while raising cancellations later. Check the guardrail metric.
- Changing everything at once. A rewritten screen cannot tell you which edit mattered.
Exercises
Exercise
A team changes a button from "Continue" to "Pay $49.00" and also rewrites the page headline in the same release. Conversion rises by 6%. What is wrong with concluding that the button label caused the improvement?
Show answer
Two things changed at once, so the test cannot separate their effects. The headline, the button label, or both could have caused the rise. The team should test one change at a time, or run a design that tests each change separately.
Exercise
You have 12 hours to improve a "Your session has expired" message and your site has little traffic. Which method would you choose, a moderated usability test or an A/B test, and why?
Show answer
A moderated usability test with about five participants. Low traffic means an A/B test could not reach a usable sample size in time, while a task-based session shows quickly whether users understand what happened and how to sign back in.