From 15d3e6be29ba7855c52423f043c65992cfd5f8fc Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Thu, 10 Jun 2021 18:29:22 +0000 Subject: [PATCH] Bug 28243: clubs folder Added captions to tables for accessibility purposes, some of these include class="sr-only" so that they are not visible, but they are still present for those who use screen-readers. To test: 1) Apply patch and dependencies 2) Go to Staff Client 3) Go to clubs 4) Go to each of the pages/files and check if they have tables 5) Check that each of the tables have captions to describe them (unless they have special heading tags instead) - some of these will be visible on the page and some will be hidden with "sr-only" Sponsored-by: Catalyst IT --- koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt | 5 ++--- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt index 4383291728..764264d270 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt @@ -40,6 +40,7 @@

Club enrollments for [% club.name | html %]

+ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt index 30fe936bc1..d2cca33185 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt @@ -67,6 +67,7 @@ [% IF club_templates %]
Enrollments
Name
+ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt index cbbdfa9e70..218daf8fad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt @@ -1,9 +1,9 @@ [% USE KohaDates %] [% IF enrollments %] -

Clubs currently enrolled in

Club templates
Name
+ @@ -34,9 +34,8 @@ [% IF clubs %] -

Clubs not enrolled in

-

Clubs currently enrolled in

Name
+ -- 2.11.0

Clubs not enrolled in

Name