--- title: Navigation slug: navigation prefix: NAV order: 4 summary: People always know where they are, how they got there, and how to get back. --- Navigation is the map of the product. It should be predictable enough that nobody thinks about it. ## NAV-01: People can always tell where they are - **Level:** MUST - **Why:** Without a clear "you are here", every page feels like the first visit. - **Do:** Highlight the current nav item and mark it with `aria-current="page"`. Make the page heading match the nav label. - **Don't:** Use nav items that look identical whatever page you are on. - **Check:** auto - **Test:** On each page, exactly one nav item has `aria-current` and the `h1` matches its label. ## NAV-02: The back button works as expected - **Level:** MUST - **Why:** Back is the most-used button on the web. Breaking it breaks trust. - **Do:** Put meaningful state in the URL (tabs, filters, search, open detail views). Restore scroll position when people go back. - **Don't:** Make back leave the app from inside a single-page view, or reset filters. - **Check:** walkthrough - **Test:** Apply a filter, open an item and press back. The filtered list returns in the same scroll position. ## NAV-03: Links are links and buttons are buttons - **Level:** MUST - **Why:** Real links can be opened in a new tab, copied and read correctly by assistive technology. Click handlers on `div`s can't. - **Do:** Use `` for going somewhere and `