Bugzilla – Attachment 121902 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: clubs folder
Bug-28243-clubs-folder.patch (text/plain), 3.05 KB, created by
Wainui Witika-Park
on 2021-06-14 03:03:49 UTC
(
hide
)
Description:
Bug 28243: clubs folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-14 03:03:49 UTC
Size:
3.05 KB
patch
obsolete
>From 15d3e6be29ba7855c52423f043c65992cfd5f8fc Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Thu, 10 Jun 2021 18:29:22 +0000 >Subject: [PATCH] Bug 28243: clubs 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 clubs >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/clubs/club-enrollments.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt | 5 ++--- > 3 files changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt >index 4383291728..764264d270 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt >@@ -40,6 +40,7 @@ > <h1>Club enrollments for <em>[% club.name | html %]</em></h1> > > <table id="enrollments-table"> >+ <caption class="sr-only">Enrollments</caption> > <thead> > <tr> > <th>Name</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt >index 30fe936bc1..d2cca33185 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt >@@ -67,6 +67,7 @@ > > [% IF club_templates %] > <table id="club-templates-table"> >+ <caption class="sr-only">Club templates</caption> > <thead> > <tr> > <th>Name</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt >index cbbdfa9e70..218daf8fad 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt >@@ -1,9 +1,9 @@ > [% USE KohaDates %] > > [% IF enrollments %] >- <h2>Clubs currently enrolled in</h2> > > <table id="table_clubenrollments"> >+ <caption><h2>Clubs currently enrolled in</h2></caption> > <thead> > <tr> > <th>Name</th> >@@ -34,9 +34,8 @@ > > [% IF clubs %] > >- <h2>Clubs not enrolled in</h2> >- > <table id="table_clubnoenrollmemnts"> >+ <caption><h2>Clubs not enrolled in</h2></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