{{! See @typedef MenuDefinition }}
{{! Dropdown menus use the checkbox hack and require `input` and `label` elements The accessible label is applied to the `input` which is semantically a button The `label` element is used as a visual button and is hidden from screenreaders to reduce verbosity, as it's contents are already used or overridden in the `input` element }} {{#is-dropdown}} {{/is-dropdown}} {{! Portal menus also require `label` elements, but these should not be hidden and should have an accessible label }} {{#is-portal}} {{/is-portal}}
{{{html-before-portal}}} {{{html-after-portal}}}