Bugzilla – Attachment 121947 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: patron_lists folder
Bug-28243-patronlists-folder.patch (text/plain), 2.74 KB, created by
Wainui Witika-Park
on 2021-06-15 02:49:55 UTC
(
hide
)
Description:
Bug 28243: patron_lists folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-15 02:49:55 UTC
Size:
2.74 KB
patch
obsolete
>From f6cc569cb1895b30c31a91216adbe7f394babfb1 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 15 Jun 2021 02:48:25 +0000 >Subject: [PATCH] Bug 28243: patron_lists 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 patron_lists >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/patron_lists/list.tt | 3 +++ > koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt | 1 + > 2 files changed, 4 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >index 5c8eb678ba..54014d0480 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >@@ -61,6 +61,7 @@ > <div class="dialog alert"><p>Warning, the following cardnumbers were not found:</p></div> > <table style="margin:auto;"> > <thead> >+ <caption class="sr-only">Card numbers not found</caption> > <tr><th>Cardnumbers not found</th></tr> > </thead> > <tbody> >@@ -74,6 +75,7 @@ > [% IF ( existed.size > 0 ) %] > <div class="dialog alert"><p>Warning, the following cardnumbers were already in this list:</p></div> > <table style="margin:auto;"> >+ <caption class="sr-only">Cardnumbers already in list</caption> > <thead> > <tr><th>Cardnumbers already in list</th></tr> > </thead> >@@ -138,6 +140,7 @@ > </div> > > <table id="patron-list-table"> >+ <caption class="sr-only">Patron list</caption> > <thead> > <tr> > <th class="NoSort"> </th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >index ee71f3c31e..f76fc738e0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >@@ -43,6 +43,7 @@ > [% IF ( lists ) %] > > <table id="patron-lists-table"> >+ <caption class="sr-only">Patron lists</caption> > <thead> > <tr> > <th>Name</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