Sub topic 11
Help and documentation
This chapter covers the tenth heuristic. It assumes you have read the earlier heuristic chapters, especially error prevention and error recovery, and that you can read short HTML and JavaScript snippets.
What the heuristic says
Nielsen's tenth heuristic states that it is best if a system needs no explanation. It is still often necessary to provide help and documentation. That help should be easy to search, focused on the user's task, list concrete steps, and not be too large.
The heuristic does not ask you to write a manual. It asks you to treat help as part of the interface, so that someone who is stuck can find the right answer quickly and return to their work.
Two points sit inside that wording:
- Help is a fallback. Heuristics 1 to 9 should prevent most confusion. If help is the only place a feature makes sense, the interface has a problem elsewhere.
- Help is still required. Some domains are complex, such as tax software, a deployment tool, or a medical device. In those domains, no amount of clear labeling removes the need for explanation.
Why users go looking for help
People rarely read documentation for pleasure. They open it when they have a specific goal and something blocked them. That produces three requirements:
- The help must be findable at the moment of need.
- It must be phrased in the user's task terms ("Change my billing date"), not in the system's feature terms ("Subscription cycle configuration").
- It must be short enough to scan, because the user wants to get back to the task.
Searching for help is also a recall problem. A user who cannot name the feature cannot search for it. Good help therefore accepts the words users actually use and does not require the official term.
Forms of help
Help exists at several levels of effort and context. The table compares the common forms.
| Form | Where it appears | Best for | Typical failure |
|---|---|---|---|
| Inline hint | Next to a field or control | Format rules and constraints | Disappears on focus, so the user must remember it |
| Tooltip or popover | On hover, focus, or tap of a "?" icon | One-sentence definitions | Unreachable by keyboard or touch |
| Empty-state guidance | Where content will appear | First-time use | Shown once, then gone |
| Onboarding tour | On first launch | Orienting users to a layout | Skipped, then unavailable later |
| Help center or docs | Separate pages | Multi-step tasks and reference | Organized by feature, not by task |
| Contact or chat support | Last resort | Cases docs cannot cover | Hidden behind many clicks |
The levels form an escalation path. The user starts with the lightest help and moves to heavier forms only if the lighter ones fail.
Contextual help in code
The cheapest and most effective help sits beside the thing it explains. The next example attaches a permanent hint to a password field and links to a longer article.
<label for="password">Password</label>
<input id="password" name="password" type="password" minlength="12" autocomplete="new-password" aria-describedby="password-hint" required>
<p id="password-hint">Use at least 12 characters. Four unrelated words work well. <a href="/help/passwords">More password tips</a></p>Several details matter here:
- The hint is visible text, not a placeholder. A placeholder vanishes when the user starts typing, so they would have to remember the rule, which breaks recognition over recall.
aria-describedbylinks the hint to the input, so screen readers announce it when the field receives focus.minlengthmakes the browser enforce the rule that the hint describes. The help and the validation state the same rule.- The link leads to deeper help without crowding the form, which respects aesthetic and minimalist design.
Making help searchable
A help center is only as good as its search. The next script shows the core idea: match the user's words against titles and keywords, not only against official feature names. It also handles the no-results case, which many help centers get wrong.
const articles = [
{ title: "Change your billing date", keywords: ["invoice", "payment", "charge", "renew"] },
{ title: "Reset your password", keywords: ["login", "locked out", "forgot", "sign in"] },
{ title: "Export your data", keywords: ["download", "backup", "csv"] }
];
function searchHelp(query, list) {
const terms = query.toLowerCase().split(/\s+/).filter(Boolean);
if (terms.length === 0) return [];
return list.filter(function (article) {
const haystack = (article.title + " " + article.keywords.join(" ")).toLowerCase();
return terms.some(function (term) {
return haystack.includes(term);
});
});
}
const results = searchHelp("forgot login", articles);
if (results.length === 0) {
console.log("No articles found. Try different words, or contact support.");
} else {
results.forEach(function (a) { console.log(a.title); });
}
// Prints: Reset your passwordThe keyword lists carry the user's vocabulary ("locked out", "forgot"). Real systems often add stemming, synonyms, and logs of failed searches. Those logs show which words users try that your articles do not cover.
Writing help that works
Apply these rules to help content:
- Name the task in the title. "Change your billing date" beats "Billing settings overview".
- Lead with the answer. Put the steps first and the background after.
- Use numbered steps for procedures, with one action per step.
- Name the exact control as it appears on screen, including its label and location.
- Show the result. Say what the user should see after the last step, so they can tell whether it worked.
- State prerequisites and limits. For example, "Only account owners can do this."
- Link, don't duplicate. Keep one source of truth and link to it from the interface.
Edge cases and common mistakes
Help that goes stale. Documentation that describes an old interface is worse than none, because it sends users to controls that no longer exist. Assign an owner to each article and review the articles whenever the related feature changes.
Tooltips on touch and keyboard. A hover-only tooltip cannot be reached on a phone or with a keyboard. Make help available on focus and tap as well. Do not put essential information only in a tooltip.
One-time tours. A tour shown on first launch teaches a user who has not yet tried anything, so they forget most of it. Keep a way to replay it, such as a "Show me around" item in the help menu. Prefer help triggered when the user reaches a feature.
Chatbots as the only door. A chatbot can be one help channel. When it is the only channel and it cannot reach a human, users who hit its limits have nowhere to go. Always give a visible route to a person for problems that matter.
Help behind a login. If the user is locked out, they cannot reach help that requires signing in. Keep help for login and account recovery public.
Overlong help. A 40-page PDF fails the "not too large" part of the heuristic. Split content into short, linkable articles.
Help that blames the user. Phrases such as "You should have..." or "Obviously..." signal that the problem is the user's fault. Write neutrally and give the next step.
Language and region. If the interface is localized, the help must be localized too. A translated interface with English-only help leaves users stranded at the moment they most need clarity.
Relation to the neighboring heuristics
Error recovery messages should be self-contained. When a message cannot hold the full fix, it should link to the relevant help article, as with the password hint above. In the other direction, any help article that most users need to complete a basic task is a sign that you should redesign the interface so the article becomes unnecessary. Recognition over recall and consistency apply to help itself: put the help entry point in the same place on every screen and use the same icon for it.
Checking for violations
When you review an interface against this heuristic, ask:
- Can I find help from the screen where I got stuck, without starting over?
- Does the search accept the words a new user would try?
- Do the articles match the current interface?
- Are the instructions specific steps, or general descriptions?
- Is there a path to a human if the articles fail?
- Can keyboard and touch users reach every form of help?
A failure on question 1 or 5 usually blocks a user completely. A failure on question 3 or 4 slows them down and erodes trust. Later chapters on severity ratings explain how to compare such problems.
Exercise
A settings page has a field labeled "Webhook secret" with no explanation. The only help is a 30-page PDF manual linked in the site footer, and the PDF describes an older version of the page. Name two violations of the help and documentation heuristic and propose one concrete fix for each.
Show answer
First, the help is not in context and is too large: the user must leave the page and search a 30-page PDF for one field. Fix: add a short inline hint under the field, such as "A shared value used to verify that requests come from us. Copy it into your server's configuration," with a link to a single focused article on webhook secrets. Second, the documentation is out of date and describes an older interface. Fix: replace the PDF with short, task-based articles, assign an owner to each, and review them whenever the page changes. A footer-only link is also hard to find, so adding a consistent "Help" entry on the page would address that as well.