From cbfb9de3f31eedea763cd408291881688a06367b Mon Sep 17 00:00:00 2001 From: Moritz Strohm <strohm@data-quest.de> Date: Thu, 20 Jan 2022 15:33:10 +0000 Subject: [PATCH] fix for BIESt #525 --- templates/shared/contentgroup-row.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/shared/contentgroup-row.php b/templates/shared/contentgroup-row.php index f374a360788..7dcc0fc8543 100644 --- a/templates/shared/contentgroup-row.php +++ b/templates/shared/contentgroup-row.php @@ -1,17 +1,17 @@ <? // 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) ?>" - 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 ?> </a> <div class="action-menu-content"> <? if (!empty($label)): ?> - <div class="action-menu-title"> + <div class="action-menu-title" aria-hidden="true"> <?= htmlReady(_($label)) ?> </div> <? endif; ?> - <ul class="action-menu-list"> + <ul class="action-menu-list" aria-label="<?= _('Inhalt') ?>"> <? foreach ($actions as $action): ?> <li class="action-menu-item"> <? if ($action['type'] === 'link'): ?> -- GitLab