Bugzilla – Attachment 121901 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: circ folder
Bug-28243-circ-folder.patch (text/plain), 13.71 KB, created by
Wainui Witika-Park
on 2021-06-14 02:56:36 UTC
(
hide
)
Description:
Bug 28243: circ folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-14 02:56:36 UTC
Size:
13.71 KB
patch
obsolete
>From cb8d1b48a469cdfac6ff0e2c01ca55ae99d7be19 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Thu, 10 Jun 2021 17:44:49 +0000 >Subject: [PATCH] Bug 28243: circ 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 Circulation >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/circ/article-requests.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 ++ > .../intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt | 4 ++++ > koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 1 + > 14 files changed, 21 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt >index 286db72985..d9ba5f0337 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt >@@ -115,6 +115,7 @@ > </div> > > <table id="article-requests-pending-table"> >+ <caption class="sr-only">Pending article requests</caption> > <thead> > <tr> > <th/> >@@ -216,6 +217,7 @@ > [% PROCESS actions menuid='article-menu-processing' id_arg=0 pull_right='' aria_menu='table_controls' %] > </div> > <table id="article-requests-processing-table"> >+ <caption class="sr-only">Processing article requests</caption> > <thead> > <tr> > <th/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt >index 6219d7330d..bae7b14e63 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt >@@ -48,6 +48,7 @@ > <h2>[% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2> > <p><strong>Barcode [% barcode | html %]</strong></p> > <table> >+ <caption class="sr-only">Details</caption> > <tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr> > > <tr><td>[% Branches.GetName( homebranch ) | html %]</td> >@@ -57,6 +58,7 @@ > </tr> > </table> > <table> >+ <caption class="sr-only">Library details</caption> > <tr> > <th>Library</th> > <th>No. of times checked out</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt >index 849dedf04f..770f7c61b5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt >@@ -47,6 +47,7 @@ > > [% IF ( overduesloop ) %] > <table style="width:100%;"> >+ <caption class="sr-only">Overdues</caption> > <tr> > <th>Date due</th> > <th>Title</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >index dcfc6ac4df..af943d3ae4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >@@ -73,6 +73,7 @@ > </fieldset> > > <table id="notestable"> >+ <caption class="sr-only">Notes</caption> > <thead> > <tr> > <th class="NoSort"> </th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 51378ec2b4..403c82eafa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -482,6 +482,7 @@ > </div> > <div class="modal-body"> > <table class="table_borrowers"> >+ <caption class="sr-only">Items</caption> > <thead> > <tr> > <th>Title</th> >@@ -1050,6 +1051,7 @@ > <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post"> > <input type="hidden" name="from" value="circ" /> > <table id="holds-table" style="width: 100% !Important;"> >+ <caption class="sr-only">Holds</caption> > <thead> > <tr> > <th>Hold date</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >index 25d112a5bf..c539868f4b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >@@ -133,6 +133,7 @@ > <h2>Batch checkout information [% IF patron.borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] |[% batch | html %]|[% END %]</h2> > [% END %] > <table id="checkout_infos"> >+ <caption class="sr-only">Checkout info</caption> > <thead> > <tr> > [% IF confirmation_needed && CAN_user_circulate_force_checkout %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >index 5c1cea9353..b9ab94672c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >@@ -116,6 +116,7 @@ > <div id="session-returned" style="display: none;"> > <h2>Checked-in items</h2> > <table id="already-checked-in"> >+ <caption class="sr-only">Checked-in items</caption> > <thead> > <tr><th>Title</th><th>Author</th><th>Barcode</th><th>Home library</th><th>Holding library</th><th>Shelving location</th><th>Call number</th><th>Type</th></tr> > </thead> >@@ -158,6 +159,7 @@ > <div id="checkouts"> > <div id="session-issues"> > <table id="issuest"> >+ <caption class="sr-only">Checkouts</caption> > <thead><tr> > <th scope="col">Due date</th> > <th scope="col">Title</th> >@@ -176,6 +178,7 @@ > <div id="oldissues"> > <h2>Previous checkouts</h2> > <table id="oldissuest"> >+ <caption class="sr-only">Previous checkouts</caption> > <thead><tr> > <th scope="col">Due date</th> > <th scope="col">Title</th> >@@ -199,6 +202,7 @@ > <button id="pay-fine" class="submit">Pay fine</button> > > <table id="session-payments" style="display: none;"> >+ <caption class="sr-only">Session payments</caption> > <thead><tr><th>Amount</th><th>Timestamp</th></tr></thead> > <tbody></tbody> > </table> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt >index 44ec043d5b..ca6a98581d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt >@@ -45,6 +45,7 @@ > <h1>Pending on-site checkouts</h1> > [% IF pending_onsite_checkouts %] > <table id="pending_onsite_checkout"> >+ <caption class="sr-only">Pending on-site checkouts</caption> > <thead> > <tr> > <th>Date</th><th>Patron</th><th>Title</th><th>Call number</th><th>Barcode</th><th>Library</th><th>Location</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >index 407a996a86..e9f8cfe902 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >@@ -77,6 +77,7 @@ > <div class="sql"><pre>[% sql | html %]</pre></div> > <div class="searchresults"> > <table id="overduest"> >+ <caption class="sr-only">Overdues</caption> > <thead> > <tr> > <th>Due date</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >index ab14d53f34..3d43dfb15c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >@@ -63,6 +63,7 @@ > <div id="searchresults"> > [% IF holds_info %] > <table id="holdst"> >+ <caption class="sr-only">Holds</caption> > <thead> > <tr> > <th>Pull this many items</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt >index 089bfe62eb..7ae5b6f291 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt >@@ -57,6 +57,7 @@ > <form id="article_request_patron_results" method="post"> > <fieldset> > <table id="table_borrowers"> >+ <caption class="sr-only">Borrowers</caption> > <thead> > <tr> > <th></th> >@@ -235,6 +236,7 @@ > <legend>Current article requests</legend> > > <table id="current-article-requests-table"> >+ <caption class="sr-only">Current article requests</caption> > <tr> > <th>Placed on</th> > <th>Patron</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt >index a788fbbc3e..5f7b96ef69 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt >@@ -51,6 +51,7 @@ > > [% IF ( reserveloop ) %] > <table id="holdst"> >+ <caption class="sr-only">Holds</caption> > <thead> > <tr> > <th>Holds</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index c9f1ac1bf9..ed3a3f3e0b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -859,8 +859,8 @@ > </form> <!-- /#checkin-form --> > > [% IF ( riloop ) %] >- <h2>Checked-in items</h2> > <table id="checkedintable"> >+ <caption><h2>Checked-in items</h2></caption> > <thead> > <tr> > <th class="ci-duedate">Due date</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >index 564ab5f54f..71d99b558d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt >@@ -71,6 +71,7 @@ > [% END %] > [% IF ( itemsloop ) %] > <table id="holdst"> >+ <caption class="sr-only">Holds</caption> > <thead> > <tr> > <th class="hq-title anti-the">Title</th> >-- >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