Solved problems in UX
Common interface problems, what to do about each, and how strong the evidence is.
Forms
- Asking for personal data and saying whyAsk only for what the service will use, and say why next to anything people may not expect.Answer: weak.
- Autofill and identifying input purposeMark each field with what it is for, and never block autofill, pasting or password managers.Answer: settled.
- CAPTCHACheck for bots without asking anything of people, and show a puzzle only when that check is unsure.Answer: weak.
- Checkboxes vs togglesUse a switch for a setting that takes effect at once, and a checkbox for a choice that waits for submit.Answer: moderate.
- EmailUse an email field and check only that the address looks plausible. Suggest a fix for likely typos, but let people continue.Answer: moderate.
- Entering a dateLet people type a date they know. Show a calendar only when they are choosing one, and still let them type.Answer: moderate.
- Error message contentSay which field is wrong and how to fix it, right next to the field.Answer: strong.
- Error summariesAfter a failed submit, list every error at the top, each linking to its field, and keep the message at each field too.Answer: moderate.
- Field width as a hintSize each field to the length of the answer you expect.Answer: moderate.
- File uploadAlways offer a button that opens the file chooser, and state accepted types and sizes before people choose.Answer: moderate.
- Input masks and formatting as you typeAccept the separators people type and clean them up yourself, and show the expected shape outside the field.Answer: moderate.
- LabelsGive every field a visible label that stays in place while people type.Answer: moderate.
- NameAccept names as people write them, in any script, and do not require exactly two parts.Answer: weak.
- One-time codesUse one field that can be pasted into and filled automatically, and do not submit by itself.Answer: moderate.
- Password creationRequire length, not character mixes, allow password managers, and offer a way to show the password.Answer: moderate.
- Payment cardTake the card number in one field, with or without spaces, and work out the card type yourself.Answer: moderate.
- Phone number inputAsk only if you will use it, take it in one field, and accept the number however it is written.Answer: moderate.
- Placeholder textDo not use placeholder text as a label or for instructions. Put both outside the field.Answer: moderate.
- Postal addressOffer an address lookup where the data is reliable, and always let people type the address by hand.Answer: moderate.
- Preserving input after an errorNever make people type something twice. Keep what they entered through errors and back steps.Answer: weak.
- Progress through stepsIn a flow of three or more steps, show the steps and where people are. Do not expect a progress bar to keep them going.Answer: moderate.
- Required and optional fieldsMark at each field whether it is required, and require only what the task cannot do without.Answer: moderate.
- Saving and resumingWhen a form needs things people may have to go and find, let them save and come back.Answer: moderate.
- Selects vs radios vs comboboxesShow a few options as radio buttons. For a long list, let people type.Answer: moderate.
- Show passwordHide the password by default, with a control that shows it.Answer: moderate.
- Single page vs multi-stepAdd a review step before anything that commits people, and use steps when questions branch.Answer: weak.
- SlidersUse a slider only for rough values. For an exact value or a rating, use a typed field or radio buttons.Answer: moderate.
- Stating format requirementsRemove format rules where you can. Where you cannot, state them before people type.Answer: moderate.
- Submit button stateKeep submit usable so it shows what is missing, and stop a second submission while the first is processing.Answer: moderate.
- When to validate a form fieldCheck on submit, and do not show an error until people have finished the field.Answer: moderate.
- ZIP and postal codesAccept ZIP and postal codes however they are typed, and don’t require one where people may not have one that works.Answer: weak.
Search
- Faceted filtersShow the applied filters together, each one removable, and keep them in the page address.Answer: moderate.
- Query suggestionsPut the most likely suggestions first, and keep what people typed in the field.Answer: moderate.
- Results pagesPut the best match first, and make each summary say what the item really is.Answer: weak.
- SortingAlways show which sort order is in use, and keep it across pages and Back.Answer: moderate.
- The search fieldShow an open search field, keep the query in it on the results page, and search the whole site.Answer: weak.
- Zero resultsSay plainly that nothing matched, keep the query editable, and offer ways forward.Answer: moderate.
Feedback and status
- Empty statesNever leave an empty area blank. Say why it is empty, and give a way to start or recover.Answer: moderate.
- Loading indicatorsShow nothing for waits under a second, and limit the loading state to the part that is loading.Answer: weak.
- Offline and failure statesSay plainly what went wrong and what people can do, and keep what they entered.Answer: moderate.
- Optimistic updatesShow results early only for small, reversible actions. Wait for the server for anything that matters.Answer: weak.
- Progress indicatorsFor work over about ten seconds, show how much is done, and never move the bar backwards.Answer: weak.
- Response time thresholdsTreat every delay as a cost, and acknowledge every input at once.Answer: moderate.
- Skeleton screensDo not expect skeleton screens to make loading feel faster. Use them only for the first load of a page.Answer: weak.
- Success confirmationSay what happened and what comes next, where people will notice it.Answer: weak.
- Toasts and notificationsUse messages that vanish by themselves only for things people can afford to miss.Answer: moderate.
Dialogs and overlays
- Confirmation dialogsConfirm rarely, label the buttons with what they do, and for severe actions make people engage with the detail.Answer: moderate.
- DrawersPut a panel beside the content when people need both, and send long work to its own page.Answer: moderate.
- Focus management on open and closeMove focus into a dialog when it opens, and back to the control that opened it when it closes.Answer: moderate.
- Modal dialogsUse a modal only when people must respond before anything else, and only after their own action.Answer: moderate.
- PopoversOpen popovers on click, not hover, and close them with Escape or a click outside.Answer: moderate.
- TooltipsNever put anything people need in a tooltip. Keep it on the page.Answer: moderate.
Content
- AccordionsCollapse only content most people do not need, and let several sections stay open at once.Answer: moderate.
- CarouselsDo not put needed content after the first slide, and stop any rotation as soon as people interact.Answer: moderate.
- Charts and their accessible alternativesGive every chart a text description and its data as a table, and never use color alone.Answer: moderate.
- Data tablesUse real tables with marked-up headers, and keep the identifying column first.Answer: weak.
- Truncation and read moreWhen text is cut short, let everyone reach the full text, and never cut what people use to tell items apart.Answer: weak.
Deleting and undoing
Accounts and sign-in
- Log inNever block paste or password managers, and slow repeated attempts instead of locking people out.Answer: weak.
- PasskeysOffer passkeys at sign-up and recovery, and show people where each one lives and how to remove it.Answer: moderate.
- Password resetSend a single-use, expiring link to a confirmed address, and do not use security questions.Answer: moderate.
- Sign upDo not require an account where the service works without one, and ask only for what the account needs.Answer: weak.
- Social sign-inSay what each provider will share before people choose, and always offer a sign-in that needs no third party.Answer: weak.
Shopping and subscriptions
- Canceling a subscriptionLet people cancel online the way they signed up, and confirm it at once in writing.Answer: moderate.
- Checkout stepsBefore the order is placed, show what is being bought and the total, with a review where each part can be changed.Answer: moderate.
- Guest checkoutAlways let people buy without an account, and offer one after the purchase.Answer: weak.
- Price displayShow the total, with every mandatory fee, wherever a price first appears.Answer: settled.
- Shopping cartConfirm what was added, show the full cost before checkout, and keep the cart between visits.Answer: moderate.
- When to ask for an accountLet people look and buy before asking for an account, and offer one afterwards.Answer: moderate.
Consent and permissions
- Browser permission promptsAsk for a permission only when people use the feature that needs it, and say why first.Answer: moderate.
- Cookie consentNever pre-check consent, put refusal on the first screen as plainly as acceptance, and let people change their mind later.Answer: strong.
- Email preferencesLeave marketing boxes unchecked, and word the choice positively.Answer: moderate.
- Notification opt-inAsk for notifications only when people act to turn them on, never when they arrive.Answer: strong.
- UnsubscribePut a one-step unsubscribe in every marketing email, and stop sending quickly.Answer: settled.
Help and onboarding
- Contextual documentationPut help next to the part of the page it concerns, in the same place on every page.Answer: moderate.
- First-run experienceLet people start at once, and teach in context where the product is complex.Answer: moderate.
- Inline helpKeep the rules people must follow visible next to the field, not behind an icon.Answer: weak.
- Tours and coach marksDo not rely on tours. Show one tip at a time, when it is needed, and let people dismiss it.Answer: weak.
Accessibility
- Announcements to screen readersAnnounce results, errors and progress without moving focus, politely, and only what people need.Answer: moderate.
- Keyboard operationMake everything work from the keyboard, in a sensible order, with the keys people expect.Answer: moderate.
- Reduced motionNever flash, let people pause moving content, and remove decorative motion when they ask for less.Answer: moderate.
- Target sizeMake every target at least 24 by 24 pixels, and bigger for touch.Answer: strong.
- Time limitsAvoid time limits. Where one is needed, warn before it ends and let people extend it.Answer: moderate.
- Visible focusAlways show where keyboard focus is, and never cover it.Answer: settled.
Mobile and touch
- GesturesGive every gesture a visible single-tap alternative, and act when the finger lifts.Answer: moderate.
- Input modes and on-screen keyboardsShow the keyboard that matches each field, but accept the same input whatever keyboard appears.Answer: moderate.
- ReachabilityExpect one-handed use, and do not assume a bigger phone means a bigger reach.Answer: moderate.
- Touch targetsMake tappable controls about 44 to 48 points, and extend small controls’ tap areas without overlap.Answer: moderate.
AI interfaces
- Conversational and AI interfacesSay it is an AI, what it can do and how reliable it is, and offer another route when it fails.Answer: moderate.
- Generated content and its provenanceMark generated content in machine-readable form, and make every cited source openable and relevant.Answer: moderate.
- Streaming responsesRespond at once, keep the start of the answer in view, and give a way to stop.Answer: weak.
Dark patterns
Designs that work against the person using them. The mark is the evidence that they harm.
- Drip pricing and hidden costsShows a lower price first and adds mandatory fees, taxes or charges only later in the purchase, often on the last step.Evidence of harm: strong.
- False hierarchy and unequal choicesMakes the option the company wants easier to choose than the alternative: accept on the first screen and reject on the second, accept as a button and reject as a link, or more steps to refuse than to agree.Evidence of harm: strong.
- Hidden subscriptions and trial trapsSigns people up to a recurring charge, or turns a free trial into a paid plan, without making the price, the renewal and how to stop it clear before they agree.Evidence of harm: strong.
- Pre-selected optionsStarts a choice already set to the answer the company wants, such as a checked box for marketing, an extra product already in the order, or the most data-sharing setting already on, so that doing nothing counts as yes.Evidence of harm: strong.
- Privacy-intrusive defaultsSets data sharing, visibility or tracking to the most permissive option and leaves people to find and change it, or makes the protective setting harder to reach.Evidence of harm: strong.
- Trick questionsWords a choice so that people misread which answer means yes, often with double negatives or opt-in and opt-out boxes mixed in one form.Evidence of harm: strong.
- ConfirmshamingWords the option to decline so that choosing it feels foolish or shameful, such as 'No thanks, I prefer paying full price'.Evidence of harm: moderate.
- Fake scarcity and social proofClaims that stock is low, that many others are looking or buying, or that others endorse the product, when the claim is false, unverified or generic.Evidence of harm: moderate.
- Hard to cancelMakes leaving harder than joining: cancellation only by phone or chat, a hidden path, many pages of offers and questions, or a final step that looks like it cancels and does not.Evidence of harm: moderate.
- Accidental and unauthorized chargesLets a charge happen without a deliberate act by the account holder: purchase buttons placed where people tap for other reasons, purchases by children without consent, charges after cancellation.Evidence of harm: weak.
- Disguised ads and false signalsPresents an advertisement as content, a message or a search result, or shows a badge or claim that implies a check or approval that did not happen.Evidence of harm: weak.
- Fake urgencySays an offer ends soon when it does not: a countdown that resets, a deadline after which the same price continues, or a limited-time label on a standing offer.Evidence of harm: weak.
- Forced actionMakes something people want depend on an unrelated action: creating an account, giving payment details for a free trial, accepting tracking, or sharing contacts.Evidence of harm: weak.
- NaggingAsks again and again for something the person has already refused: notifications, ratings, upgrades, data sharing.Evidence of harm: weak.
- Sneaking into the cartAdds a product, insurance, donation or service to the order without the person choosing it, so they must notice and remove it.Evidence of harm: weak.
Research
Findings about people that many of the rules are based on.
- Visual searchFinding takes longer with more items, and changes can go unseen
- Recognition is more accurate than recall
- Response timeSlower responses reduce use, and the 0.1 / 1 / 10 second limits are estimates
- Working memory holds only a few items at once
- Hick-Hyman lawChoice time grows with the log of the number of options
- Reading on screensPeople scan, and concise structured text works better
- Fitts's lawBigger and nearer targets are faster to hit