From 654d6b93bc7b425082649c7753e11cdc084fc983 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Fri, 8 Sep 2023 15:47:46 +0000
Subject: [PATCH] fixes #1723

Closes #1723

Merge request studip/studip!2140
---
 app/views/resources/_common/_resource_tr.php     | 1 +
 app/views/room_management/overview/buildings.php | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/app/views/resources/_common/_resource_tr.php b/app/views/resources/_common/_resource_tr.php
index 9aa52a76e25..9b69f043310 100644
--- a/app/views/resources/_common/_resource_tr.php
+++ b/app/views/resources/_common/_resource_tr.php
@@ -84,6 +84,7 @@
         <td>
             <input type="checkbox" class="select-resource"
                    value="<?= htmlReady($resource->id) ?>"
+                   aria-label="<?= sprintf(_('%s auswählen'), htmlReady($show_full_name ? $resource->getFullName() : $resource->name)) ?>"
                 <?= arrayToHtmlAttributes($checkbox_data) ?>>
         </td>
     <? endif ?>
diff --git a/app/views/room_management/overview/buildings.php b/app/views/room_management/overview/buildings.php
index 472fd571c79..89b5d819d25 100644
--- a/app/views/room_management/overview/buildings.php
+++ b/app/views/room_management/overview/buildings.php
@@ -14,7 +14,8 @@
                     <th>
                         <input type="checkbox" class="proxy"
                                data-proxyfor="input[name='building_ids[]']"
-                               data-activates="form.building-list button.bulk-action">
+                               data-activates="form.building-list button.bulk-action"
+                               aria-label="<?= _('Alle Gebäude auswählen') ?>">
                     </th>
                     <th><?= _('Name') ?></th>
                     <th><?= _('Nummer') ?></th>
-- 
GitLab