Bugzilla – Attachment 121958 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: rotating_collections folder
Bug-28243-rotatingcollections-folder.patch (text/plain), 2.53 KB, created by
Wainui Witika-Park
on 2021-06-15 06:37:02 UTC
(
hide
)
Description:
Bug 28243: rotating_collections folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-15 06:37:02 UTC
Size:
2.53 KB
patch
obsolete
>From 754ea40bb1c5ce5068c24541cf054788b947efcd Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 15 Jun 2021 04:46:28 +0000 >Subject: [PATCH] Bug 28243: rotating_collections 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 rotating_collections >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 >--- > .../intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt | 2 +- > .../prog/en/modules/rotating_collections/rotatingCollections.tt | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt >index d09366f527..4efeebe278 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt >@@ -115,8 +115,8 @@ > <div> > <h2>Items in <em>[% colTitle | html %]</em></h2> > [% IF ( collectionItemsLoop ) %] >- <h3>Total items: [% collectionItemsLoop.size | html%]</h3> > <table> >+ <caption>Total items: [% collectionItemsLoop.size | html%]</caption> > <tr> > <th>Title</th> > <th>Call number</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >index 77ae56e76f..78edfe7784 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >@@ -38,6 +38,7 @@ > <div> > [% IF ( collectionsLoop ) %] > <table id="rotating-collections-table"> >+ <caption class="sr-only">Rotating collections</caption> > <thead> > <tr> > <th>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 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