← Back to Course

Module 20

Writing for UI

Part B

Print vs Web

09

undefined

undefined

Part C

Science & Psychology

10

undefined

undefined

undefined
Cognitive Load

undefined

undefined
Processing Fluency

undefined

undefined
Trust Signals

undefined

Part D

Real-World Examples

11

Microcopy Excellence

How top products craft their interface text.

Conversational

"You're all caught up!"

Principles Identified:
Friendly voice Casual, approachable language throughout
Celebration Positive reinforcement for completed work
Onboarding Slackbot guides new users conversationally

Developer-focused

Clear, technical, helpful

Principles Identified:
Precision Exact error messages with solutions
Context Errors explain what went wrong and why
Action Every message includes next steps

High-fives

"High fives! Your campaign is sent."

Principles Identified:
Celebration Genuine excitement for user success
Anxiety reduction Reassurance before big actions
Personality Consistent quirky voice

Part E

Common Failures

12

Microcopy Mistakes

Common writing errors that frustrate users.

Failure: Vague Buttons

Submit what?

Fix: Use specific action verbs

Clear action

Failure: Technical Errors

Error 422: Unprocessable Entity

What do I do?

Fix: Explain in human terms with solution

That email is already registered.

Try signing in or use a different email.

Failure: Blaming the User

You entered an invalid date.

Accusatory

Fix: Take responsibility, focus on solution

Please use format MM/DD/YYYY

Helpful

Failure: Empty Empty States

No results

Fix: Explain, guide, and provide action

No results for "xyz"

Try searching for "abc" instead

Part F

Visual Tests

13

Copy Testing Methods

Validate your microcopy works for real users.

01

5-Second Test

Tests: Clarity

Show a screen for 5 seconds. Ask: What would you click? What does this button do? If users hesitate, the copy is unclear.

⏱️

What would you click?

02

Cloze Test

Tests: Predictability

Remove key words and ask users to fill in blanks. 'Click ___ to create your account.' If users guess correctly, your copy is intuitive.

Click _______ to save your changes.

What word fits?

03

Error Scenario Testing

Tests: Helpfulness

Create errors intentionally. Ask: Do you understand what went wrong? Do you know how to fix it? Rate helpfulness 1-5.

1. Understand the problem?

2. Know the solution?

3. Rate helpfulness: ___/5

04

A/B Testing

Tests: Conversion

Test button labels, headlines, and CTAs. Measure click-through, completion, and conversion rates. Statistical significance required.

"Sign Up"
12% CTR
"Get Started Free"
18% CTR

Part G

CSS Implementation

14

Implementing Copy States

CSS patterns for dynamic microcopy.

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.error-message::before {
  content: '⚠';
}

.input-error {
  border-color: #dc2626;
}

.input-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}
Error Message Styling via CSS
  • Icon prefix - Visual indicator before text
  • Associated input - Border highlights the problem field
  • Focus state - Shadow reinforces error state
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.empty-state-action {
  margin-top: 1rem;
}
Empty State Pattern via CSS
  • Centered layout - Visual focus on empty content
  • Subtle icon - Visual interest without distraction
  • Clear CTA - Obvious next action
.button-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.button-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.button-text-loading {
  /* Keep text, add spinner */
  padding-left: 1.5rem;
}
Loading & Processing States via CSS
  • Spinner overlay - Replace or accompany text
  • pointer-events: none - Prevent double-clicks
  • Text option - "Saving..." with spinner

Part H

Self-Assessment

15

Self-Assessment

Test your understanding of UI writing principles.

Q1

Why is 'Submit' a poor button label?

Click to reveal
Q2

What three things should an error message include?

Click to reveal
Q3

How do effective empty states help users?

Click to reveal
Q4

What's the difference between voice and tone?

Click to reveal
Q5

Why should you 'front-load' important words?

Click to reveal

Key Takeaways

Clarity Over Cleverness undefined

undefined

Action-Oriented Buttons undefined

undefined

Helpful Error Messages undefined

undefined

Fill Empty States undefined

undefined

Consistent Voice, Adaptive Tone undefined

undefined