Small, toggleable containers often used for navigation
See more examples
Tag and slots
||Custom Element||trigger and items slots only|
||Button is recommended, but other elements work||Any|
||Div||Links, but other content is permitted|
||Boolean attribute||When present the menu is shown; otherwise, it's hidden.|
||None||Fired after the Menu was removed from the DOM.|
What about <menu>?
This component is only loosely based on the
HTMLMenuElement interface because that spec is incomplete and looks to be deprecated.
There are no accessibility recommendations for menu at this time. This post https://adrianroselli.com/2017/10/dont-use-aria-menu-roles-for-site-nav.html seems reasonable and accurate enough to say that simple markup like anchor tags in menus is sufficient.