How can a mobile navigation icon explain what it opens?

A phone and small booklet on a cafe counter.

Key points

  1. Give the control an understandable name and state.
  2. Ordinary navigation links and the ARIA menu pattern are different.
  3. Example code is not a production exemption from testing, especially with mobile assistive technology.

What should the three-line icon communicate?

Customers need to know that the button opens site navigation and whether the content is currently collapsed or expanded. A screen reader should not encounter only “button” or an image filename. The W3C disclosure-navigation example uses disclosure controls for navigation and explains why ordinary site navigation generally does not need the complex interaction associated with the menu role.

Ask the developer to propose a clear name, such as “Site navigation”, and demonstrate the relationship between that name, the expanded state and the controlled content. The purpose is understandable structure, not identical wording on every website.

Why not add menu to every menu?

The everyday word “menu” is not the same as an ARIA menu. The official example explains that typical site navigation is a set of links; looking like a dropdown does not make the more complex menu behaviour appropriate. An unsuitable pattern can create expectations that the keyboard interaction does not meet. See the W3C disclosure-navigation example.

First identify the purpose: revealing links, navigating to another page or executing application commands. Select structure according to the actual interaction rather than adding impressive-looking roles that do not match the behaviour.

Hands open a blue booklet beside a phone.

How should the name and expanded state be checked?

Confirm that the button name is understandable, aria-expanded agrees with the visible state after opening and closing, and the control refers to the correct content. Its meaning should not depend entirely on the icon’s appearance or a tooltip. Someone who cannot see the graphic should still understand its purpose.

Operate it with a mouse, touch and keyboard to check that the state does not update for only one input method. These are proposed acceptance checks, not a claim that this article inspected the code of your existing website.

How can users enter and leave the revealed links?

Check keyboard activation, access to visible links and exit from the navigation region, with reasonable focus placement. The W3C disclosure-navigation example demonstrates Escape handling and focus management. The implementer should understand the adopted pattern instead of copying only its appearance.

Collapsed links should not create a confusing invisible keyboard route. If the mobile navigation is actually a full-screen dialog, design and test that interaction accordingly. Do not assume that a simple disclosure example covers every possible navigation presentation.

What changes on narrow screens and enlarged views?

Check whether long service names are clipped, revealed content hides necessary controls, or enlargement makes the closing method difficult to find. When a horizontal desktop navigation becomes a mobile control, reassess reading order and the operational sequence rather than carrying over the desktop result.

The official example explicitly warns about assistive-technology support differences, particularly mobile and touch combinations, and calls for testing before production use. See the W3C disclosure-navigation example. Copying its code does not establish universal compatibility or certify the resulting website.

What makes the handover verifiable?

Record the control name, default expanded state, keyboard sequence, hidden-content handling and tested environments. Replace a vague “mobile menu works” with reproducible steps so another colleague can understand what completion means and repeat the relevant checks after an update.

Retain limitations for untested mobile screen readers or device combinations. After correcting an issue, repeat opening, choosing, closing and returning to the page content. Checking that the icon remains in its original position is not a functional regression test.

Frequently asked questions

Does an image alt attribute automatically make the icon sufficient?

No. Check the complete control’s name, role, state and operation; see the W3C disclosure-navigation example.

Must ordinary site navigation use the menu role?

No. The official example explains why typical navigation does not require that complex pattern. See the W3C disclosure-navigation example.

Is changing the icon enough to show expansion?

Not by itself. Programmatic state should agree with the revealed content, as illustrated by the W3C disclosure-navigation example.

Does copying the W3C example certify the implementation?

No. The example calls for assistive-technology testing before production, particularly for mobile and touch environments. See the W3C disclosure-navigation example.

Should full-screen navigation follow this example unchanged?

Do not assume so. Establish whether it has different interaction requirements, such as a dialog, before selecting its pattern and test scope.

About the author: This article was written by the HKONE team. HKONE is a Hong Kong digital marketing and AI automation company providing social media management, website design, AI customer service and GEO / SEO for SMEs. Where this article mentions platform fees or policies, the platform's official information takes precedence.

Tell us about your business first. Then decide.

The consultation is free. We will understand your situation before recommending a plan and a quote.