You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[navigation menu] Invalid use of aria-orientation #4349
The NavigationMenu component adds an aria-orientation attribute to the ul from NavigationMenu.List. This is not appropriate in it's current state because the ul element in this situation is assuming the default list role which does not support aria-orientation.
Expected behavior
The role of menubar should be added to the ul element, explicitly defining it as a menu bar that contains menu items. This is appropriate because the NavigationMenu component implements keyboard interaction pattern that are expected for a menubar role. Then, the aria-orientation attribute is allowed and does not throw errors in accessibility checks.
Additionally, the menuitem role would need to be added to each NavigationMenu.Item to satisfy all accessibility checks.
Activity
linear commentedon Mar 16, 2026
BAS-473
github-actions commentedon Mar 17, 2026
This fix will be available in the next npm release of Base UI.
In the meantime, you can try it out on our Canary release channel:
[-][Navigation Menu] Invalid use of `aria-orientation`[/-][+][navigation menu] Invalid use of `aria-orientation`[/+]