79379003

Date: 2025-01-22 19:37:19
Score: 0.5
Natty:
Report link

This appears to be a navigation menu. In that case, you do not want to use ARIA menu roles. Get rid of all the role="menu" and role="menuitems". ARIA menu roles are only intended to be used in very specific circumstances, primarily when you are trying to recreate a native operating system menu, which a navigation menu is not. Reference: Don't Use ARIA Menu Roles for Site Nav

Implementing a navigation menu is actually much simpler than people make it out to be. But rather than trying to re-explain the wheel, I'll just give you a link to the master: Link + Disclosure Widget Navigation. Seriously, this guy is one of the foremost experts in web accessibility and his website is consider the Accessibility Bible by many. I would follow his example very closely.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Roland McLeod