Sub topic 5
4. Consistency and standards
This chapter assumes you have read the overview chapter and know what a usability heuristic is. You should be comfortable with everyday web and app interfaces. The HTML examples are optional reading, but basic HTML helps.
What the heuristic says
Nielsen's fourth heuristic reads: users should not have to wonder whether different words, situations, or actions mean the same thing. Follow platform and industry conventions.
The heuristic covers two related ideas.
- Internal consistency means the product agrees with itself. The same action has the same name, look, and behavior everywhere in the product.
- External consistency means the product agrees with the world around it. It follows conventions that users learned from other products, from the operating system, and from the web in general.
Both reduce the effort of learning. People spend most of their time in other products. Jakob's Law, a related observation from Nielsen, says users expect your product to work like those other products. Every departure from a convention costs the user a small amount of thought, and that cost adds up.
Why it matters
A consistent interface lets a user transfer what they learned in one place to another. After they learn that a trash icon deletes a file, they can apply that to every list in the product. An inconsistent interface forces them to relearn the same idea repeatedly. It also causes errors, because a user acts on a habit that no longer holds.
Consistency also affects trust. When labels, spacing, and behavior drift from screen to screen, the product looks unfinished. Users may doubt the parts they cannot see.
Four kinds of consistency
It helps to separate consistency into four layers. Evaluators often find problems in one layer while the others look fine.
| Layer | Question to ask | Example of a violation |
|---|---|---|
| Language | Does one term mean one thing? | "Remove" on one screen, "Delete" on another, "Discard" on a third, all doing the same thing |
| Visual | Do similar elements look similar, and different ones look different? | Primary buttons are blue on one page and green on another |
| Behavior | Does the same gesture or control produce the same result? | Pressing Enter submits one form but clears another |
| Platform | Does it follow the conventions of the operating system or the web? | A link that is not underlined or colored differently, or a Save button that sits where Cancel usually sits |
Language
Pick one word for each concept and use it everywhere: in menus, buttons, error messages, emails, and help pages. If your product calls a collection of work a "project" in the navigation, do not call it a "workspace" in the settings and a "folder" in the help text. Users will wonder whether these are three different things.
A short glossary kept by the team prevents most of these problems. Product copy, support articles, and code identifiers can all draw on it.
Visual
Visual consistency means that appearance signals meaning. If primary actions are solid blue buttons, then a solid blue button should always mean "the main action here." If a red color means a destructive action in one place, it should not decorate a harmless label somewhere else.
Design systems exist largely for this reason. A design system is a shared set of components, colors, spacing rules, and writing guidelines that teams reuse instead of redrawing each time.
Behavior
Behavior covers what happens when users interact. Examples include whether a double-click opens an item, whether a swipe reveals actions, and whether a dialog closes when you click outside it. If two similar dialogs close differently, users will make mistakes in one of them.
Platform and web conventions
Some conventions are so established that breaking them hurts even a well-made design. On the web, users expect:
- A logo in the top-left corner that links to the home page.
- Links that look different from plain text, usually through color and underline.
- A magnifying-glass icon or a labeled box for search.
- A shopping cart icon to open the cart.
- The browser's back button to return to the previous page.
- Form fields with a visible label.
On a phone, users expect the platform's own patterns, such as the system back gesture and the standard share sheet.
A worked example: native controls
The most reliable way to follow web conventions is to use the elements the browser already provides. A native element comes with standard looks, keyboard behavior, and accessibility support. You get consistency for free.
This HTML uses the standard email input. The browser knows what the field is for, so it can show an appropriate keyboard on phones, validate the format, and offer saved values.
<label for="email">Email address</label>
<input id="email" name="email" type="email" required autocomplete="email">Compare that with a custom control built from generic elements:
<div class="fake-input" onclick="startTyping()">Email address</div>The second version looks like an input but is not one. It will not receive keyboard focus by default, a screen reader will not announce it as a field, and the browser cannot autofill it. Users who know how fields behave will find that this one does not behave that way. This is a violation of consistency and standards, and it is also an accessibility failure.
The same applies to links and buttons. Use a link (<a>) to go to another page and a button (<button>) to perform an action. If you swap them, users lose the expected behavior, such as opening a link in a new tab or submitting a form with the keyboard.
<a href="/reports">View all reports</a>
<button type="submit">Save changes</button>Consistency inside a product
Internal consistency is easiest to lose in a large product built by several teams over several years. Typical symptoms include:
- Two date pickers with different layouts.
- Confirmation dialogs where the destructive button is on the left in one and on the right in another.
- A setting called "Notifications" in the app and "Alerts" on the website.
- Icons that mean different things in different sections.
To find these problems, an evaluator walks through the product and builds an inventory. For each element type (buttons, dialogs, forms, tables, messages), they collect examples from different parts of the product and compare them. Differences without a reason are violations.
When to break a convention
The heuristic does not say you must never innovate. It says that departures should be deliberate and should be worth their cost. Consider three questions before breaking a convention.
- Does the new pattern solve a real problem that the standard cannot? Novelty alone is not a reason.
- Will users understand it without instructions? If not, the learning cost has to be repaid by a large benefit.
- Does it break accessibility or platform rules? If so, the answer is almost always no.
Consistency also does not mean making different things look identical. If two actions have different consequences, such as "Save draft" and "Publish to everyone," they should be visibly different. The aim is that the same thing looks the same, and different things look different.
Common mistakes
- Treating consistency as sameness. Using the same style for a harmless action and a destructive one hides an important difference.
- Fixing the look but not the words. Teams often align colors and spacing and leave inconsistent labels in place.
- Copying a competitor's convention without checking it. A convention is only useful if your users already know it.
- Styling native controls beyond recognition. Heavy restyling can remove the cues users rely on, such as focus outlines.
- Inconsistency across channels. The web app, mobile app, emails, and help center should use the same names and steps.
Severity and how this heuristic is used
In a heuristic evaluation, consistency problems are common and are often rated lower in severity than errors that cause data loss. A mismatch in button color is a cosmetic issue. A mismatch in the meaning of a destructive button, where one "Remove" deletes permanently and another only hides an item, can be severe. Rate the problem by its effect on users, not by how easy it is to spot. Later chapters cover severity ratings in detail.
Summary of the heuristic
- Use one word, one look, and one behavior for each concept inside your product.
- Follow platform and web conventions so users can rely on what they already know.
- Prefer native controls over custom ones.
- Break a convention only for a clear benefit, and check it with real users.
Exercise
A product has a "Delete" button in the file list, a "Remove" link in the settings page, and a "Discard" option in the editor. All three permanently erase an item. Which layer of consistency is violated, and what change would you propose?
Show answer
This is a language inconsistency, which violates internal consistency. Users may wonder whether the three actions differ. Choose one term, for example "Delete," and use it in the button, the link, the confirmation message, and the help text. Also confirm that the three actions really behave the same way. If they do not, give each a distinct name that reflects what it does.
Exercise
A designer builds a "Submit" control from a styled <div> with a click handler. Name two ways in which this breaks users' expectations, and state the simple fix.
Show answer
Possible answers include that the control cannot be reached or activated with the keyboard by default, that screen readers do not announce it as a button, and that it will not submit a form with the Enter key. The fix is to use a native <button type="submit"> and style it with CSS.
Exercise
A team wants to move the shopping cart icon from the top-right corner to the bottom-left corner of the page because it looks cleaner. Using the questions from "When to break a convention," what would you tell them?
Show answer
Users expect the cart at the top right, so the change has a learning cost. The team should ask whether the new position solves a real problem, whether users will find it without help, and whether it breaks any platform rule. Looking cleaner is not a strong enough benefit. Keep the conventional position, or test the new one with users before committing.