Bugzilla – Attachment 120153 Details for
Bug 27876
Accessibility: OPAC - Reduce heading redundancy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27876: Added caption to holds history table
Bug-27876-Added-caption-to-holds-history-table.patch (text/plain), 1.62 KB, created by
Wainui Witika-Park
on 2021-04-25 08:44:09 UTC
(
hide
)
Description:
Bug 27876: Added caption to holds history table
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-04-25 08:44:09 UTC
Size:
1.62 KB
patch
obsolete
>From 79d4091810f5cc28625b1dbfaa83e68d40d5951d Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Sun, 25 Apr 2021 05:15:32 +0000 >Subject: [PATCH] Bug 27876: Added caption to holds history table > >Added a sr-only caption to the holds history table but made it hidden >and for screen-readers only. This is to keep it consistent with the >Charges and checkout histories pages and tables but is also the best practice for tables. This ensures there is still no visible redundancy but is better for accessibility. > >To test: >1) Apply patch >2) Go to OPAC >3) Go to holds history page >4) Check that the page looks the same >5) Check that the code has a caption "Your holds history" that has >the class "sr-only" > >Sponsored-by: Catalyst IT >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt | 1 + > 1 file changed, 1 insertion(+) > >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..827b556408 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">Your holds history</caption> > <thead> > <tr> > <th class="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 27876
:
120148
|
120149
|
120150
|
120151
|
120152
|
120153
|
120199
|
120200
|
120201
|
120716
|
120717
|
120718