From 91a68d71f118af4e84803f512d6f5b864fd03851 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Tue, 15 Jun 2021 02:37:36 +0000 Subject: [PATCH] Bug 28243: patroncards 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 patroncards 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/patroncards/edit-batch.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt | 1 + 3 files changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index 3856437cae..9f71e55e28 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -85,6 +85,7 @@

Patrons in batch number [% batch_id | html %]

+ [% FOREACH table_loo IN table_loop %] [% IF ( table_loo.header_fields ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt index a24f183be4..3674672112 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt @@ -83,6 +83,7 @@ Select one or more images to delete.
Patrons in batch number [% batch_id | html %]
+ [% FOREACH TABL IN TABLE %] [% IF ( TABL.header_fields ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt index 05cd10e254..a9b4934495 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt @@ -65,6 +65,7 @@

Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]

Images
+ [% FOREACH table_loo IN table_loop %] [% IF ( table_loo.header_fields ) %] -- 2.11.0
Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]