Bug 41934: Add label to responsive control column header in OPAC course reserves

The responsive control column in the OPAC course reserves table
contained an empty <th>, which results in an empty header and
accessibility warnings from automated tools.

This patch adds visible text ("Expand") to the header cell to
provide a meaningful label for all users and resolve the issue.

To test:
1. Enable course reserves and add at least one course with items.
2. Visit the OPAC course reserves page.
3. Inspect the table header row.
4. Confirm the responsive control column now contains "Expand".
5. Verify no empty header warnings are reported by accessibility tools.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 6af5032c3a)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
Laura_Escamilla 2026-03-27 14:11:03 +00:00 committed by Jacob O'Mara
parent fb4d4f34f5
commit 9b4a52d2fd
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
<th>[% tp('Semester', 'Term') | html %]</th>
<th>Instructors</th>
<th>Notes</th>
<th class="dtr-control-col"></th>
<th class="dtr-control-col">[% t('Expand') | html %]</th>
</tr>
</thead>