From d28f3aff4a6cf4e55e070015106948b720076bef Mon Sep 17 00:00:00 2001 From: Moritz Strohm Date: Tue, 28 May 2024 14:41:49 +0000 Subject: added aria-label text for icons on the profile page, fixes #4046 Closes #4046 Merge request studip/studip!3047 --- app/views/calendar/contentbox/_termin.php | 6 +++--- app/views/calendar/contentbox/display.php | 4 ++-- app/views/news/_actions.php | 9 ++++++--- app/views/news/display.php | 11 +++++++---- app/views/questionnaire/_widget_questionnaire.php | 5 +++-- app/views/questionnaire/widget.php | 9 ++++++--- 6 files changed, 27 insertions(+), 17 deletions(-) diff --git a/app/views/calendar/contentbox/_termin.php b/app/views/calendar/contentbox/_termin.php index ded7d0b..3daf699 100644 --- a/app/views/calendar/contentbox/_termin.php +++ b/app/views/calendar/contentbox/_termin.php @@ -13,19 +13,19 @@ getObjectClass() === 'CalendarDateAssignment') : ?> + title="" aria-label=""> asImg(['class' => 'text-bottom']) ?> calendar_date->isWritable($GLOBALS['user']->id)) : ?> asImg(['class' => 'text-bottom']) ?> getObjectClass(), ['CourseDate', 'CourseExDate'])) : ?> + title="" aria-label=""> asImg(['class'=> 'text-bottom']) ?> diff --git a/app/views/calendar/contentbox/display.php b/app/views/calendar/contentbox/display.php index c0387fd..bd7b266 100644 --- a/app/views/calendar/contentbox/display.php +++ b/app/views/calendar/contentbox/display.php @@ -10,12 +10,12 @@ + title="" aria-label=""> asImg(['class' => 'text-bottom']) ?> $range_id]) ?>" - title=""> + title="" aria-label=""> asImg(['class' => 'text-bottom']) ?> diff --git a/app/views/news/_actions.php b/app/views/news/_actions.php index 343cd10..d67de26 100644 --- a/app/views/news/_actions.php +++ b/app/views/news/_actions.php @@ -37,16 +37,19 @@ if ($new['allow_comments']) : havePermission('edit')): ?> - + havePermission('unassign', $range)): ?> - + havePermission('delete')): ?> - + diff --git a/app/views/news/display.php b/app/views/news/display.php index 7d9e2d0..5f62443 100644 --- a/app/views/news/display.php +++ b/app/views/news/display.php @@ -9,18 +9,21 @@ diff --git a/app/views/questionnaire/_widget_questionnaire.php b/app/views/questionnaire/_widget_questionnaire.php index 22ecf72..4f625c2 100644 --- a/app/views/questionnaire/_widget_questionnaire.php +++ b/app/views/questionnaire/_widget_questionnaire.php @@ -30,7 +30,7 @@ "> countAnswers() ?> - "> + + title="" aria-label="" + data-qr-code> asImg(20, ['class' => "text-bottom"]) ?> diff --git a/app/views/questionnaire/widget.php b/app/views/questionnaire/widget.php index 9804b24..6d7f4b3 100644 --- a/app/views/questionnaire/widget.php +++ b/app/views/questionnaire/widget.php @@ -8,15 +8,18 @@