Start with a real article URL, not the homepage. A mobile menu can work on the homepage and still fail on the pages readers land on. A long tutorial might use a different header, or its sticky table of contents might cover the menu’s close button. And if a reader lands on the tutorial from a search engine, the browser’s Back button won’t take them to the tutorial’s category. Can they find it through the menu?
1. Choose your pages and tasks before opening the inspector
Pick one page from each template that changes how readers get around: the homepage, a category listing, a long article, and a search results page if your site has search. Include a no-results page or a 404 if it uses a different header.
Before changing templates, styles, or menu settings, make a backup. Work on a staging copy and check that you can restore the files or settings you plan to change.
Write each test as a task with a result you can verify. “Check the menu” tells you little beyond whether it opens. Try “Open the menu on a C# tutorial, choose the C# category, and check that the destination heading matches.” Here are three tasks to start with:
- Open a tutorial directly and find its parent section without visiting the homepage.
- Jump to a heading near the end of a long article, then use the menu to reach another section of the site.
- Open an article from a listing or search result, go back, and see if you can pick up where you left off.

2. Open the menu, dismiss it, and follow a link
At the top of an article, open the menu and close it without choosing anything. Scroll down a few screens and try again. Use every way the interface offers to dismiss the menu: the close button, a tap outside the panel if supported, and any other dismissal control. If the panel covers the page, make sure its close button stays within reach even when you scroll through the menu.
- Opening: The menu is usable after one tap, and that tap doesn’t also trigger a link underneath it.
- Scrolling: You can reach the last menu item. If the panel is modal—that is, it temporarily blocks interaction with the rest of the page—scrolling the menu doesn’t move the article behind it.
- Closing: If you dismiss the menu without choosing a link, you’re still at the same spot in the article and can scroll normally again.
- Following a link: The right page appears, the menu is out of the way, and the page scrolls. If the site uses both client-side route changes and full page loads, test both.
For a nested menu, expand a section with several entries and scroll to the last one. If the section name also links to a category page, check that opening the category and expanding the submenu are separate actions. The category name can be a link, with a clearly labeled button beside it to show the submenu. Neither action should rely on hover.
3. Check the space around the controls, not just the icons
In responsive mode, drag the viewport wider and narrower instead of relying on preset phone sizes. Pay attention to the width where the desktop header gives way to the mobile menu: you might see both sets of controls at one width and neither at another. Try the longest labels your site actually uses, increase the text size, and switch to landscape. A menu that fits in portrait can run out of vertical space when you turn the phone sideways.
On a real phone, tap near the edges of the menu, search, and close buttons. An icon can look large enough even when only a small area responds to taps. WCAG 2.2’s minimum target size criterion generally calls for a target of at least 24 by 24 CSS pixels, with exceptions such as sufficient spacing. That’s a minimum, not a comfort target. Give frequently used buttons more room, especially when two controls sit close together.
Watch for overlap between the header, cookie notice, search field, and any bottom toolbar. Check with the browser bars visible, then scroll until they retract and check again. Open search to bring up the on-screen keyboard. Can you still reach the input, submit the search, and close it? If a control moves just as you tap it, use the guide to debugging layout problems with Core Web Vitals to find out what’s shifting.
4. Test with a keyboard and a screen reader
A touch test won’t tell you if keyboard focus has slipped behind the open menu. Connect a hardware keyboard to a phone if you have one, or use a desktop keyboard with the viewport set to mobile width. Press Tab until you reach the menu button, open the menu, and keep tabbing. You should be able to see where focus is at each step, move through the controls in a sensible order, and skip any hidden links. Try Shift+Tab too; some problems only show up when you go backward.
Match the focus behavior to the menu type
A simple expanding menu can leave focus on the toggle when it opens, with the newly revealed links next in the tab order. A modal drawer should move focus inside when it opens, keep it there while the drawer is open, and close when you press Escape. If you dismiss the drawer without following a link, focus should return to the button that opened it. If a link changes the view without a full page load, check that focus moves somewhere useful in the new view rather than disappearing with the drawer.
Listen to the controls on a phone
Turn on VoiceOver on iOS or TalkBack on Android. Swipe through the header, open the menu, and follow a link. Listen for a useful name such as “Main menu” and check that the toggle announces whether it’s expanded or collapsed. A search icon shouldn’t be announced as just “button.” A closed panel should be skipped, and while a modal is open, swiping shouldn’t take you into the article behind it. Ordinary site navigation can use links and buttons that reveal more links. It doesn’t need to act like a desktop application menu.
5. Follow article links and test the way back
On a long coding tutorial, use the table of contents to jump to a heading. The heading should appear below the sticky header, not behind it. Reload the page at that address or copy it into a fresh tab to check that the heading is visible when you arrive directly. If the header covers it, inspect where the browser stops scrolling. Setting scroll-margin-top on the target heading is one possible fix.
Next, open an article several rows down a category listing and use the browser’s Back button or gesture. See if you can pick up where you left off: are you at the same spot, with the same filters and results where applicable? Repeat the test from search. If there’s a way to load more results, open an article from a later batch. Restoring the scroll position won’t help if the results you were browsing are gone.
Try Back after opening and closing the menu, too. Unexpected history entries can make it feel as if Back isn’t taking you anywhere.
6. Repeat the key tasks on a phone and a slow connection
Desktop emulation is handy for layout checks, but it won’t reproduce every browser gesture, keyboard behavior, or change in available screen height. If you have access to both, run your main tasks in Safari on iOS and Chrome on Android. Rotate the phone with the menu open. It’s fine if the layout changes or the menu closes, as long as you’re left with a usable menu or page, not an invisible panel that still blocks scrolling.
In developer tools, slow the network and reload without relying on cached files. Tap the menu button as soon as it looks ready. The header can appear before its JavaScript is ready to handle a tap. If the button doesn’t respond right away, note whether it ignores the first tap, opens after a delay, or opens twice when tapped repeatedly. Reload again with a warmed cache to see if the problem is limited to startup or happens every time.
7. Record failures someone else can reproduce
For each issue, note the page template and URL, device, browser, orientation, and starting state. Give the shortest steps that reliably produce the issue, then describe what you expected and what actually happened. A short recording helps show a tap that lands on the wrong control, but it doesn’t replace the steps. Mark an issue as blocking if it stops someone from completing an important task and there’s no reasonable alternative. An overlay that won’t close or a menu that traps keyboard users both qualify.
After a fix, rerun the failing task and one related task on the same template. Say a sticky header was hiding the “Cancellation” heading in an async tutorial. Tap the table-of-contents link, then open the copied section address in a fresh tab. Both should bring the heading into view. If the fix only changed what happens on a click, readers who open the section directly may still find the heading hidden.
