Treat navigation as a core task

Navigation helps visitors understand the structure of a site and reach important destinations. Make the information hierarchy clear before adding interaction effects. A menu with understandable labels and a logical order is easier to use than one that relies on animation or visual novelty.

Use links for destinations and buttons for actions

A link should take visitors to another page or location. A button should perform an action, such as opening a menu. Using native elements gives browsers and assistive technologies expected behaviour and reduces the amount of custom interaction code required.

Make keyboard operation complete

Visitors should be able to reach every menu control with a keyboard and activate it using standard keyboard behaviour. Avoid hover-only menus that cannot be opened with a keyboard. If a menu opens a panel, ensure the open and close controls are reachable and the panel does not become an inaccessible dead end.

Show visible focus

Keep a clear focus indicator on links and buttons. Do not remove browser outlines unless an equally visible replacement is provided. Test focus against every background used in the menu, including sticky headers and dropdown panels.

Communicate expanded state

For a control that opens or closes a submenu, expose its expanded or collapsed state programmatically and keep that state in sync with what is visible. Give the control a clear accessible name. Avoid making a parent navigation link impossible to activate just because it also has a submenu.

Support touch and pointer users

Do not depend on hover as the only way to reveal navigation. Provide a reliable tap target and ensure touch users can open and close submenus without accidental navigation. Keep menu labels concise and allow enough spacing between interactive items.

Test focus order and dismissal

Check the sequence in which focus moves through the header, menu and page. Visitors should be able to close an open menu predictably, and focus should not disappear behind a closed panel. Test Escape behaviour where appropriate and ensure the menu works at increased zoom.

Conclusion

Accessible navigation combines semantic controls, complete keyboard access, visible focus and predictable state. Test the whole interaction rather than assuming that a menu is accessible because it looks simple.

]]