From 253af7891f2f4cc2990e03e2f16d9a9debaeda94 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) Check that the page has a table 5) Check that the table has a caption to describe it and that it is 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 45e6e04ff7..74491f7e34 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 552bb59870..7860e7ba3c 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 @@ -68,6 +68,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 5334b09825..2ffd647034 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