From 0f42ad5527b8f90b60fcc8560a93297d3e15abe0 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Thu, 10 Jun 2021 21:09:53 +0000 Subject: [PATCH] Bug 28243: labels 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 labels 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/labels/label-edit-batch.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt | 1 + 3 files changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index 273bb5ceb2..e8f61fba57 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -135,6 +135,7 @@

Items 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/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt index 029594994d..d37931fa2b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt @@ -67,6 +67,7 @@

Currently available batches

[% END %]
Items
+ [% FOREACH table_loo IN table_loop %] [% IF ( table_loo.header_fields ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt index 3e31ec279b..d60691f292 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt @@ -54,6 +54,7 @@ [[% result_se.itemtype | html %]], [% IF ( result_se.publishercode ) %][% result_se.publishercode | html %] [% END %][% IF ( result_se.place ) %][% result_se.place | html %] [% END %][% IF ( result_se.copyrightdate ) %][% result_se.copyrightdate | html %], [% END %][% IF ( result_se.pages ) %][% result_se.pages | html %][% END %][% IF ( result_se.isbn ) %], ISBN: [% result_se.isbn | html %][% END %][% IF ( result_se.notes ) %],
[% result_se.notes | html %][% END %]

Labels
+ [% FOREACH item_tabl IN result_se.item_table %] [% IF ( item_tabl.header_fields ) %] -- 2.11.0
Results