# Solved Problems in UX > An evidence-graded reference of 102 recurring web interface problems. Each page gives a plain recommendation, every rule with its grade and when it applies, accessibility requirements, open questions and sources. Solved Problems in UX is a reference of recurring web interface problems, each with a clear recommendation and the evidence behind it. Every rule is graded: Settled means required by WCAG 2.2 AA or binding law, or shown by replicated research; Strong means a rigorous study that fits, with agreement and no credible dissent; Moderate means practitioner research or agreement across established design systems; Weak means a small or mixed body of evidence or a reasoned step; Unsettled means the evidence does not decide it, and a default is given. Every page is available as Markdown by adding .md to its address. The whole reference is in one file at https://uxreference.com/llms-full.txt. A Model Context Protocol server is at https://uxreference.com/mcp (search_problems, get_problem, list_problems). JSON: https://uxreference.com/api/index.json. When citing, link the problem page, and a rule with #rule-N. By Athen Pellicci. Licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/): free to share and reuse with credit. ## Forms - [Asking for personal data and saying why](https://uxreference.com/forms/asking-for-personal-data.md): Ask only for what the service will use, and say why next to anything people may not expect. - [Autofill and identifying input purpose](https://uxreference.com/forms/autofill.md): Mark each field with what it is for, and never block autofill, pasting or password managers. - [CAPTCHA](https://uxreference.com/forms/captcha.md): Check for bots without asking anything of people, and show a puzzle only when that check is unsure. - [Checkboxes vs toggles](https://uxreference.com/forms/checkbox-toggle.md): Use a switch for a setting that takes effect at once, and a checkbox for a choice that waits for submit. - [Email](https://uxreference.com/forms/email.md): Use an email field and check only that the address looks plausible. Suggest a fix for likely typos, but let people continue. - [Entering a date](https://uxreference.com/forms/date-input.md): Let people type a date they know. Show a calendar only when they are choosing one, and still let them type. - [Error message content](https://uxreference.com/forms/error-messages.md): Say which field is wrong and how to fix it, right next to the field. - [Error summaries](https://uxreference.com/forms/error-summary.md): After a failed submit, list every error at the top, each linking to its field, and keep the message at each field too. - [Field width as a hint](https://uxreference.com/forms/field-width.md): Size each field to the length of the answer you expect. - [File upload](https://uxreference.com/forms/file-upload.md): Always offer a button that opens the file chooser, and state accepted types and sizes before people choose. - [Input masks and formatting as you type](https://uxreference.com/forms/input-masks.md): Accept the separators people type and clean them up yourself, and show the expected shape outside the field. - [Labels](https://uxreference.com/forms/labels.md): Give every field a visible label that stays in place while people type. - [Name](https://uxreference.com/forms/name.md): Accept names as people write them, in any script, and do not require exactly two parts. - [One-time codes](https://uxreference.com/forms/one-time-code.md): Use one field that can be pasted into and filled automatically, and do not submit by itself. - [Password creation](https://uxreference.com/forms/password-create.md): Require length, not character mixes, allow password managers, and offer a way to show the password. - [Payment card](https://uxreference.com/forms/payment-card.md): Take the card number in one field, with or without spaces, and work out the card type yourself. - [Phone number input](https://uxreference.com/forms/phone.md): Ask only if you will use it, take it in one field, and accept the number however it is written. - [Placeholder text](https://uxreference.com/forms/placeholder.md): Do not use placeholder text as a label or for instructions. Put both outside the field. - [Postal address](https://uxreference.com/forms/address.md): Offer an address lookup where the data is reliable, and always let people type the address by hand. - [Preserving input after an error](https://uxreference.com/forms/preserve-input.md): Never make people type something twice. Keep what they entered through errors and back steps. - [Progress through steps](https://uxreference.com/forms/step-progress.md): In a flow of three or more steps, show the steps and where people are. Do not expect a progress bar to keep them going. - [Required and optional fields](https://uxreference.com/forms/required-optional.md): Mark at each field whether it is required, and require only what the task cannot do without. - [Saving and resuming](https://uxreference.com/forms/save-resume.md): When a form needs things people may have to go and find, let them save and come back. - [Selects vs radios vs comboboxes](https://uxreference.com/forms/select-radio-combobox.md): Show a few options as radio buttons. For a long list, let people type. - [Show password](https://uxreference.com/forms/password-show.md): Hide the password by default, with a control that shows it. - [Single page vs multi-step](https://uxreference.com/forms/single-vs-multistep.md): Add a review step before anything that commits people, and use steps when questions branch. - [Sliders](https://uxreference.com/forms/slider.md): Use a slider only for rough values. For an exact value or a rating, use a typed field or radio buttons. - [Stating format requirements](https://uxreference.com/forms/format-requirements.md): Remove format rules where you can. Where you cannot, state them before people type. - [Submit button state](https://uxreference.com/forms/submit-state.md): Keep submit usable so it shows what is missing, and stop a second submission while the first is processing. - [When to validate a form field](https://uxreference.com/forms/validation-timing.md): Check on submit, and do not show an error until people have finished the field. - [ZIP and postal codes](https://uxreference.com/forms/postcode.md): Accept ZIP and postal codes however they are typed, and don’t require one where people may not have one that works. ## Navigation - [Breadcrumbs](https://uxreference.com/navigation/breadcrumbs.md): On sites with several levels, show where the page sits in the structure, not the route people took. - [Hidden vs visible menus on small screens](https://uxreference.com/navigation/small-screen-menu.md): Show the links when they fit. When some must be hidden, keep the most used ones visible. - [In-page navigation](https://uxreference.com/navigation/in-page.md): On a long page with distinct sections, list links to them near the top. - [Links vs buttons](https://uxreference.com/navigation/links-vs-buttons.md): Use a link to go somewhere and a button to do something. - [Mega menus](https://uxreference.com/navigation/mega-menu.md): Wait a moment before opening or closing on hover, and make the whole menu work from the keyboard. - [Opening links in new tabs](https://uxreference.com/navigation/new-tab.md): When a link opens a new tab, say so in the link. - [Pagination vs infinite scroll vs load more](https://uxreference.com/navigation/pagination-scroll-loadmore.md): Show short lists whole. When people search or compare, use pages or a Load more button, not endless scrolling. - [Primary navigation](https://uxreference.com/navigation/primary.md): Use clear, familiar labels, keep navigation the same on every page, and mark where people are. - [Skip links](https://uxreference.com/navigation/skip-links.md): Give keyboard users a way past repeated blocks: a skip link first in the focus order, and a heading for each section. - [Tabs](https://uxreference.com/navigation/tabs.md): Use tabs only for distinct sections people do not need side by side, and never hide what most people need. - [The back button](https://uxreference.com/navigation/back-button.md): Make Back return to the view people last saw, with their place and their input restored. ## Search - [Faceted filters](https://uxreference.com/search/facets.md): Show the applied filters together, each one removable, and keep them in the page address. - [Query suggestions](https://uxreference.com/search/suggestions.md): Put the most likely suggestions first, and keep what people typed in the field. - [Results pages](https://uxreference.com/search/results.md): Put the best match first, and make each summary say what the item really is. - [Sorting](https://uxreference.com/search/sorting.md): Always show which sort order is in use, and keep it across pages and Back. - [The search field](https://uxreference.com/search/field.md): Show an open search field, keep the query in it on the results page, and search the whole site. - [Zero results](https://uxreference.com/search/zero-results.md): Say plainly that nothing matched, keep the query editable, and offer ways forward. ## Feedback and status - [Empty states](https://uxreference.com/feedback/empty-states.md): Never leave an empty area blank. Say why it is empty, and give a way to start or recover. - [Loading indicators](https://uxreference.com/feedback/loading.md): Show nothing for waits under a second, and limit the loading state to the part that is loading. - [Offline and failure states](https://uxreference.com/feedback/offline-failure.md): Say plainly what went wrong and what people can do, and keep what they entered. - [Optimistic updates](https://uxreference.com/feedback/optimistic.md): Show results early only for small, reversible actions. Wait for the server for anything that matters. - [Progress indicators](https://uxreference.com/feedback/progress.md): For work over about ten seconds, show how much is done, and never move the bar backwards. - [Response time thresholds](https://uxreference.com/feedback/response-time.md): Treat every delay as a cost, and acknowledge every input at once. - [Skeleton screens](https://uxreference.com/feedback/skeleton.md): Do not expect skeleton screens to make loading feel faster. Use them only for the first load of a page. - [Success confirmation](https://uxreference.com/feedback/success.md): Say what happened and what comes next, where people will notice it. - [Toasts and notifications](https://uxreference.com/feedback/toasts.md): Use messages that vanish by themselves only for things people can afford to miss. ## Dialogs and overlays - [Confirmation dialogs](https://uxreference.com/dialogs/confirmation.md): Confirm rarely, label the buttons with what they do, and for severe actions make people engage with the detail. - [Drawers](https://uxreference.com/dialogs/drawers.md): Put a panel beside the content when people need both, and send long work to its own page. - [Focus management on open and close](https://uxreference.com/dialogs/focus-management.md): Move focus into a dialog when it opens, and back to the control that opened it when it closes. - [Modal dialogs](https://uxreference.com/dialogs/modal.md): Use a modal only when people must respond before anything else, and only after their own action. - [Popovers](https://uxreference.com/dialogs/popovers.md): Open popovers on click, not hover, and close them with Escape or a click outside. - [Tooltips](https://uxreference.com/dialogs/tooltips.md): Never put anything people need in a tooltip. Keep it on the page. ## Content - [Accordions](https://uxreference.com/content/accordions.md): Collapse only content most people do not need, and let several sections stay open at once. - [Carousels](https://uxreference.com/content/carousels.md): Do not put needed content after the first slide, and stop any rotation as soon as people interact. - [Charts and their accessible alternatives](https://uxreference.com/content/charts.md): Give every chart a text description and its data as a table, and never use color alone. - [Data tables](https://uxreference.com/content/tables.md): Use real tables with marked-up headers, and keep the identifying column first. - [Truncation and read more](https://uxreference.com/content/truncation.md): When text is cut short, let everyone reach the full text, and never cut what people use to tell items apart. ## Deleting and undoing - [Confirming vs undoing a destructive action](https://uxreference.com/deleting/confirm-vs-undo.md): Act at once and offer undo. Ask “are you sure?” only when it truly cannot be undone and is rare. ## Accounts and sign-in - [Log in](https://uxreference.com/accounts/log-in.md): Never block paste or password managers, and slow repeated attempts instead of locking people out. - [Passkeys](https://uxreference.com/accounts/passkeys.md): Offer passkeys at sign-up and recovery, and show people where each one lives and how to remove it. - [Password reset](https://uxreference.com/accounts/password-reset.md): Send a single-use, expiring link to a confirmed address, and do not use security questions. - [Sign up](https://uxreference.com/accounts/sign-up.md): Do not require an account where the service works without one, and ask only for what the account needs. - [Social sign-in](https://uxreference.com/accounts/social-sign-in.md): Say what each provider will share before people choose, and always offer a sign-in that needs no third party. ## Shopping and subscriptions - [Canceling a subscription](https://uxreference.com/shopping/cancellation.md): Let people cancel online the way they signed up, and confirm it at once in writing. - [Checkout steps](https://uxreference.com/shopping/checkout-steps.md): Before the order is placed, show what is being bought and the total, with a review where each part can be changed. - [Guest checkout](https://uxreference.com/shopping/guest-checkout.md): Always let people buy without an account, and offer one after the purchase. - [Price display](https://uxreference.com/shopping/pricing.md): Show the total, with every mandatory fee, wherever a price first appears. - [Shopping cart](https://uxreference.com/shopping/cart.md): Confirm what was added, show the full cost before checkout, and keep the cart between visits. - [When to ask for an account](https://uxreference.com/shopping/account-timing.md): Let people look and buy before asking for an account, and offer one afterwards. ## Consent and permissions - [Browser permission prompts](https://uxreference.com/consent/browser-permissions.md): Ask for a permission only when people use the feature that needs it, and say why first. - [Cookie consent](https://uxreference.com/consent/cookies.md): Never pre-check consent, put refusal on the first screen as plainly as acceptance, and let people change their mind later. - [Email preferences](https://uxreference.com/consent/email-preferences.md): Leave marketing boxes unchecked, and word the choice positively. - [Notification opt-in](https://uxreference.com/consent/notifications-opt-in.md): Ask for notifications only when people act to turn them on, never when they arrive. - [Unsubscribe](https://uxreference.com/consent/unsubscribe.md): Put a one-step unsubscribe in every marketing email, and stop sending quickly. ## Help and onboarding - [Contextual documentation](https://uxreference.com/help/contextual-docs.md): Put help next to the part of the page it concerns, in the same place on every page. - [First-run experience](https://uxreference.com/help/first-run.md): Let people start at once, and teach in context where the product is complex. - [Inline help](https://uxreference.com/help/inline.md): Keep the rules people must follow visible next to the field, not behind an icon. - [Tours and coach marks](https://uxreference.com/help/tours.md): Do not rely on tours. Show one tip at a time, when it is needed, and let people dismiss it. ## Accessibility - [Announcements to screen readers](https://uxreference.com/accessibility/announcements.md): Announce results, errors and progress without moving focus, politely, and only what people need. - [Keyboard operation](https://uxreference.com/accessibility/keyboard.md): Make everything work from the keyboard, in a sensible order, with the keys people expect. - [Reduced motion](https://uxreference.com/accessibility/reduced-motion.md): Never flash, let people pause moving content, and remove decorative motion when they ask for less. - [Target size](https://uxreference.com/accessibility/target-size.md): Make every target at least 24 by 24 pixels, and bigger for touch. - [Time limits](https://uxreference.com/accessibility/time-limits.md): Avoid time limits. Where one is needed, warn before it ends and let people extend it. - [Visible focus](https://uxreference.com/accessibility/focus-visible.md): Always show where keyboard focus is, and never cover it. ## Mobile and touch - [Gestures](https://uxreference.com/mobile/gestures.md): Give every gesture a visible single-tap alternative, and act when the finger lifts. - [Input modes and on-screen keyboards](https://uxreference.com/mobile/input-modes.md): Show the keyboard that matches each field, but accept the same input whatever keyboard appears. - [Reachability](https://uxreference.com/mobile/reachability.md): Expect one-handed use, and do not assume a bigger phone means a bigger reach. - [Touch targets](https://uxreference.com/mobile/touch-targets.md): Make tappable controls about 44 to 48 points, and extend small controls’ tap areas without overlap. ## AI interfaces - [Conversational and AI interfaces](https://uxreference.com/ai/conversational.md): Say it is an AI, what it can do and how reliable it is, and offer another route when it fails. - [Generated content and its provenance](https://uxreference.com/ai/provenance.md): Mark generated content in machine-readable form, and make every cited source openable and relevant. - [Streaming responses](https://uxreference.com/ai/streaming.md): Respond at once, keep the start of the answer in view, and give a way to stop. ## Dark patterns - [Confirmshaming](https://uxreference.com/dark-patterns/confirmshaming.md): Label the way out as plainly as the way in. “No thanks” is enough. - [Disguised ads and false signals](https://uxreference.com/dark-patterns/disguised-ads-and-false-signals.md): Label ads as ads, and show a badge only when the check behind it happened. - [Drip pricing and hidden costs](https://uxreference.com/dark-patterns/drip-pricing.md): Show the total, with every mandatory fee, wherever a price first appears. - [Fake scarcity and social proof](https://uxreference.com/dark-patterns/fake-scarcity-social-proof.md): Mention stock or popularity only when it is true and matters to the choice, as a plain fact. - [Fake urgency](https://uxreference.com/dark-patterns/fake-urgency.md): State a real deadline plainly, or none at all. Never a countdown that resets. - [False hierarchy and unequal choices](https://uxreference.com/dark-patterns/false-hierarchy.md): Make refusing as easy as agreeing: on the same screen, as the same kind of button, in as many steps. - [Forced action](https://uxreference.com/dark-patterns/forced-action.md): Let people get what they came for without an unrelated step, such as making an account. - [Hard to cancel](https://uxreference.com/dark-patterns/hard-to-cancel.md): Let people leave the way they joined: online, in a few steps, with the end date confirmed. - [Hidden subscriptions and trial traps](https://uxreference.com/dark-patterns/hidden-subscription.md): Next to the button that starts it, say the price, when it renews and how to stop it. - [Nagging](https://uxreference.com/dark-patterns/nagging.md): Take no for an answer. After a refusal, don’t ask again. - [Pre-selected options](https://uxreference.com/dark-patterns/preselection.md): Start every choice that costs money or shares data unselected, so that doing nothing means no. - [Privacy-intrusive defaults](https://uxreference.com/dark-patterns/privacy-intrusive-defaults.md): Start every sharing setting at its most private, and ask only for what the service needs. - [Sneaking into the cart](https://uxreference.com/dark-patterns/sneak-into-basket.md): Put in the cart only what people chose. Offer extras; never add them. - [Trick questions](https://uxreference.com/dark-patterns/trick-questions.md): Word each choice as a plain, positive statement, so that checking the box means yes. - [Accidental and unauthorized charges](https://uxreference.com/dark-patterns/unauthorized-charges.md): Charge only after a deliberate step that plainly says it pays and names the amount. ## Optional - [Research foundations](https://uxreference.com/research.md) - [Visual search: finding takes longer with more items, and changes can go unseen](https://uxreference.com/research/visual-search.md) - [Recognition is more accurate than recall](https://uxreference.com/research/recognition-recall.md) - [Response time: slower responses reduce use, and the 0.1 / 1 / 10 second limits are estimates](https://uxreference.com/research/response-time.md) - [Working memory holds only a few items at once](https://uxreference.com/research/working-memory.md) - [Hick-Hyman law: choice time grows with the log of the number of options](https://uxreference.com/research/hick-hyman.md) - [Reading on screens: people scan, and concise structured text works better](https://uxreference.com/research/reading-behavior.md) - [Fitts's law: bigger and nearer targets are faster to hit](https://uxreference.com/research/fitts-law.md) - [Method](https://uxreference.com/method.md): how evidence is gathered and graded