Search
Enter at least two characters without personal information.

    LibraryArticles & FAQ Your projectRequest a quote
    LanguageEN
    Practical guides

    Test website navigation and menus

    A good menu lets people predict where each choice leads. Test it against visitor tasks, not only the structure imagined by the team.

    Go to the method

    Illustration of website project planning: Test website navigation and menus

    Start with real tasks

    Choose concrete intentions: find a price, compare services, contact someone or return to information seen earlier. Ask people unfamiliar with the site where they would begin. Record first choices and backtracking without guiding them.

    Compare menu words with the words visitors use. A label such as “Solutions” may make sense internally yet mean little to outsiders. The service-page guide helps align label, content and decision.

    • Tasks and audiences defined.
    • First choices observed without help.
    • Labels revised after hesitation.

    Check several routes

    An important page should have a predictable path even when someone arrives directly from search. Test the main menu, contextual links, breadcrumbs and footer. The same service should not acquire different names without a reason.

    Deep menus need particular attention: visitors must understand the relation between parent and child items. Do not hide an essential destination behind hover alone, which does not translate to touch screens.

    • Key pages easy to reach.
    • Contextual links consistent.
    • No essential hover-only destination.

    Test keyboard and small screens

    Use Tab, Enter, Space and Escape as appropriate for each component. Focus must be visible and an open submenu must be escapable. On a phone, test opening, closing, target size and enlarged text.

    Try long and short pages. A sticky menu can obscure a heading after an anchor link; a drawer can leave scrolling locked after it closes. The W3C menu tutorial gives structural and interaction examples.

    For ordinary site navigation with links and a disclosure button, specify the expected outcome for each of the four states below. aria-expanded describes state; the attribute does not hide links by itself. Check visibility, keyboard navigation and assistive technology output together. A closed panel whose links still receive focus fails this contract even when its screenshot looks correct.

    In the disclosure pattern used here, Escape closes the panel and returns focus to its button. This non-modal panel must not trap keyboard navigation. Do not automatically assign menu or menubar roles: those widgets require other interactions. The W3C APG example illustrates a pattern rather than production-ready code; browser and assistive technology testing remains necessary and does not certify the whole website.

    • Focus and closing checked.
    • Touch targets usable.
    • Anchors and scrolling verified.

    Scroll the table horizontally to read every column. With a keyboard, focus the table area and use the arrow keys.

    Test contract for non-modal disclosure navigation
    State or actionExpected outcomeVerification
    Closed panelaria-expanded=falseHidden links absent from the Tab sequence
    Open panelaria-expanded=trueVisible links reachable with Tab
    Escape from the panelPanel closesFocus returns to the disclosure button
    Mobile to desktop resizeOne coherent active navigationNo focusable hidden links or duplicate identifiers
    • W3C APG : Disclosure Navigation

      W3C APG, consulted 22 October 2026: disclosure navigation, keyboard operation and example limitations. Resizing is an additional part of our test contract.

    Find and fix dead ends

    Group findings by effect: missing page, ambiguous label, loop, broken link or unreachable control. Fix journeys tied to actual visitor needs first, then repeat the task with someone who has not seen the change.

    After release, review site search, exit pages and repeated questions without overinterpreting one metric. A phone enquiry may reveal a confusing menu. The measurement guide links such signals to testable improvements.

    • Dead ends ranked by impact.
    • Fix retested.
    • Visitor signals reviewed after release.

    Test navigation after opening and closing

    Open sections by keyboard, follow a destination and return with Back. Check that closed-panel links leave the focus sequence and useful context returns. Separate a page-opening link from a submenu disclosure control.

    Resize while navigation is open. This reveals states carried between desktop and mobile. Record labels that fail to predict destinations and correct them at their source.

    Design mobile navigation and submenus · Choose and test tabbed web views

    Test return from a menu

    Hand at a keyboard facing a laptop with blurred panels
    Observe where focus returns when the menu closes.

    Proposed case: a mobile submenu opens but closing does not return focus to its trigger. The visitor loses their starting point.

    Test opening, level changes and closing with different input methods. Keep link order, panel state and return path; a visible menu does not establish controlled navigation.

    • Identify the trigger
    • Test entering and leaving the panel
    • Check return to context

    Reference documents

    Content updated on

    Documented reference points for this topic

    Documented reference points for this topic
    ReferenceValue or syntaxScope
    WCAG 2.2 · 2.5.8
    24 × 24 CSS pxA smaller target can satisfy the criterion through spacing; other exceptions apply.
    WCAG 2.2 · 1.4.10
    320 CSS pxVertical content without two-dimensional scrolling; exceptions cover inherently two-dimensional content.

    Dates indicate when references were consulted. These facts are neither a site audit nor an overall compliance statement.

    Acceptance matrix to adapt to your project

    These proposed checks use synthetic cases. Decide the required behaviour with the team, record the result and assign unresolved gaps before release.

    Scroll the table horizontally to read every column. With a keyboard, focus the table area and use the arrow keys.

    Test cases, expected outcomes and useful evidence
    CaseExpected outcomeEvidence to retain
    A submenu covers the close button on mobile.Closing and destinations remain reachable without horizontal page scrolling.Test width, tab order and accessible close control while the panel is open.

    Frequently asked questions

    How should a menu be tested beyond opening it?

    Have people find information from several entry points using keyboard and narrow screens. Check submenus, closing, return and current-page state. Labels should help people unfamiliar with internal organisation. Record hesitation as well as successful clicks.