Sub topic 8
Pick navigation patterns: global, local, contextual, and breadcrumbs
Navigation systems turn a hierarchy into something people can move through. This chapter covers the four main patterns, how they fit together, and the mistakes that cause trouble in practice.
It assumes you have read the earlier chapters on hierarchy and labeling. You should have a draft hierarchy with depth and breadth settled, and a set of labels that people recognize. You also need basic HTML for the code examples.
What a navigation system does
A navigation system answers three questions on every screen:
- Where am I?
- Where can I go from here?
- How do I get back?
No single pattern answers all three well. Global navigation shows where the major areas are. Local navigation shows what lies inside the current area. Contextual navigation links to related items. Breadcrumbs show the path back up. A good design combines them, and each one has a clear job.
The patterns depend on your earlier work. Labels in the navigation come from your labeling system. The groups come from your hierarchy. If the hierarchy is weak, navigation cannot repair it. It can only expose the weakness.
Global navigation
Global navigation appears on every page or screen. It gives access to the top level of the hierarchy. It is the same everywhere, so users learn it once.
Typical forms:
- A horizontal bar at the top of a website.
- A tab bar at the bottom of a mobile app.
- A hamburger menu or drawer when space is tight.
Use the top-level labels from your sitemap. For the Acme Help Center, that means "Getting started", "Billing", and "Account security". The markup below uses a nav landmark with a label, a list of links, and aria-current to mark the user's section.
<nav aria-label="Main">
<ul>
<li><a href="/getting-started/">Getting started</a></li>
<li><a href="/billing/">Billing</a></li>
<li><a href="/security/" aria-current="page">Account security</a></li>
</ul>
</nav>Three details in this snippet matter:
- The
navelement is a landmark. Screen reader users can jump straight to it. - The
aria-label="Main"distinguishes this navigation from others on the same page. Without labels, a page with severalnavelements gives assistive technology several identical landmarks. - The
aria-current="page"attribute tells assistive technology which item is active. Style it visibly too, so sighted users see the same information.
How many items?
Keep global navigation short. Five to seven items is a common guideline, and it works because people scan a short row quickly. It is a guideline, not a law. A large store may need more. If you are past about nine, check whether some items belong under others, or whether a mega menu (a large panel that opens from a top-level item) would serve better.
Mobile choices
On phones, the choice of pattern changes how often people use the navigation.
| Pattern | Best for | Trade-off |
|---|---|---|
| Bottom tab bar | 3 to 5 top-level destinations used often | Fixed item count, takes screen space |
| Hamburger menu | Many destinations, some used rarely | Items are hidden, so they get used less |
| Top tabs, scrollable | Peer categories within one area | Later tabs are easy to miss |
| Drawer plus tab bar | Frequent actions plus a long tail | Two systems to learn |
Visible navigation is discovered more than hidden navigation. If a destination matters to most users, keep it visible.
Local navigation
Local navigation shows the structure inside one section. It appears when the user is in that section and changes from section to section.
On a website it is usually a sidebar or a secondary row of links. In an app it may be a second tab row or a list inside a settings area.
For "Billing", local navigation might list "Update payment method" and "Download invoices". For "Account security", it would list "Reset your password" and "Turn on two-step verification".
Local navigation does these jobs:
- It shows siblings, the pages at the same level, so users can compare options.
- It shows the current page's position among them.
- It keeps users inside a section without a trip back to the top.
Local navigation is where depth and breadth show up for users. A section with three levels needs a way to expand and collapse. A flat section with many items may need grouping or headings. If the local menu needs more than one screen of scrolling, revisit the hierarchy.
Keep the two systems consistent
Global and local navigation often sit next to each other, so users can confuse them. Make them visually different, with a different position and style, but keep the same labels. If the global item says "Billing", the local heading must say "Billing", not "Payments and invoices".
Contextual navigation
Contextual navigation lives inside the content. It does not follow the hierarchy. It follows meaning and need.
Examples:
- A link inside a paragraph: "If you forgot your password, see Reset your password."
- A "Related articles" block at the end of a page.
- A "Next step" button at the end of a tutorial step.
- A "You may also like" list on a product page.
Contextual links are valuable because hierarchies are rigid. A page lives in one place, but its topic may relate to several. An invoice question might touch both "Billing" and "Account security". Contextual links let a page connect across branches without duplicating it.
Guidelines for contextual links
- Write link text that describes the target. "See how to download invoices" works. "Click here" does not.
- Place links where the user would want them, usually at the moment a related question arises.
- Limit them. A page with twenty related links gives users no guidance.
- Check that each link still leads somewhere useful when content changes.
Contextual navigation is also where you handle "dead ends". A page that ends with no next step forces users back to the menu. A single "Related" link prevents that.
Breadcrumbs
Breadcrumbs show the path from the top of the hierarchy to the current page. They are a small piece of navigation with a clear purpose: they show location and let users move up one level at a time.
<nav aria-label="Breadcrumb">
<ol>
<li><a href="/">Home</a></li>
<li><a href="/security/">Account security</a></li>
<li aria-current="page">Reset your password</li>
</ol>
</nav>Notice the differences from the global navigation snippet. The list is an ordered list (ol) because the sequence matters. The aria-label is "Breadcrumb", which separates it from the main navigation. The last item is the current page and is not a link.
Types of breadcrumbs
| Type | What it shows | When to use it |
|---|---|---|
| Location-based | The page's place in the hierarchy | Sites with a clear, deep hierarchy |
| Attribute-based | Properties like category or brand | Product catalogs with filters |
| Path-based | The pages the user actually visited | Rarely recommended |
Location-based breadcrumbs are the safe choice. Path-based breadcrumbs duplicate the browser's back button and change with every visit, so they confuse more than they help.
When breadcrumbs help and when they do not
Breadcrumbs help when:
- The hierarchy has three or more levels.
- Many users arrive from search or shared links, landing deep in the site without context.
- Users compare items across sibling sections.
They add little when the site is flat, with only one or two levels. They also add little in a linear flow such as checkout, where a progress indicator fits better.
Breadcrumbs supplement other navigation. They do not replace it.
How the patterns work together
The next diagram shows how a user moves through the Acme Help Center using each pattern.
Each pattern covers a different movement:
- Global navigation moves between top-level sections.
- Local navigation moves down inside a section.
- Contextual links move sideways between related pages.
- Breadcrumbs move up.
If a movement users need has no pattern covering it, they fall back on the browser's back button or on search. Heavy use of either is a signal that the navigation has a gap.
Choosing patterns by product size
The right set depends on the size and type of the product.
| Product | Global | Local | Contextual | Breadcrumbs |
|---|---|---|---|---|
| Small site, under 20 pages | Yes | Usually not needed | Some | No |
| Documentation or help center | Yes | Yes, sidebar | Yes, related articles | Yes |
| Online store | Yes, with mega menu | Filters and categories | Recommendations | Yes |
| Mobile app with few areas | Tab bar | Rarely | In-screen links | Rarely |
| Large enterprise app | Yes | Yes | Yes | Often |
Start with the smallest set that covers every movement. Add a pattern only when a real problem calls for it. Each extra navigation element takes space and attention.
Common errors
- Labels that drift. The global label, the page title, and the breadcrumb say three different things. Use one label per concept everywhere.
- No current-location indicator. Users cannot tell which section they are in. Mark the active item visibly and with
aria-current. - Unlabeled landmarks. Several
navelements withoutaria-labelmake screen reader navigation harder. - Navigation that changes between pages. Global navigation that shifts position or contents breaks the learned pattern. Keep it fixed.
- Hiding key destinations. Putting frequent tasks inside a hamburger menu lowers their use.
- Mega menus that overwhelm. A panel with fifty links is a list the user must read, not a menu they can scan. Group the links with headings and limit the count.
- Touch targets and hover-only menus. Menus that open only on hover fail on touch screens and for keyboard users. Support click, tap, and keyboard focus.
- Breadcrumbs that do not match the hierarchy. If a page can sit under two parents, pick one canonical path for the breadcrumb.
- Treating navigation as a fix for structure. If users cannot find things, adding more menus rarely helps. Go back to the grouping and labels.
Checking your navigation
Before you build, you can check navigation at low cost:
- List the top five tasks from your user needs work.
- For each task, write down which pattern the user would use at every step.
- Mark any step with no pattern, or with a hidden one.
- Test the labels with a tree test, covered later in this tutorial.
After you build, watch for signs of trouble: heavy use of search for items that sit in the main menu, high rates of back-button use, and pages with many exits and no next click.
Exercise
A help center page, "Download invoices", sits under Billing. Many users reach it from a search engine and cannot tell where they are on the site. They also often need "Update payment method" next. Which two navigation patterns would you add, and what does each do?
Show answer
Add breadcrumbs (Home > Billing > Download invoices) so users who land deep can see the page's place in the hierarchy and move up one level. Add local navigation for the Billing section, listing "Update payment method" and "Download invoices", so users can move between siblings. A contextual link such as "Next: update your payment method" is also reasonable for the specific follow-up task.
Exercise
Your mobile app has four top-level areas that people use daily, plus six rarely used items such as legal notices and app settings. Which global navigation approach fits, and why?
Show answer
Use a bottom tab bar for the four daily areas, so they stay visible and are easy to reach with a thumb. Put the six rarely used items in a drawer or a "More" or "Settings" screen. Hiding the daily areas would lower their use, and showing all ten in a tab bar would not fit the screen.
Exercise
A site's global menu says "Payments", the Billing page title says "Billing", and the breadcrumb says "Account charges". What is wrong, and how do you fix it?
Show answer
The same concept has three labels, so users must work out whether they are the same place. Choose one label, for example "Billing", from the labeling system, and use it in the global menu, local heading, page title, breadcrumb, and URL path.