Sub topic 2
Writing Clear Navigation Labels and Groups
This chapter assumes you can write basic HTML lists and links, and that you have a draft site map from the previous chapter on information architecture. The next chapters build the primary navigation, mega menus, and footer from the labels and groups you write here.
Why labels matter
A navigation label is the text of a link or button in a menu. Visitors decide where to click from that text alone, before they see the page behind it. Screen reader users often hear links as a list, with no surrounding layout to help. A vague label costs a wrong click for a sighted user and a confusing list entry for a screen reader user.
Labels also have a second job. The same words appear in the header, the footer, breadcrumbs, page titles, and search results. If they drift apart, visitors cannot tell whether two links lead to the same place.
Rules for single labels
Apply these rules to each label in your draft.
- Use the visitor's words. Pick the term people already use, not the term your team uses internally. Visitors look for "Pricing", not "Commercial Models".
- Be specific. "Support" and "Help" are easy to confuse, so choose one. "Resources" covers almost anything, so it tells visitors little.
- Keep it short. One to three words works for most primary items. Put the most informative word first, so "Security overview" beats "Overview of our security".
- Keep the grammar parallel. If one item is a noun ("Pricing"), do not make the next one a command ("Get started") unless it is meant to stand out as a call to action.
- Match the destination. The label should match the destination page's
<h1>and<title>, or be a clear short form of them. - Use one label per destination. Do not call the same page "Contact" in the header and "Get in touch" in the footer.
- Avoid cleverness. Brand names and puns ("Playground", "The Lab") force visitors to guess. If you keep one, pair it with an obvious word.
| Weak label | Problem | Better label |
|---|---|---|
| Solutions | Too broad, no signal about content | For startups |
| Click here | Says nothing out of context | Download the price list |
| Stuff | No meaning | Guides |
| Our Offerings | Marketing phrasing | Products |
| Get in touch / Contact us | Two labels for one page | Contact |
Grouping labels
Groups matter once you have more than a handful of links. A group is a set of related links that share a visible heading or sit together in one menu.
- Group by the visitor's task, not by your org chart. "Billing questions" is a task. "Finance department" is an internal structure.
- Keep groups distinct. If a link could sit in two groups, one of the group names is probably unclear.
- Avoid catch-all groups. "Misc", "Other", and "More" hide content. Items in them are rarely found.
- Keep sizes manageable. A top-level bar of about five to nine items is a common guideline. It is a rule of thumb about scanning, not a hard limit. A group of twenty links needs sub-groups.
- Order deliberately. Put the most-used items first, or follow the order of a process (Plan, Buy, Use, Get help). Do not sort alphabetically unless visitors will scan for a known name.
- Name each group with a noun phrase that predicts its contents, such as "Platform" or "Company", and use the same names wherever the group reappears.
A group heading is not a link. If a heading is also a link, visitors cannot tell whether it opens a page or reveals a menu. Chapters on disclosure menus return to this point.
Writing labels in markup
Labels end up in HTML, where two details affect accessibility.
First, visible text should be the label. Icon-only links need an accessible name, but a visible word is more reliable. If a link has an aria-label, it should contain the visible text exactly. Speech-control users say what they see on screen, and a mismatch breaks that (WCAG 2.5.3, Label in Name).
Second, every <nav> on a page needs a distinct name when there is more than one, so screen reader users can tell the landmarks apart.
<header>
<nav aria-label='Primary'>
<ul>
<li><a href='/products'>Products</a></li>
<li><a href='/pricing'>Pricing</a></li>
<li><a href='/support'>Support</a></li>
</ul>
</nav>
</header>
<main>
<h1>Pricing</h1>
<p>Compare plans.</p>
</main>
<footer>
<nav aria-label='Footer'>
<section>
<h2>Company</h2>
<ul>
<li><a href='/about'>About</a></li>
<li><a href='/contact'>Contact</a></li>
</ul>
</section>
</nav>
</footer>Here the header says "Pricing" and the page <h1> says "Pricing". The two <nav> elements have different names. Do not write aria-label='Primary navigation', because a screen reader already announces the word "navigation" after the name. The result would be "Primary navigation navigation".
Validating labels before you build
You can test labels cheaply, before any menu code exists. Three methods cover most needs.
- Card sorting. Give participants cards, one per page, and ask them to group them and name the groups. This shows how visitors expect content to be grouped and what words they use.
- Tree testing. Show participants a text-only version of your menu and ask them to find specific items ("Where would you change your billing address?"). Failures point to unclear labels or misplaced items.
- First-click testing. Ask where they would click first for a task. A wrong first click often predicts a failed task.
Five to eight participants per round is usually enough to spot repeated problems. Record the words participants use for each group and compare them to yours.
Common errors
- Internal vocabulary. Product codenames and department names confuse visitors who have not seen them before.
- Overlapping labels. "Products", "Solutions", and "Services" side by side often lead to guessing. Merge them or sharpen the differences.
- Changing names between header and footer. Visitors see two links and wonder if they differ.
- Generic link text. "Learn more" repeated in a list gives a screen reader user a list of identical entries.
- Over-long labels. A label that wraps to three lines in a mobile menu is hard to scan and hard to tap.
- Using the label for marketing. A menu is for finding things. Put persuasion on the page.
Exercise
A site's header has the items "Solutions", "Our Offerings", "Resources", and "Get in touch". The footer links to the same contact page as "Contact us". Rewrite the labels using the rules in this chapter and explain two changes you made.
Show answer
One possible set is "Products", "Pricing", "Guides", and "Contact", with the footer link also reading "Contact". "Solutions" and "Our Offerings" overlap and use marketing phrasing, so they become one specific noun, "Products", which matches the page's heading. "Get in touch" and "Contact us" named one destination two ways, so both become "Contact". Replacing "Resources" with "Guides" names the actual content instead of using a catch-all word.