Sub topic 1
Start with information architecture and user tasks
Navigation is the visible part of a site's information architecture (IA), which is the way content is grouped, ordered, and named. If the IA is wrong, no amount of CSS or ARIA will make the navigation easy to use. This chapter shows how to derive a navigation structure from content and user tasks before you write any markup.
Prerequisites
This chapter assumes you know basic HTML and CSS, and that you understand links and lists. Later chapters add JavaScript event handling and media queries. This chapter needs no code, only a spreadsheet or a sheet of paper.
The working model
IA work moves in one direction: from what users need to do, to what content supports it, to how that content is grouped, to what the navigation shows. Navigation is the last step, not the first.
Step 1: List the user tasks
Write down what visitors come to do, as verbs. For a software company's site, the list might be:
- Find out what the product does.
- Compare plans and prices.
- Get help with a problem.
- Learn about the company.
Take these from analytics, support tickets, search queries, and interviews. If you guess, you will mirror your own org chart instead of your visitors' needs.
Step 2: Inventory the content
List every page or page type, one per row. Next to each, note which task it serves and how often people need it. Pages that serve no task are candidates for removal or for a place outside the main navigation.
| Page | Task it serves | Importance |
|---|---|---|
| Product overview | Find out what it does | High |
| Pricing | Compare plans | High |
| Help center | Get help | High |
| Careers | Learn about the company | Low |
Step 3: Group by task, not by org chart
Group pages that serve the same task. A card sort helps here: give people cards with page names and ask them to make piles. If most people put "Security" next to "Product overview" but your team filed it under "Legal", follow the users.
Keep the top level small. People scan roughly five to seven primary items with ease. Important tasks get top-level items. Low-frequency items such as Careers can move to the footer, which later chapters cover.
Step 4: Check depth and breadth
Choose a shallow, broad structure over a deep, narrow one when you can. A user who must open four levels to reach pricing will give up or use search. Aim for most pages within three clicks of the home page, and make sure each important page is reachable from more than one place.
Step 5: Record the structure
Write the result as a nested list. This becomes the skeleton for your markup.
Home
Products
Overview
Security
Pricing
Support
Help center
Contact
About (footer)
Careers (footer)Common errors
- Starting from the visual design (a mega menu, for example) and then looking for content to fill it.
- Mirroring internal departments, such as "Divisions" or "Corporate Services", which visitors do not recognize.
- Putting every page in the primary navigation because no one agreed what to cut.
- Skipping validation. Test the structure with a few users before building.
Exercise
A hospital site has pages for Departments, Billing Office, Visitor Hours, Careers, Find a Doctor, and Patient Portal. Visitors mostly want to find a doctor, check visiting hours, and pay a bill. Which pages belong in the primary navigation, and which would you move to the footer?
Show answer
Primary navigation: Find a Doctor, Visitor Hours (possibly grouped with Departments), Billing Office or Patient Portal (the payment task), and Departments. Footer: Careers, because it serves a low-frequency task for a small audience. The choice follows the visitors' tasks, not the hospital's internal structure.