Bugzilla – Attachment 121140 Details for
Bug 28242
Accessibility: OPAC - add captions and legends to tables and forms
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28242: added captions to tables and legends to forms
Bug-28242-added-captions-to-tables-and-legends-to-.patch (text/plain), 58.10 KB, created by
Wainui Witika-Park
on 2021-05-19 03:12:33 UTC
(
hide
)
Description:
Bug 28242: added captions to tables and legends to forms
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-05-19 03:12:33 UTC
Size:
58.10 KB
patch
obsolete
>From 1a0a4e8ca112d4206b36aa06c0d28b92697db110 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Sun, 2 May 2021 09:52:18 +0000 >Subject: [PATCH] Bug 28242: added captions to tables and legends to forms > >Ensured that in the OPAC, all tables have relevant captions and all forms have relevant legends. > >Many of these have class="sr-only" so they are not visible but will be >available for people who use screen-readers. > >To test: >1) Go to OPAC >2) Apply patch and dependencies >3) Check that on all pages, any tables have a caption (many of them will > not be visible, but will be in the markup code) >4) Check that on all pages, any forms have a legend (many of them will > not be visible, but will be in the markup code) >5) Check that the captions are appropriate and relevant >6) Check that the legends are appropriate and relevant > >Sponsored-by: Catalyst IT >--- > .../opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt | 1 + > .../opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt | 1 + > .../en/modules/opac-authoritiessearchresultlist.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt | 1 + > .../bootstrap/en/modules/opac-course-details.tt | 1 + > .../bootstrap/en/modules/opac-course-reserves.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 6 ++++++ > .../opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt | 2 ++ > .../bootstrap/en/modules/opac-full-serial-issues.tt | 3 ++- > .../opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt | 1 + > .../opac-tmpl/bootstrap/en/modules/opac-illrequests.tt | 4 +++- > .../opac-tmpl/bootstrap/en/modules/opac-issue-note.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 1 + > .../opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt | 1 + > .../bootstrap/en/modules/opac-password-recovery.tt | 2 ++ > .../bootstrap/en/modules/opac-patron-consent.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt | 2 ++ > .../opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt | 1 + > .../opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt | 1 + > .../bootstrap/en/modules/opac-request-article.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 7 ++++--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 3 +++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt | 1 + > .../opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt | 1 + > .../bootstrap/en/modules/opac-search-history.tt | 8 ++++++++ > .../bootstrap/en/modules/opac-sendbasketform.tt | 2 +- > .../opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt | 2 +- > .../opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt | 2 +- > .../opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 5 +++++ > .../opac-tmpl/bootstrap/en/modules/opac-showreviews.tt | 1 + > .../opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 16 +++++++++++++--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt | 5 ++++- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 11 +++++++++-- > 40 files changed, 90 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >index f67bacea80..4358d097a3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >@@ -5,6 +5,7 @@ > <h2>Clubs currently enrolled in</h2> > > <table id="clubs-table-enrolled" class="table table-bordered table-striped"> >+ <caption class="sr-only">Clubs</caption> > <thead> > <tr> > <th>Name</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >index 1c5b564b9f..f7313a8ebd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >@@ -7,6 +7,7 @@ > > <div class="container"> > <form id="patron-enrollment-form"> >+ <legend class="sr-only">Enrollment</legend> > <input type="hidden" name="id" value="[% club.id | html %]" /> > <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> > <fieldset class="rows"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >index c7043a383d..a076cb2d4e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >@@ -40,6 +40,7 @@ > > <div id="labeledmarc"> > <table id="marc" class="table table-bordered table-striped"> >+ <caption class="sr-only">MARC details</caption> > [% FOREACH tab0X IN tab0XX %] > <tr><th colspan="2">[% tab0X.tag | html %]</th></tr> > [% FOREACH subfiel IN tab0X.subfield %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >index 918ac6d191..1f66ec389b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >@@ -89,6 +89,7 @@ > [% IF ( total ) %] > <div class="searchresults"> > <table class="table table-bordered table-striped"> >+ <caption class="sr-only">Authority search results</caption> > <thead> > <tr> > <th colspan="2">Authorized headings</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >index b2d8b79c73..a371bb88bd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt >@@ -257,6 +257,7 @@ > > <form action="/cgi-bin/koha/opac-basket.pl" method="get" name="bookbag_form" id="bookbag_form"> > <table id="itemst" class="table table-bordered table-striped"> >+ <caption class="sr-only">Items in your cart</caption> > <thead> > <tr> > <th class="noprint"> </th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >index e161492718..be53b21453 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >@@ -41,6 +41,7 @@ > <h1>Browse search</h1> > > <form> >+ <legend class="sr-only">Browse search</legend> > <div class="form-row"> > <div class="col"> > <label for="browse-searchterm">Search for:</label> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >index 562349cb1f..c45b5186a0 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >@@ -50,6 +50,7 @@ > [% END %] > <li style="list-style-type: none;"> > <table class="table table-bordered table-striped"> >+ <caption class="sr-only">Items in catalog</caption> > <tr> > [% FOREACH LEVEL_LOO IN LEVEL_LOOP %] > <td> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >index 9b17b5075a..d28fcbd982 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >@@ -59,6 +59,7 @@ > > [% IF ( course_reserves ) %] > <table id="course-items-table" class="table table-bordered table-striped table-condensed"> >+ <caption class="sr-only">Courses</caption> > <thead> > <tr> > <th class="anti-the">Title</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >index 8d2ba836fb..7a6bf7ad9f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >@@ -34,6 +34,7 @@ > <h1>Courses</h1> > > <table id="course_reserves_table" class="table table-bordered table-striped table-condensed"> >+ <caption class="sr-only">Courses</caption> > <thead> > <tr> > <th>Name</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 3bd7623c8a..dd0a4ff8ee 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -365,6 +365,7 @@ > [% IF ( TagsInputEnabled ) %] > [% IF ( loggedinusername ) %] > <form id="tagform[% biblio.biblionumber | html %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;"> >+ <legend class="sr-only">Tags</legend> > <div class="form-row"> > <div class="col-3"> > <label for="newtag[% biblio.biblionumber | html %]">New tag(s), separated by a comma:</label> >@@ -426,6 +427,7 @@ > > [% IF ( OpacStarRatings != 'disable' ) %] > <form method="post" action="/cgi-bin/koha/opac-ratings.pl"> >+ <legend class="sr-only">Star ratings</legend> > <div class="results_summary ratings"> > > [% SET rating_avg = ratings.get_avg_rating() %] >@@ -594,6 +596,7 @@ > [% IF ( serialcollection ) %] > <div id="serialcollection"> > <table id="serialcollectiont" class="table table-bordered table-striped"> >+ <caption class="sr-only">Serial collections</caption> > <thead> > <tr> > <th id="serial_library">Library</th> >@@ -820,6 +823,7 @@ > [% IF ( subscription.latestserials ) %] > <p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p> > <table class="table table-bordered table-striped" id="subscriptionst"> >+ <caption class="sr-only">Latest serials</caption> > <thead> > <tr> > <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th> >@@ -960,6 +964,7 @@ > <div id="editions"> > <h2>Other editions of this work</h2> > <table class="table table-bordered table-striped"> >+ <caption class="sr-only">Other editions</caption> > [% FOREACH XISBN IN XISBNS %] > <tr> > <td> >@@ -1211,6 +1216,7 @@ > > [% BLOCK items_table %] > <table class="table table-bordered table-striped" id="[% table_id | html %]"> >+ <caption class="sr-only">Holdings</caption> > <thead> > <tr> > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt >index 26c83d3f92..da67dccec2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt >@@ -58,6 +58,7 @@ > <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl"> > <fieldset> > <select name="format" id="dlformat" required="required"> >+ <legend>Choose format</legend> > <option value="">-- Choose format --</option> > <option value="ris">RIS (Zotero, EndNote, others)</option> > <option value="bibtex">BibTeX</option> >@@ -71,6 +72,7 @@ > </fieldset> > > <fieldset class="action"> >+ <legend class="sr-only">Choose action</legend> > <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> > <input type="submit" name="save" class="btn btn-primary" value="Go" /> > <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | uri %]" class="cancel close" data-dismiss="modal">Cancel</a> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >index 3bc7c9aa4d..2d24c8a329 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >@@ -75,7 +75,7 @@ > <div id="searchfacetscontainer"> > <div id="search-facets"> > <form action="/cgi-bin/koha/opac-serial-issues.pl" id="filterform"> >- <h2><a href="#" class="menu-collapse-toggle">Refine your search</a></h2> >+ <legend><h2><a href="#" class="menu-collapse-toggle">Refine your search</a></h2></legend> > <ul class="menu-collapse"> > <li> > <label for="libraryfilter">Library: </label> >@@ -121,6 +121,7 @@ > <div class="yeardata tabsub" id="show[% year.year | html %]" style="display:none"> > [% END %] > <table class="subscriptionstclass table table-bordered table-striped"> >+ <caption class="sr-only">Subscriptions</caption> > <thead> > <tr> > <th>Date</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >index 26b9676fa7..01e409b45e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >@@ -84,6 +84,7 @@ > [% END %] > </div> > <table id="table_holdshistory" class="table table-bordered table-striped"> >+ <caption class="sr-only">Holds history</caption> > <thead> > <tr> > <th class="anti-the">Title</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt >index b313facde1..ec2baf3ec5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt >@@ -26,6 +26,7 @@ > <h1 class="role" title="Click to expand this role">[% role.role_name | html %] ([% role.count | html %])</h1> > <div class="docs"> > <table> >+ <caption class="sr-only">[% role.role_name | html %]</caption> > <thead> > <tr> > <th>Citation</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >index af19fcbefa..f119ef145e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >@@ -87,6 +87,7 @@ > [% INCLUDE messages %] > [% IF backends %] > <form method="post" id="illrequestcreate-form" novalidate="novalidate"> >+ <legend class="sr-only">Backends</legend> > <fieldset class="rows"> > <label for="backend">Provider:</label> > <select name="backend"> >@@ -126,6 +127,7 @@ > </div> > > <table id="illrequestlist" class="table table-bordered table-striped"> >+ <caption class="sr-only">Requests</caption> > <thead> > <tr> > <th>Request ID</th> >@@ -242,8 +244,8 @@ > [% ELSIF method == 'availability' %] > <h1>Interlibrary loan item availability</h1> > <div id="results"> >- <h2>Displaying availability results</h2> > <form method="POST" action="/cgi-bin/koha/opac-illrequests.pl"> >+ <legend><h2>Displaying availability results</h2></legend> > [% FOREACH key IN whole.keys %] > [% value = whole.$key %] > [% IF key != 'custom_key' && key != 'custom_value' %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt >index 1594413a83..0ec32d56fc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt >@@ -38,6 +38,7 @@ > Issue notes have not been enabled. Please contact the library. > [% ELSE %] > <form id="issue-note" action="/cgi-bin/koha/opac-issue-note.pl" method="post"> >+ <legend class="sr-only">Edit issue note</legend> > <fieldset> > <label for="note" class="required">Note:</label> > <input type="text" name="note" value="[% note | html %]"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >index 8956068a3f..2c50b3ce84 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -71,6 +71,7 @@ > [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %] > [% UNLESS news_item %] > <form id="news-branch-select" class="form-inline" name="news-branch-select" method="get" action="/cgi-bin/koha/opac-main.pl"> >+ <legend class="sr-only">News</legend> > <label for="news-branch">Display news for: </label> > <select id="news-branch" name="branch"> > [% IF ( branchcode == "" ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >index 1420a33b4b..f08f5f58c0 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >@@ -42,6 +42,7 @@ > <input type="hidden" name="modify" value="yes" /> > > <table class="table table-bordered table-condensed table-striped"> >+ <caption class="sr-only">Your messaging settings</caption> > <thead> > <tr> > <th> </th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >index 748f1e9690..922a089ecb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >@@ -62,6 +62,7 @@ > [% IF logged_in_user.category.effective_change_password %] > [% IF ( Ask_data ) %] > <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post" autocomplete="off"> >+ <legend class="sr-only">Change your password</legend> > <fieldset> > [% IF ( logged_in_user.category.effective_require_strong_password ) %] > <div class="alert alert-info">Your password must contain at least [% logged_in_user.category.effective_min_password_length | html %] characters, including UPPERCASE, lowercase and numbers.</div> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >index 6cc8eabd56..eb04e67d9f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >@@ -117,6 +117,7 @@ > <div class="alert alert-info">You can't reset your password.</div> > [% ELSIF (password_recovery) %] > <form action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off"> >+ <legend class="sr-only">Password recovery</legend> > <input type="hidden" name="koha_login_context" value="opac" /> > <p>To reset your password, enter your login or your email address.</p> > <fieldset class="brief"> >@@ -138,6 +139,7 @@ > [% ELSIF (new_password) %] > [% UNLESS ( errLinkNotValid ) %] > <form id="mainform" name="mainform" action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off"> >+ <legend class="sr-only">Password not valid</legend> > <input type="hidden" name="koha_login_context" value="opac" /> > <fieldset class="brief"> > [% IF ( RequireStrongPassword ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >index 9e4d2605b1..a78bd3a854 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt >@@ -44,7 +44,7 @@ > > <form action="/cgi-bin/koha/opac-patron-consent.pl" method="post"> > [% IF Koha.Preference('GDPR_Policy') %] >- <h2 id="GDPR_consents">GDPR consents</h2> >+ <legend><h2 id="GDPR_consents">GDPR consents</h2></legend> > <input type="hidden" name="op" value="gdpr_proc_save"/> > <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]"/> > <fieldset> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >index 31aa1c9665..d77bea2dfb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >@@ -57,6 +57,7 @@ > <p id="note1">Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.</p> > <p id="note2">Please also note that the library staff can't update these values for you: it's your privacy!</p> > <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form"> >+ <legend class="sr-only">Privacy rule</legend> > <input type="hidden" name="op" value="update_privacy" /> > <fieldset> > <label for="privacy">Please choose your privacy rule:</label> >@@ -137,6 +138,7 @@ > <h2>Immediate deletion</h2> > > <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form"> >+ <legend class="sr-only">Immediate deletion</legend> > <input type="hidden" name="op" value="delete_record" /> > <p>Whatever your privacy rule you choose, you can delete all your checkout history immediately by clicking here. <strong>BE CAREFUL</strong>. Once you've confirmed the deletion, no one can retrieve the list!</p> > <fieldset class="action"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >index 324d587d19..fdbaf8285d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >@@ -84,6 +84,7 @@ > [% END %] > <div id="tabs-container" style="overflow:hidden"> > <table id="readingrec" class="table table-bordered table-striped"> >+ <caption class="sr-only">Checkout history</caption> > <thead> > <tr> > <th style="display:none;" class="noExport">Type</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt >index e12ba19ed4..dac2b9b0db 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt >@@ -52,6 +52,7 @@ > > <div id="reportproblem" class="maincontent toptabs"> > <form name="reportlibform" action="/cgi-bin/koha/opac-reportproblem.pl" method="post"> >+ <legend class="sr-only">Report a problem</legend> > <input type="hidden" name="op" value="addreport" /> > <fieldset class="rows"> > <ol> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >index caf214e8b0..69dd4f0b58 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >@@ -39,6 +39,7 @@ > <h1>Place article request for [% biblio.title | html %]</h1> > > <form id="place-article-request" method="post" action="/cgi-bin/koha/opac-request-article.pl"> >+ <legend class="sr-only">Place article request</legend> > <input type="hidden" name="action" value="create" /> > <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblio.biblionumber | html %]" /> > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 2cd468650d..8c57b2bddd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -157,9 +157,10 @@ > </div> > [% END %] > >- <form action="/cgi-bin/koha/opac-reserve.pl" method="post" id="hold-request-form"> >- <input type="hidden" name="place_reserve" value="1"/> >- <!-- These values are set dynamically by js --> >+ <form action="/cgi-bin/koha/opac-reserve.pl" method="post" id="hold-request-form"> >+ <legend class="sr-only">Hold requests</legend> >+ <input type="hidden" name="place_reserve" value="1"/> >+ <!-- These values are set dynamically by js --> > <input type="hidden" name="biblionumbers" id="biblionumbers"/> > <input type="hidden" name="selecteditems" id="selections"/> > <div id="bigloop"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index 361103afea..b2d144d8d6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -164,6 +164,7 @@ > > <div class="searchresults"> > <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form"> >+ <legend class="sr-only">Sort</legend> > [% IF ( searchdesc ) %] > [% FOREACH QUERY_INPUT IN QUERY_INPUTS %] > <input type="hidden" name="[% QUERY_INPUT.input_name | html %]" value="[% QUERY_INPUT.input_value | html %]"/> >@@ -301,6 +302,7 @@ > > <!-- TABLE RESULTS START --> > <table class="table table-striped"> >+ <caption class="sr-only">Results</caption> > > <!-- Actual Search Results --> > [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] >@@ -647,6 +649,7 @@ > </form> <!-- / #bookbag_form --> > > <form id="hold_form" name="hold_form" method="get" action="/cgi-bin/koha/opac-reserve.pl"> >+ <legend class="sr-only">Pages</legend> > <!-- The value will be set by holdBiblioNums() in basket.js --> > <input id="hold_form_biblios" type="hidden" name="biblionumbers" value=""/> > </form> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt >index 589c177935..a4e9aa35d0 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt >@@ -43,6 +43,7 @@ > <h2>Comments on <em>[% INCLUDE 'biblio-title.inc' %]</em></h2> > [% IF ( biblio.author ) %]<h3>[% biblio.author | html %]</h3>[% END %] > <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post"> >+ <legend class="sr-only">Comments</legend> > <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]" /> > [% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid | html %]" />[% END %] > <fieldset> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt >index 10edab356c..31524110b7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-routing-lists.tt >@@ -45,6 +45,7 @@ > <p id="routing-list-intro">You are subscribed to the routing lists for following serial titles. If you wish to make changes, please contact the library.</p> > > <table class="table table-bordered table-striped" id="routingtable"> >+ <caption class="sr-only">Routing lists</caption> > <thead> > <tr> > <th>Subscription title</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >index 8afed0f5b0..d4e871f120 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >@@ -58,10 +58,12 @@ > [% IF ( current_biblio_searches ) %] > <h2>Current session</h2> > <form action="/cgi-bin/koha/opac-search-history.pl" method="post"> >+ <legend class="sr-only">Toolbar control</legend> > > [% INCLUDE 'toolbar_controls' %] > <input type="hidden" name="action" value="delete" /> > <table class="historyt table table-bordered table-striped"> >+ <caption class="sr-only">Current session</caption> > <thead> > <tr> > <th></th> >@@ -101,10 +103,12 @@ > [% IF ( previous_biblio_searches ) %] > <h2>Previous sessions</h2> > <form action="/cgi-bin/koha/opac-search-history.pl" method="post"> >+ <legend class="sr-only">Toolbar control</legend> > [% INCLUDE 'toolbar_controls' %] > > <input type="hidden" name="action" value="delete" /> > <table class="historyt table table-bordered table-striped"> >+ <caption class="sr-only">Previous sessions</caption> > <thead> > <tr> > <th></th> >@@ -152,9 +156,11 @@ > [% IF ( current_authority_searches ) %] > <h2>Current session</h2> > <form action="/cgi-bin/koha/opac-search-history.pl" method="post"> >+ <legend class="sr-only">Toolbar control</legend> > [% INCLUDE 'toolbar_controls' %] > <input type="hidden" name="action" value="delete" /> > <table class="historyt table table-bordered table-striped"> >+ <caption class="sr-only">Current session</caption> > <thead> > <tr> > <th></th> >@@ -187,9 +193,11 @@ > [% IF ( previous_authority_searches ) %] > <h2>Previous sessions</h2> > <form action="/cgi-bin/koha/opac-search-history.pl" method="post"> >+ <legend class="sr-only">Toolbar control</legend> > [% INCLUDE 'toolbar_controls' %] > <input type="hidden" name="action" value="delete" /> > <table class="historyt table table-bordered table-striped"> >+ <caption class="sr-only">Previous sessions</caption> > <thead> > <tr> > <th></th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >index b08796796c..8066fdd034 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt >@@ -27,8 +27,8 @@ > [% END %] > > [% ELSE %] >- <h1>Sending your cart</h1> > <form action="/cgi-bin/koha/opac-sendbasket.pl" method="post" id="sendbasketform"> >+ <legend><h1>Sending your cart</h1></legend> > <fieldset> > <label for="email_add">Email address:</label> > <input type="text" id="email_add" name="email_add" size="43" class="focus" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >index ed7754f317..9436385d15 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt >@@ -30,8 +30,8 @@ > </div> > <p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelfid | html %]">Back to lists</a></p> > [% ELSE %] >- <h1>Sending your list</h1> > <form action="/cgi-bin/koha/opac-sendshelf.pl" method="post" id="sendshelfform"> >+ <legend><h1>Sending your list</h1></legend> > <fieldset> > <label for="email">Email address:</label> > <input type="text" id="email" name="email" size="43" class="focus" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >index 0429ba71d6..ce1f35bd82 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt >@@ -53,7 +53,7 @@ > <form method="post" name="f"> > [% FOREACH subscription_LOO IN subscription_LOOP %] > <div id="subscriptionline[% subscription_LOO.subscriptionid | html %]" class="subscriptionline"> >- <h2>Subscription information for [% subscription_LOO.bibliotitle | html %]</h2> >+ <caption><h2>Subscription information for [% subscription_LOO.bibliotitle | html %]</h2><caption> > <p> > The current subscription began on [% subscription_LOO.startdate | html %] and is issued > [% IF ( subscription_LOO.periodicity1 ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >index 760f06988e..494df98137 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >@@ -76,6 +76,7 @@ > [% ELSIF op=='invite' %] > <div id="invite"> > <form id="share_list"> >+ <legend class="sr-only">Share list</legend> > <fieldset class="rows"> > <input type="hidden" name="op" value="conf_invite"/> > <input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]"/> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 3bdb18b641..1a3eef6839 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -735,6 +735,11 @@ > > [% IF shelves.count %] > <table class="table"> >+ [% IF category == PRIVATE %] >+ <caption class="sr-only">Your lists</caption> >+ [% ELSIF category == PUBLIC %] >+ <caption class="sr-only">Public lists</caption> >+ [% END %] > <thead> > <tr> > <th>List name</th> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >index b00b1acfe7..4ce6b3093a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >@@ -37,6 +37,7 @@ > <div id="showreviews" class="searchresults maincontent"> > <h1>Recent comments <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink" aria-label="Subscribe to recent comments"><i class="fa fa-rss rsssearchicon" aria-hidden="true" title="Subscribe to recent comments"></i></a></h1> > <table class="table table-striped"> >+ <caption class="sr-only">Comments</caption> > [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] > [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > [% FOREACH review IN reviews %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >index c9e824faef..5ec3e94828 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -349,6 +349,7 @@ > [% END %] > > <table id="suggestt" class="table table-bordered table-striped"> >+ <caption class="sr-only">Your purchase suggestions<caption> > <thead> > <tr> > [% IF ( loggedinusername ) %]<th> </th>[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 5c2f4bf760..7410c07354 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -166,6 +166,7 @@ > > [% IF Koha.Preference('AllowPatronToControlAutorenewal') %] > <form id="autorenewal_option" action="/cgi-bin/koha/opac-user.pl" method="post"> >+ <legend class="sr-only">Auto-renewal</legend> > <label for="yes-autorenew_checkouts"> > Allow auto-renewal: > </label> >@@ -231,6 +232,7 @@ > <div id="opac-user-checkouts"> > [% IF ( issues_count ) %] > <form id="renewselected" action="/cgi-bin/koha/opac-renew.pl" method="post"> >+ <legend class="sr-only">Renew selected</legend> > <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]"> > <input type="hidden" name="from" value="opac_user" /> > <table id="checkoutst" class="table table-bordered table-striped"> >@@ -456,6 +458,7 @@ > > [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %] > <form id="renewall" class="js-hide" action="/cgi-bin/koha/opac-renew.pl" method="post"> >+ <legend class="sr-only">Renew</legend> > <input type="hidden" name="from" value="opac_user" /> > <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> > [% FOREACH ISSUE IN ISSUES %] >@@ -468,6 +471,7 @@ > [% END %] > [% ELSE %] > <table class="table table-bordered table-striped"> >+ <caption class="sr-only">Checked out</caption> > <tr><td>You have nothing checked out</td></tr> > </table> > [% END # IF issues_count %] >@@ -482,8 +486,9 @@ > [% IF ( OPACFinesTab ) %] > <!-- FINES BOX --> > [% IF ( amountoutstanding > 0 ) %] >- <div id="opac-user-fines"> <h2>Charges</h2> >+ <div id="opac-user-fines"> > <table class="table table-bordered table-striped"> >+ <caption>Charges</caption> > <thead><tr><th colspan="2">Amount</th></tr></thead> > <tbody> > <tr> >@@ -496,8 +501,9 @@ > [% END %] > > [% IF ( amountoutstanding < 0 ) %] >- <div id="opac-user-fines"> <h2>Credits</h2> >+ <div id="opac-user-fines"> > <table class="table table-bordered table-striped"> >+ <caption>Credits</caption> > <thead><tr><th colspan="2">Amount</th></tr></thead> > <tbody> > <tr> >@@ -509,8 +515,9 @@ > [% END %] > > [% IF relatives_with_fines %] >- <div id="opac-user-relative-fines"> <h2>Fines and charges</h2> >+ <div id="opac-user-relative-fines"> > <table class="table table-bordered table-striped"> >+ <caption>Fines and charges</caption> > <thead> > <tr> > <th colspan="2">Amount</th> >@@ -532,6 +539,7 @@ > [% IF relatives %] > <div id="opac-user-relative-issues"> > <table id="opac-user-relative-issues-table" class="table table-bordered table-striped"> >+ <caption class="sr-only">Relative issues</caption> > <thead> > <tr> > <th class="anti-the">Title</th> >@@ -792,6 +800,7 @@ > <td class="article-request-cancel"> > <span class="tdlabel">Cancel:</span> > <form action="/cgi-bin/koha/opac-article-request-cancel.pl" id="delete_article_request_[% ar.id | html %]"> >+ <legend class="sr-only">Cancel article request</legend> > <input type="hidden" name="id" value="[% ar.id | html %]" /> > <button data-title="[% ar.biblio.title | html %] [% ar.item.enumchron | html %]" data-article-request_id="[% ar.id | html %]" type="submit" class="btn btn-sm btn-danger btn-delete-article-request"><i class="fa fa-remove" aria-hidden="true"></i> Cancel</button> > </form> >@@ -802,6 +811,7 @@ > </table> > [% ELSE %] > <table class="table table-bordered table-striped"> >+ <caption class="sr-only">Article requests</caption> > <tr><td>You have no article requests currently.</td></tr> > </table> > [% END # IF article_requests_current.count %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >index ca12b62018..a6c901af28 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt >@@ -75,8 +75,8 @@ > [%# We have results from a check-in attempt %] > <div id="checkins" class="sci_results_list"> > [% IF ( success && success.size > 0 || errors && errors.size > 0 ) %] >- <h2>Results</h2> > <table id="sci_bcheckins_table" class="table table-bordered table-striped dataTable no-footer"> >+ <caption><h2>Results</h2></caption> > <thead> > <th>Barcode</th> > <th>Status</th> >@@ -98,6 +98,7 @@ > </table> > <div> > <form method="post" action="#" id="finish_form"> >+ <legend class="sr-only">Finish</legend> > <button id="sci_finish_button" type="submit" class="btn btn-primary"><i class="fa fa-check" aria-hidden="true"></i> Finish</button> > </form> > </div> >@@ -111,6 +112,7 @@ > [%# Prompt for barcodes %] > <div id="new_checkins" class="sci_entry"> > <form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sci/sci-main.pl"> >+ <legend class="sr-only">Scan</legend> > <div class="row"> > <div class="col-auto"> > <label for="barcode_input">Scan the item or enter its barcode:</label> >@@ -128,6 +130,7 @@ > <div class="col"> > <div class="sci_input_append"> > <table id="sci_barcodes_table" class="table table-bordered table-striped dataTable no-footer" style="display: none;"> >+ <caption class="sr-only">Barcodes</caption> > <thead> > <th class="barcodes_column">Barcode</th> > </thead> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index 339a0818e7..5fd393932f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -91,6 +91,7 @@ > > [% IF ( returnitem && Koha.Preference('SCOAllowCheckin') ) %] > <form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" class="inline" method="post"> >+ <legend class="sr-only">Return</legend> > <input type="hidden" name="op" value="returnbook" /> > <input type="hidden" name="patronid" value="[% patronid | html %]" /> > <input type="hidden" name="barcode" value="[% barcode | html %]" /> >@@ -100,6 +101,7 @@ > [% END %] > > <form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" class="inline" method="post"> >+ <legend class="sr-only">Error</legend> > <input type="hidden" name="op" value="" /> > <input type="hidden" name="patronid" value="[% patronid | html %]" /> > <input type="hidden" name="barcode" value="[% barcode | html %]" /> >@@ -118,6 +120,7 @@ > > [% IF ( renew && Koha.Preference('SCOAllowCheckin') ) %] > <form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" class="inline" method="post"> >+ <legend class="sr-only">Return</legend> > <input type="hidden" name="op" value="returnbook" /> > <input type="hidden" name="patronid" value="[% patronid | html %]" /> > <input type="hidden" name="barcode" value="[% barcode | html %]" /> >@@ -129,6 +132,7 @@ > > [% UNLESS ( renew ) %] > <form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" class="inline" method="post"> >+ <legend class="sr-only">Renew</legend> > <input type="hidden" name="op" value="renew" /> > <input type="hidden" name="patronid" value="[% patronid | html %]" /> > <input type="hidden" name="barcode" value="[% barcode | html %]" /> >@@ -138,6 +142,7 @@ > </form> > [% ELSE %] > <form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" class="inline" method="post"> >+ <legend class="sr-only">Renew</legend> > <input type="hidden" name="op" value="renew" /> > <input type="hidden" name="patronid" value="[% patronid | html %]" /> > <input type="hidden" name="barcode" value="[% barcode | html %]" /> >@@ -148,6 +153,7 @@ > [% END %] > > <form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" class="inline" method="post"> >+ <legend class="sr-only">Cancel</legend> > <input type="hidden" name="op" value="" /> > <input type="hidden" name="patronid" value="[% patronid | html %]" /> > <input type="hidden" name="newissues" value="[% newissues | html %]" /> >@@ -228,13 +234,13 @@ > [% IF ( validuser ) %] > <div id="newcheckout" class="sco_entry"> > <form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl" onsubmit="return checkout_confirm('[% patronid | html %]');"> >- <h2> >+ <legend><h2> > [% IF ( Koha.Preference('SCOAllowCheckin') ) %] > Check out, return, or renew an item: > [% ELSE %] > Check out or renew an item: > [% END %] >- </h2> >+ </h2></legend> > <div class="row"> > <div class="col"> > <label for="barcode">Scan a new item or enter its barcode:</label> >@@ -329,6 +335,7 @@ > [% END %] > <td> > <form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> >+ <legend class="sr-only">Issue renews</legend> > <input type="hidden" name="patronid" value="[% patronid | html %]" /> > <input type="hidden" name="barcode" value="[% ISSUE.barcode | html %]" /> > <input type="hidden" name="newissues" value="[% newissues | html %]" /> >-- >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 28242
:
121140
|
121203
|
121924