Question about Navigation Menubar Example

[Navigation Menubar Example: href with menuitem role]

[Hello, Im looking at the APG navigation example<http://w3.org/WAI/ARIA/apg/patterns/menubar/examples/menubar-navigation/>. Why do all the menuitems that have submenu have a href ??  Are they supposed to work as a link as well? Thank you in advance !
Example:
<a role="menuitem"
           aria-haspopup="true"
           aria-expanded="false"
           href="#about">
          About
          <svg xmlns="http://www.w3.org/2000/svg"
               class="down"
               width="12"
               height="9"
               viewBox="0 0 12 9">
            <polygon points="1 0, 11 0, 6 8"></polygon>
          </svg>
        </a>
]



Thank you for contributing to accessibility.



Ken Sumiyoshi

Accessiblity Analyst

LSAC

[IAAP certified CPWA]

Email: KSumiyoshi@lsac.org

Received on Sunday, 11 May 2025 21:25:52 UTC