the common expectation on how to build single instances of menu popups in UI is to invoke them from button elements.
<button aria-haspopup=menu aria-expanded=...>
foo
</button>
<el-menu role=menu>
<!-- menuitems here -->
</el-menu>
in the menu proposal this use case should be covered - and this could be supported by the command/commandfor attributes, as one idea.
originally, button type=menu was how this had been previously spec'd back when menu was attempting to be something more than another way to spell ul.
the common expectation on how to build single instances of menu popups in UI is to invoke them from button elements.
in the menu proposal this use case should be covered - and this could be supported by the command/commandfor attributes, as one idea.
originally,
button type=menuwas how this had been previously spec'd back whenmenuwas attempting to be something more than another way to spellul.