{{! See @typedef MenuDefinition }} {{! this template must be used with Dropdown/Close to avoid unclosed HTML tags }} {{! DO NOT REMOVE vector-menu class. It is used for click tracking in Extension:WikimediaEvents }}
{{! Dropdown menus use the checkbox hack and require `input` and `label` elements. The `label` element functions as the "visual" button and is hidden from screenreader users (T325026) while the `input` element is the actual semantic button for toggling the dropdown. The `input` element will always have an `aria-label`, which will usually match the text inside the `label` element, unless an alternative label is provided via the `#aria-label` mustache template data. }} {{! FIXME: Rename this class to vector-dropdown-content. It currently clashes with MenuContents mustache template }}