Bugzilla – Attachment 121946 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: patroncards folder
Bug-28243-patroncards-folder.patch (text/plain), 3.50 KB, created by
Wainui Witika-Park
on 2021-06-15 02:39:45 UTC
(
hide
)
Description:
Bug 28243: patroncards folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-15 02:39:45 UTC
Size:
3.50 KB
patch
obsolete
>From 91a68d71f118af4e84803f512d6f5b864fd03851 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 15 Jun 2021 02:37:36 +0000 >Subject: [PATCH] Bug 28243: patroncards 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 patroncards >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/patroncards/edit-batch.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt | 1 + > 3 files changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt >index 3856437cae..9f71e55e28 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt >@@ -85,6 +85,7 @@ > <form name="items"> > <h2>Patrons in batch number [% batch_id | html %]</h2> > <table id="batcht"> >+ <caption class="sr-only">Patrons in batch number [% batch_id | html %]</caption> > [% FOREACH table_loo IN table_loop %] > [% IF ( table_loo.header_fields ) %] > <thead> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt >index a24f183be4..3674672112 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt >@@ -83,6 +83,7 @@ > Select one or more images to delete. > </div> > <table> >+ <caption class="sr-only">Images</caption> > [% FOREACH TABL IN TABLE %] > > [% IF ( TABL.header_fields ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >index 05cd10e254..a9b4934495 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >@@ -65,6 +65,7 @@ > <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]"> > <h2>Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]</h2> > <table> >+ <caption class="sr-only">Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]</caption> > [% FOREACH table_loo IN table_loop %] > [% IF ( table_loo.header_fields ) %] > <tr> >-- >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