Widgets

Menu / Menubar Validator

Applications menus need role=menu or menubar with role=menuitem children. Note: site navigation should NOT use role=menu.

Paste your HTML

Editorial guidance

The menu / menubar validator is designed to turn a common accessibility review task into a repeatable workflow. It focuses on apg menu / menubar pattern conformance — roles, item structure, orientation. The goal is not to replace expert judgment, but to make the first review faster, more consistent, and easier to explain to designers, developers, QA teams, and content owners.

Use the output as evidence for a remediation conversation. A failed check normally means the implementation needs a closer look against WCAG 2.1.1, 4.1.2, while a passing check means the specific automated rule did not find a problem. Passing automated checks is helpful, but it is not the same as a full conformance claim.

For best results, test real production markup instead of simplified snippets. Templates, CSS state, JavaScript behavior, responsive layouts, and content changes can all affect the final accessibility experience. Re-run the tool after fixes so the before-and-after evidence is easy to compare.

Pair this tool with manual keyboard testing, zoom and reflow checks, screen-reader review, and content judgment. Those human checks catch issues that automated logic cannot reliably infer, such as whether labels are meaningful, instructions are clear, or a complete user task can be finished without a mouse.

  1. 1Paste the menu or menubar markup you want to check.
  2. 2Review roles, item structure, orientation, and submenu relationships against the expected ARIA menu pattern.
  3. 3Use the results to decide whether you truly need a menu widget or whether simpler navigation markup would be better.

Tips here are tailored for the menu / menubar validator so people can move from checking to fixing faster.

Keyboard: move through the related flow with Tab, Shift+Tab, Enter, Space, Escape, and arrow keys where the pattern expects them.

Assistive technology: check names, roles, states, reading order, announcements, and focus changes with at least one screen reader.

Content quality: confirm that instructions, labels, headings, errors, and alternatives make sense in the real user task.

This page is written as practical guidance, not a legal certification. For procurement, VPAT/ACR work, or regulated launches, combine tool output with expert review and documented manual test results.

Related learning

We use essential browser storage to remember your preferences. If advertising or analytics is enabled, you can choose whether to allow those non-essential technologies. Read our Cookie Policy and Privacy Policy.