Accessibility

Giuliomax Menu Builder is built to meet WCAG 2.2 Level AA. Navigation works fully without a mouse, dropdowns are announced to screen readers, and motion can be disabled system-wide.

WCAG 2.2 AA compliance

The plugin is tested against the following WCAG 2.2 success criteria relevant to navigation components:

CriterionLevelHow it is met
1.4.3 Contrast (Minimum)AAAll built-in themes are tested to meet a 4.5:1 contrast ratio for text.
2.1.1 KeyboardAAll functionality is operable via keyboard alone.
2.1.2 No Keyboard TrapAFocus can always leave the menu without using a pointing device.
2.4.3 Focus OrderAFocus order follows the visual reading order of the menu.
2.4.7 Focus VisibleAAA visible focus ring is rendered on every interactive element.
2.4.11 Focus AppearanceAAFocus indicators meet minimum size and contrast requirements (new in WCAG 2.2).
4.1.2 Name, Role, ValueAAll interactive elements have an accessible name and correct ARIA role.

Keyboard navigation

KeyAction
TabMove focus to the next menu item or interactive element.
Shift + TabMove focus to the previous item.
Enter / SpaceActivate a link, or open / close a dropdown.
/ Move focus through items inside an open dropdown or mega menu panel.
/ Move between top-level items.
EscapeClose the current dropdown or mega menu panel and return focus to the parent item.
Home / EndJump to the first / last item in a dropdown list.

ARIA attributes

The plugin automatically adds the following ARIA attributes to the rendered markup:

You do not need to configure any of this — it is applied automatically based on the menu structure.

Focus management

Reduced motion

All transitions and animations respect the prefers-reduced-motion: reduce CSS media query. When the user has enabled "Reduce motion" in their operating system's accessibility settings:

Testing your menu

After configuring your menu, use the following tools to verify accessibility: