Bugzilla – Attachment 120151 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 checkout history table
Bug-27876-Added-caption-to-checkout-history-table.patch (text/plain), 1.68 KB, created by
Wainui Witika-Park
on 2021-04-25 08:36:25 UTC
(
hide
)
Description:
Bug 27876: Added caption to checkout history table
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-04-25 08:36:25 UTC
Size:
1.68 KB
patch
obsolete
>From c0c7e3ba122baefc17b325c580b474c11d9b7ff8 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Sun, 25 Apr 2021 05:04:56 +0000 >Subject: [PATCH] Bug 27876: Added caption to checkout history table > >Added a sr-only caption to the checkout history table but made it hidden >and for screen-readers only. This is to keep it consistent with the >Charges page and table but is also the best practice for tables. This >ensures there is still no visible redundancy but is better for >accessible. > >To test: >1) Apply patch >2) Go to OPAC >3) Go to checkout history page >4) Check that the page looks the same >5) Check that the code has a caption "Your checkout history" that has >the class "sr-only" > >Sponsored-by: Catalyst IT >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt | 1 + > 1 file changed, 1 insertion(+) > >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..58251bec73 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">Your checkout history</caption> > <thead> > <tr> > <th style="display:none;" class="noExport">Type</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