Unwrap the UI
A practice door. Make every screen answer two questions: where am I, and what can I do here?
Practice door · Design lesson · About 10 minutes for the whole door
What this door is worth
- 3 stars: First Submit passes
- 2 stars: A hint, or one or two failed Submits
- 1 star: Three or more failed Submits
- 0 stars: After showing the answer
The rule
Make every screen answer two questions at a glance: where am I, and what can I do here?
A screen answers the first question with one main heading that names it. It answers the second with buttons that say, in words, what they do.
See the rule
The same screen, before and after the fix. Each screen should answer two questions.
- Wool socks for Dad×
- Sketchbook for Maya×
- Tea sampler for Gran×
- Where am I?Not yetThe h1 is the app's name, Sleighlist.
- What can I do here?Not yetThe buttons show only × and +.
Hear what a screen reader says
- Sleighlist, heading level 1
- My gift list
- list, 3 items
- Wool socks for Dad
- times, button
- Sketchbook for Maya
- times, button
- Tea sampler for Gran
- times, button
- plus, button
Roughly what a screen reader says. Exact words vary between screen readers.
One h1 that names the screen. Buttons that say what they do.
Look at the two screens. The big line looks the same in both, and only the buttons change. But screen readers, search engines and your AI read the code, not the look. To them, the first screen is called "Sleighlist" and its button is called "plus". The fix makes the code say what your eyes already see.
New words
- HTML is the code that says what each part of a page is.
h1is the tag for a page's main heading. A screen should have one. Smaller headings useh2,h3and so on.divis a plain box. It tells the browser nothing about what is inside.pis a line of plain text.classonly sets how something looks. It does not change what it is.- A screen reader reads a page out loud for people who cannot see it. Many of its users move from heading to heading to find their way.
- A label is the text on a button.
Why it matters
People rarely start on your app's home screen. They come from a link, an email or a notification, and land in the middle. The first thing they need to know is where they are. Many screen reader users jump straight to the h1 to find out.
The app's name does not tell them. "Sleighlist" is the same on every screen, so it says which app you are in, not which screen.
A symbol makes people guess. A plus sign could add a gift, a person or a whole list. A screen reader reads it out as "plus, button". Many read a × as "times". Neither helps.
How to spot it
Imagine you have just landed on the screen from a link. Ask three questions:
- Is there exactly one
h1, and does it name this screen, not only the app? - Read each button on its own. Could it mean two things?
- Is any button only a symbol, such as
+,×or⋯?
In a list, the row says which thing. "Remove" next to "Wool socks for Dad" is clear.
Two shortcuts only half fix it:
- A tooltip. Text that appears when you rest the mouse pointer on something. Phones have no pointer, and most people never try.
- A hidden label. An
aria-labelis a name written only in the code. Screen readers read it out, but anyone looking at the screen still sees only the symbol.
An icon can sit next to the words. It cannot replace them.
That is the whole rule. Take the quiz, then fix the page.
Quiz
Three questions about the rule. Sign in to see the answers and pick yours.
- You open Sleighlist from a link in an email. What should the screen's main heading tell you?
- Which button best answers "what can I do here?"
- A screen has the heading "Settings" and three buttons: "Save", "⋯" and "Delete account". Which part breaks the rule?
Sign in to answerThe practice door doesn't count. It shows you how a door works.
Fix the page
The goal
Sleighlist is a small gift list app. Make its main screen answer two questions at a glance: where am I, and what can I do here?
The tasks
- Right now the only
h1is "Sleighlist", which is the app's name. Make "My gift list" theh1instead, and turn "Sleighlist" into ap, which is plain text. - The add button shows only
+. Write what it does instead, such as "Add gift". - Each gift has a
×button that removes it from the list. Give each one a label in words too.
What done looks like
- The page has one
h1, and it names this screen. - Every button shows words that say what it does.
- Every button stays. Label them, do not remove them.
- Nothing else on the page should change.
- Every check passes, and you press Submit.
How do you want to fix it?
- By handEdit the HTML yourself. The preview updates as you type.Sign in to fix it by hand
- With your AICopy a prompt for your AI, then paste its answer back. Add your own rule to see how much better it does.Sign in to fix it with your AI
You can switch at any time. The stars are the same either way.
How stars work
This is the practice door. Its stars never count towards your total, and it has no gold. So try everything here: the hints, the AI prompt, even a Submit that fails.
Most doors are worth up to 6 stars: 3 from the quiz and 3 from the fix.
Quiz. One star for each right answer. Your first answer is final.
The fix. Press Submit and confirm. Your first passing Submit sets your stars.
| Your first passing Submit | Stars |
|---|---|
| No hints, no failed Submits | 3 |
| With a hint, or after one or two failed Submits | 2 |
| After three or more failed Submits | 1 |
| After showing the answer | 0 |
- Run checks is free. Run it as often as you like. It never costs a star.
- Only your first hint lowers your stars. After that, hints cost nothing extra.
- Show me the answer opens after three failed Submits, or once you have read every hint. You keep your quiz stars.
Gold. On real doors: pass a door within 24 hours of it opening and it turns gold. Every door stays open until 31 December, so a late pass still earns stars.
By hand or with your AI, the stars are the same.