diff --git a/app/views/calendar/contentbox/_termin.php b/app/views/calendar/contentbox/_termin.php index ded7d0bc2289be1fca13770262e914f2e8d381df..3daf6992775d9133f667c5d4e42db38252647590 100644 --- a/app/views/calendar/contentbox/_termin.php +++ b/app/views/calendar/contentbox/_termin.php @@ -13,19 +13,19 @@ </span> <? if ($admin && $isProfile && $termin->getObjectClass() === 'CalendarDateAssignment') : ?> <a href="<?= URLHelper::getLink('dispatch.php/calendar/calendar') ?>" - title="<?= _('Zum Kalender') ?>"> + title="<?= _('Zum Kalender') ?>" aria-label="<?= _('Zum Kalender') ?>"> <?= Icon::create('schedule')->asImg(['class' => 'text-bottom']) ?> </a> <? if ($termin->calendar_date->isWritable($GLOBALS['user']->id)) : ?> <a href="<?= URLHelper::getLink('dispatch.php/calendar/date/edit/' . $termin->getPrimaryObjectId()) ?>" - title="<?= _('Termin bearbeiten') ?>" + title="<?= _('Termin bearbeiten') ?>" aria-label="<?= _('Termin bearbeiten') ?>" data-dialog> <?= Icon::create('edit')->asImg(['class' => 'text-bottom']) ?> </a> <? endif ?> <? elseif (!$course_range && in_array($termin->getObjectClass(), ['CourseDate', 'CourseExDate'])) : ?> <a href="<?= URLHelper::getLink('dispatch.php/course/dates', ['cid' => $termin->getPrimaryObjectId()]) ?>" - title="<?= _('Zur Veranstaltung') ?>"> + title="<?= _('Zur Veranstaltung') ?>" aria-label="<?= _('Zur Veranstaltung') ?>"> <?= Icon::create('seminar')->asImg(['class'=> 'text-bottom']) ?> </a> <? endif ?> diff --git a/app/views/calendar/contentbox/display.php b/app/views/calendar/contentbox/display.php index c0387fd98194edacc0c48dd69fa6aeb6ef916125..bd7b266173ac813b3b6274ca4dec8ae72a7a66b5 100644 --- a/app/views/calendar/contentbox/display.php +++ b/app/views/calendar/contentbox/display.php @@ -10,12 +10,12 @@ <? if ($isProfile) : ?> <a href="<?= URLHelper::getLink('dispatch.php/calendar/date/add') ?>" data-dialog="reload-on-close" - title="<?= _('Neuen Termin anlegen') ?>"> + title="<?= _('Neuen Termin anlegen') ?>" aria-label="<?= _('Neuen Termin anlegen') ?>"> <?= Icon::create('add', 'clickable')->asImg(['class' => 'text-bottom']) ?> </a> <? else: ?> <a href="<?= URLHelper::getLink("dispatch.php/course/timesrooms", ['cid' => $range_id]) ?>" - title="<?= _('Neuen Termin anlegen') ?>"> + title="<?= _('Neuen Termin anlegen') ?>" aria-label="<?= _('Neuen Termin anlegen') ?>"> <?= Icon::create('admin', 'clickable')->asImg(['class' => 'text-bottom']) ?> </a> <? endif ?>