Bugzilla – Attachment 121944 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: members folder
Bug-28243-members-folder.patch (text/plain), 16.99 KB, created by
wainuiwitikapark
on 2021-06-15 02:11:49 UTC
(
hide
)
Description:
Bug 28243: members folder
Filename:
MIME Type:
Creator:
wainuiwitikapark
Created:
2021-06-15 02:11:49 UTC
Size:
16.99 KB
patch
obsolete
>From ac5d5beb48bd0908247a3f876528db8cbd0eaafe Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 15 Jun 2021 01:27:10 +0000 >Subject: [PATCH] Bug 28243: members 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 members (Patrons module) >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/members/accountline-details.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/update-child.tt | 1 + > 21 files changed, 24 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt >index b60f78de9d..0253991765 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt >@@ -75,6 +75,7 @@ > [% END %] > > <table id="table_account_fines"> >+ <caption class="sr-only">Account fines</caption> > <thead> > <tr> > <th>Date</th> >@@ -150,6 +151,7 @@ > [% END %] > > <table class="accountline-offsets-table" id="accountline-debits-table"> >+ <caption class="sr-only">Offsets</caption> > <thead> > <tr> > <th>Date created</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >index 77779fd557..d252caea06 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >@@ -57,6 +57,7 @@ > <button class="btn btn-default toggle_element" type="submit" id="show-api-form" data-element="#add-api-key"><i class="fa fa-plus"></i> Generate a new client id/key pair</button> > </p> > <table> >+ <caption class="sr-only">Keys</caption> > <thead> > <tr> > <th>Description</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 6b127beb65..9a6939089a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -59,6 +59,7 @@ > [% INCLUDE 'renew_results.inc' renew_results=renew_results %] > <!-- The table with the account items --> > <table id="table_account_fines"> >+ <caption class="sr-only">Account fines</caption> > <thead> > <tr> > <th>Created</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt >index 11de806268..e9aaf0d3f8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt >@@ -66,8 +66,8 @@ > [% END %] > > [% IF validated_discharges %] >- <h2>Already validated discharges</h2> > <table> >+ <caption>Already validated discharges</caption> > <thead> > <tr> > <th>Requested</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt >index 78111f50de..2191e3f61b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt >@@ -32,9 +32,9 @@ > <div class="col-md-8 col-md-offset-2"> > > [% IF pending_discharges %] >- <h1>Pending discharge requests</h1> > <div id="pending_updates"> > <table> >+ <caption><h1>Pending discharge requests</h1></caption> > <thead> > <tr> > <th>Patron</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt >index 940c701d28..f57740b34b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt >@@ -47,6 +47,7 @@ > > [% IF ( files ) %] > <table> >+ <caption class="sr-only">Files</caption> > <thead> > <tr> > <th>Name</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >index bd2aad334f..05a1ab9d0e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >@@ -52,6 +52,7 @@ > > <div id="holdshistory"> > <table id="table_holdshistory"> >+ <caption class="sr-only">Holds history</caption> > <thead> > <tr> > <th class="anti-the">Title</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt >index cffebc149d..e5c746ceac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt >@@ -389,6 +389,7 @@ > [% housebound_visits = housebound_profile.housebound_visits %] > [% IF housebound_visits.size > 0 %] > <table border="0" width="100%" cellpadding="3" cellspacing="0"> >+ <caption class="sr-only">Deliveries</caption> > <tr> > <th>ID</th><th>Date</th><th>Chooser</th><th>Deliverer</th><th class="noExport">Actions</th> > </tr> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index 2a13d15da8..168fb2dca2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -111,6 +111,7 @@ > [% END %] > > <table id="memberresultst"> >+ <caption class="sr-only">Member results</caption> > <thead> > <tr> > [% IF CAN_user_borrowers_edit_borrowers || CAN_user_tools_manage_patron_lists %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 1885fac429..d54a1667cc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1258,6 +1258,7 @@ legend:hover { > <legend id="restrictions_lgd">Patron restrictions</legend> > [% IF ( debarments ) %] > <table> >+ <caption class="sr-only">Debarments</caption> > <thead> > <tr> > <th>Type</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >index d714ffbd69..8c237b8d20 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >@@ -131,6 +131,7 @@ > [%# timestamp+verification_token+borrowernumber=3 %] > <div class="members-update-table"> > <table> >+ <caption class="sr-only">Members update</caption> > <tr> > <th>Field</th> > <th>Old value</th> >@@ -164,6 +165,7 @@ > <div class="members-update-table"> > <h2>[% PROCESS display_names field='extended_attributes' %]</h2> > <table> >+ <caption class="sr-only">Members update</caption> > <tr> > <th>Field</th> > <th>Old value</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >index b1b5910a75..b80fc80d99 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >@@ -102,6 +102,7 @@ > > <form type="post" action="merge-patrons.pl" id="patron-merge-form"> > <table id="patron-merge-table" class="datatable"> >+ <caption class="sr-only">Patrons</caption> > <thead> > <tr> > <th> </th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 6c4ca5352b..cec64c42ce 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -844,6 +844,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/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >index 79b6d6713b..ca3104f53d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt >@@ -44,6 +44,7 @@ > > [% IF ( QUEUED_MESSAGES ) %] > <table id="noticestable"> >+ <caption class="sr-only">Notices</caption> > <thead> > <tr> > <th>Notice</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >index 3e8838f59f..b3197a89aa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >@@ -58,6 +58,7 @@ > <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> > <p><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span></p> > <table id="finest"> >+ <caption class="sr-only">Fines</caption> > <thead> > <tr> > <th class="NoSort"> </th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >index 7903237a25..ef1008c40e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >@@ -148,6 +148,7 @@ > <legend>Pay an individual fine</legend> > <input type="hidden" name="payment_note" id="payment_note" value="[% payment_note | html %]" /> > <table> >+ <caption class="sr-only">Pay fine</caption> > <thead><tr> > <th>Description</th> > <th>Account type</th> >@@ -226,6 +227,7 @@ > <input type="hidden" name="confirm_writeoff" id="confirm_writeoff" value="1" /> > <input type="hidden" name="change_given" id="change_given" /> > <table> >+ <caption class="sr-only">Pay fine</caption> > <thead><tr> > <th>Description</th> > <th>Account type</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt >index 2ad48adb0f..d11ee8c6f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt >@@ -44,6 +44,7 @@ > > [% IF suggestions %] > <table id="suggestions"> >+ <caption class="sr-only">Suggestions</caption> > <thead> > <tr> > <th>Summary</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >index 01fde8ada8..68950de513 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -62,6 +62,7 @@ > [% END %] > <div id="readingrec"> > <table id="table_readingrec"> >+ <caption class="sr-only">History</caption> > <thead> > <tr> > <th style="display:none;">Type</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt >index a0b6b76123..c8acbaed35 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt >@@ -58,6 +58,7 @@ > > [% IF ( routinglists ) %] > <table id="subscriptiont"> >+ <caption class="sr-only">Subscriptions</caption> > <thead> > <tr> > <th>Subscription title</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt >index 4eef1eab05..6a4e4d9914 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt >@@ -54,6 +54,7 @@ > <h1>Statistics for [% INCLUDE 'patron-title.inc' %]</h1> > [% IF ( datas.size ) %] > <table id="statistics"> >+ <caption class="sr-only">Statistics</caption> > <thead> > <tr> > [% FOREACH cn IN column_names %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/update-child.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/update-child.tt >index 460ee2d190..25dd6d12a6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/update-child.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/update-child.tt >@@ -17,6 +17,7 @@ > <form method="post" action="update-child.pl"> > <fieldset> > <table id="catst"> >+ <caption class="sr-only">Categories</caption> > <thead> > <tr> > <th> </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