Skip to content
Snippets Groups Projects
Commit cbfb9de3 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fix for BIESt #525

parent e40f52a5
No related branches found
No related tags found
No related merge requests found
<? // class "action-menu" will be set from API ?> <? // class "action-menu" will be set from API ?>
<nav <?= arrayToHtmlAttributes($attributes) ?>> <nav <?= arrayToHtmlAttributes($attributes) ?> aria-role="presentation">
<a class="action-menu-icon" title="<?= htmlReady($label) ?>" <a class="action-menu-icon" title="<?= htmlReady($label) ?>"
aria-expanded="false" aria-label="<?= htmlReady($aria_label) ?>" href="#" aria-expanded="false" aria-label="<?= htmlReady($aria_label) ?>" aria-role="button" href="#"
<?= $image_link_attributes ? arrayToHtmlAttributes($image_link_attributes) : '' ?>> <?= $image_link_attributes ? arrayToHtmlAttributes($image_link_attributes) : '' ?>>
<?= $image ?> <?= $image ?>
</a> </a>
<div class="action-menu-content"> <div class="action-menu-content">
<? if (!empty($label)): ?> <? if (!empty($label)): ?>
<div class="action-menu-title"> <div class="action-menu-title" aria-hidden="true">
<?= htmlReady(_($label)) ?> <?= htmlReady(_($label)) ?>
</div> </div>
<? endif; ?> <? endif; ?>
<ul class="action-menu-list"> <ul class="action-menu-list" aria-label="<?= _('Inhalt') ?>">
<? foreach ($actions as $action): ?> <? foreach ($actions as $action): ?>
<li class="action-menu-item"> <li class="action-menu-item">
<? if ($action['type'] === 'link'): ?> <? if ($action['type'] === 'link'): ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment