Sub topic 2
Writing clear navigation labels and groups
This chapter assumes you can write HTML lists and links and that you have a rough list of your site's pages and the tasks visitors come to do. Labels and groups are the words and the buckets of your navigation. If they are unclear, correct markup will not help visitors find anything.
Write labels in your visitors' words
A label is a promise about what is behind the link. Visitors scan labels quickly, so each one has to be understandable on its own.
- Use the visitor's vocabulary. Take words from support tickets, search queries, and interviews, not from your org chart or product code names.
- Be specific. "Pricing" tells people more than "Solutions" or "Resources".
- Keep it short. One to three words. Put the distinctive word first, so "Security overview" beats "An overview of security".
- Use one grammatical pattern. Use all nouns ("Products", "Pricing", "Support") or all verbs, not a mix.
- Match the destination. The page's
<h1>should echo the link text. If "Support" leads to a page titled "Help center", visitors wonder whether they landed in the right place. - Use each label once. Two different links called "Overview" force people to guess.
| Weak label | Problem | Better label |
|---|---|---|
| Solutions | Vague, could be anything | Plans for teams |
| Click here | Says nothing out of context | Download the guide |
| Our Stuff | Jargon-free but meaningless | Products |
| Resources | A catch-all bucket | Guides, Blog |
Group by task, not by org chart
Grouping decides where a label lives. The same rules apply to the primary bar, to the panels of a mega menu, and to footer columns.
- List every destination from your information architecture.
- Cluster items that serve the same visitor task, such as "learn", "buy", or "get help".
- Name each cluster with a label that follows the rules above.
- Keep top-level items to roughly five to seven. If a group grows past that, split it or move rarely used links to the footer.
- Order by importance to visitors, not alphabetically. Put the main call to action last or visually distinct.
A card sort, where real users sort your page titles into piles, is a cheap way to check your clusters before you build.
Carry labels into the markup
Groups become headings and labeled landmarks. If a page has more than one nav, give each a distinct accessible name so screen reader users can tell them apart.
<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>
<nav aria-label='Footer'>
<h2>Company</h2>
<ul>
<li><a href='/about'>About</a></li>
<li><a href='/contact'>Contact</a></li>
</ul>
</nav>If you add an aria-label to a link, keep the visible text at the start of it. Voice-control users say the words they see.
Exercise
A site's top bar reads "Solutions | Resources | Our Stuff | Click here". Name two problems with these labels and rewrite the bar.
Show answer
The labels are vague ("Solutions", "Resources", "Our Stuff") and "Click here" says nothing out of context. They also mix patterns and do not name destinations. One rewrite: "Products | Pricing | Guides | Contact". Each label is a short noun in the visitor's words and matches its page heading.