<{f:if(condition: module.shouldBeLinked, then: 'a', else: 'button')}
role="menuitem"
title="{f:translate(key: module.shortDescription, default: module.shortDescription)}"
class="modulemenu-action t3js-modulemenu-action {f:if(condition: showChildren, then: 't3js-modulemenu-collapsible')}"
tabindex="{tabIndex}"
id="{module.identifier}"
data-modulename="{module.identifier}"
href="{f:be.uri(route: module.identifier)}"
{f:if(condition: module.component, then: 'data-component="{module.component}"')}
{f:if(condition: module.navigationComponent, then: 'data-navigationcomponentid="{module.navigationComponent}"')}
{f:if(condition: showChildren, then: 'aria-haspopup="true" aria-expanded="{f:if(condition: module.collapsed, then: \'false\', else: \'true\')}"')}
>
{f:if(condition: module.shouldBeLinked, then: 'a', else: 'button')}>