From fe2eaeaf1d0b677d2e1652925917976d6b7ff611 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Thu, 10 Jun 2021 15:16:53 +0000 Subject: [PATCH] Bug 28243: catalogue 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 catalogue 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 --- .../intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 10 +++++++++- .../intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt | 1 + .../prog/en/modules/catalogue/labeledMARCdetail.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 3 +++ .../intranet-tmpl/prog/en/modules/catalogue/search-history.tt | 4 ++++ .../intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt | 1 + 8 files changed, 21 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt index 673c5cae5f..a66ec3495e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -174,6 +174,7 @@ [% IF ( tab10XX ) %]
+ [% FOREACH header IN item_header_loop %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index 63431f591f..b8313ca72b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -169,6 +169,7 @@

Limit to any of the following:

Items
[% header | html %]
+ [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
Item types