Bugzilla – Attachment 121959 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: serials folder
Bug-28243-serials-folder.patch (text/plain), 13.60 KB, created by
Wainui Witika-Park
on 2021-06-15 07:21:54 UTC
(
hide
)
Description:
Bug 28243: serials folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-15 07:21:54 UTC
Size:
13.60 KB
patch
obsolete
>From 14fb19bf61660744413fac5c16f7f2d72879b128 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 15 Jun 2021 05:04:38 +0000 >Subject: [PATCH] Bug 28243: serials 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 serials >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/serials/acqui-search-result.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt | 1 + > .../intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt | 2 ++ > .../intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt | 3 +++ > .../intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt | 1 + > .../intranet-tmpl/prog/en/modules/serials/subscription-history.tt | 1 + > .../prog/en/modules/serials/subscription-numberpatterns.tt | 3 +++ > koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt | 1 + > 16 files changed, 21 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >index ab5e55f5ab..ff4889c868 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >@@ -19,6 +19,7 @@ > > [% IF ( loop_suppliers ) %] > <table> >+ <caption class="sr-only">Results</caption> > <tr> > <th>Vendor</th> > <th>Select</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt >index cdd8861dae..cdb52ad322 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt >@@ -96,6 +96,7 @@ > > > <table> >+ <caption class="sr-only">Results</caption> > <tr> > <th></th> > <th>ISSN</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >index 80f6986f60..73efa88625 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >@@ -107,6 +107,7 @@ > <fieldset> > <form action="claims.pl" method="post" id="claims_form"> > <table id="claimst"> >+ <caption class="sr-only">Claims</caption> > <thead> > <tr> > <th><input type="checkbox" id="CheckAll"></th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >index dbbccf50bf..306039f353 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >@@ -11,6 +11,7 @@ > [% IF ( total ) %] > <h1>Search results from [% from | html %] to [% to | html %] of [% total | html %]</h1> > <table> >+ <caption class="sr-only">Results</caption> > <tr> > <th>Title</th> > <th>Author</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >index 4f3ac66824..2848edc791 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >@@ -73,6 +73,7 @@ > <span class="label">Recipients:</span> > [% IF memberloop %] > <table style="clear:none;margin:0;"> >+ <caption class="sr-only">Recipients</caption> > <tr><th>Name</th> > <th>Rank</th> > <th>Delete</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >index 1c799f087b..18577108c2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >@@ -172,6 +172,7 @@ > <a class="CheckNone" href="#" data-year="[% year.year | html %]">Clear all</a> > </span> > <table class="subscription-year-table"> >+ <caption class="sr-only">Subscription year</caption> > <thead> > <tr> > [% IF ( CAN_user_serials_receive_serials ) %]<th>Edit</th>[% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >index adfcd3214e..eeb08a6fa3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt >@@ -126,6 +126,7 @@ $(document).ready(function() { > <input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid | html %]" /> > [% END %] > <table> >+ <caption class="sr-only">Serials</caption> > <tr> > <th>Numbered</th> > <th>Published on</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index 17b1b3eda3..d9583d7e28 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -69,6 +69,7 @@ > </div> > [% END %] > <table> >+ <caption class="sr-only">Results</caption> > <thead> > <tr> > <th></th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt >index 7dbbbc901f..c7c79a8bad 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt >@@ -28,6 +28,7 @@ > [% END %] > [% IF (predictions_loop) %] > <table id="predictionst"> >+ <caption class="sr-only">Predictions</caption> > <thead> > <tr> > <th>Number</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >index 4ce9ccf834..9a2d5f47bd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >@@ -366,6 +366,7 @@ fieldset.rows table { clear: none; margin: 0; } > <li id="more_options"> > <span class="label"> </span> > <table id="moreoptionst"> >+ <caption class="sr-only">More options</caption> > <thead> > <tr> > <th> </th> >@@ -417,6 +418,7 @@ fieldset.rows table { clear: none; margin: 0; } > <li> > <span class="label">Advanced prediction pattern: </span> > <table id="advancedpredictionpatternt"> >+ <caption class="sr-only">Advanced prediction pattern</caption> > <thead> > <tr> > <th> </th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >index c6219f9058..76cd4bebe6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >@@ -37,6 +37,7 @@ > <div> > <p>You are about to edit the following subscriptions:</p> > <table> >+ <caption class="sr-only">Edit subscriptions</caption> > <thead> > <tr> > <th>ISSN</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >index c4edcac257..a13ba7e064 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >@@ -199,6 +199,7 @@ > </li> > <li> > <table> >+ <caption class="sr-only">Pattern</caption> > <tr> > <td>Starting with:</td> > [% IF (has_X) %] >@@ -257,6 +258,7 @@ > <h2>Numbering calculation</h2> > <p><label>Numbering formula:</label> [% numberingmethod | html %]</p> > <table> >+ <caption class="sr-only">Numbering calculation</caption> > <tr> > <th> </th> > <th>X</th> >@@ -317,6 +319,7 @@ > > <div id="subscription_issues"> > <table> >+ <caption class="sr-only">Subscription issues</caption> > <tr> > <th>Issue number</th> > <th>Planned date</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >index 037192bdcd..89ada04910 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >@@ -134,6 +134,7 @@ > > [% IF (frequencies_loop.size) %] > <table id="frequenciest"> >+ <caption class="sr-only">Frequencies</caption> > <thead> > <tr> > <th>Description</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >index 23bdbc6d63..f5ef762150 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >@@ -38,6 +38,7 @@ > <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" /> > <p>Hint : you can update the serial history manually. This can be useful for an old subscription or to clean the existing history. Modify those fields with care, as future serial receive will continue to update them automatically.</p> > <table> >+ <caption class="sr-only">Subscription history</caption> > <tr> > <td>Subscription start date</td> > <td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt >index 833643aba3..c5d5d43e8e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt >@@ -96,6 +96,7 @@ > </li> > </ol> > <table> >+ <caption class="sr-only">Pattern</caption> > <thead> > <tr> > <th> </th> >@@ -223,6 +224,7 @@ > </li> > </ol> > <table> >+ <caption class="sr-only">Pattern</caption> > <thead> > <tr> > <th> </th> >@@ -288,6 +290,7 @@ > > [% IF (numberpatterns_loop.size) %] > <table id="numberpatternst"> >+ <caption class="sr-only">Number patterns</caption> > <thead> > <tr> > <th>Name</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt >index 0bcfe25354..fef230e566 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt >@@ -35,6 +35,7 @@ > > [% IF subscribers.count %] > <table> >+ <caption class="sr-only">Subscribers</caption> > <tr> > <th>Patron name</th> > </tr> >-- >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