Bugzilla – Attachment 121943 Details for
Bug 28243
Accessibility: Staff interface - add captions to tables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28243: labels folder
Bug-28243-labels-folder.patch (text/plain), 3.66 KB, created by
Wainui Witika-Park
on 2021-06-15 02:05:15 UTC
(
hide
)
Description:
Bug 28243: labels folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-15 02:05:15 UTC
Size:
3.66 KB
patch
obsolete
>From 0f42ad5527b8f90b60fcc8560a93297d3e15abe0 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >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 @@ > <form name="items"> > <h2>Items in batch number [% batch_id | html %]</h2> > <table id="batcht"> >+ <caption class="sr-only">Items</caption> > [% FOREACH table_loo IN table_loop %] > [% IF ( table_loo.header_fields ) %] > <thead> >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 @@ > <h2>Currently available batches</h2> > [% END %] > <table id="labels-table"> >+ <caption class="sr-only">Labels</caption> > [% FOREACH table_loo IN table_loop %] > [% IF ( table_loo.header_fields ) %] > <thead> >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 ) %], <strong>ISBN: </strong>[% result_se.isbn | html %][% END %][% IF ( result_se.notes ) %],<br />[% result_se.notes | html %][% END %]</p> > > <table> >+ <caption class="sr-only">Results</caption> > [% FOREACH item_tabl IN result_se.item_table %] > [% IF ( item_tabl.header_fields ) %] > <thead> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28243
:
121750
|
121895
|
121896
|
121898
|
121899
|
121900
|
121901
|
121902
|
121903
|
121904
|
121905
|
121942
| 121943 |
121944
|
121945
|
121946
|
121947
|
121948
|
121949
|
121950
|
121956
|
121957
|
121958
|
121959
|
121973
|
121974
|
122019
|
122020
|
122021