Bugzilla – Attachment 121904 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: course_reserves folder
Bug-28243-coursereserves-folder.patch (text/plain), 2.10 KB, created by
Wainui Witika-Park
on 2021-06-14 06:37:20 UTC
(
hide
)
Description:
Bug 28243: course_reserves folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-14 06:37:20 UTC
Size:
2.10 KB
patch
obsolete
>From c1d040bb08ab6d48da360775ff57de9a4f56f199 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Thu, 10 Jun 2021 20:58:53 +0000 >Subject: [PATCH] Bug 28243: course_reserves 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 course_reserves >4) Check that the page has a table >5) Check that the table has a caption to describe it and that it is >hidden with "sr-only" > >Sponsored-by: Catalyst IT >--- > .../intranet-tmpl/prog/en/modules/course_reserves/course-details.tt | 1 + > .../intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >index 9716fda53c..5caf92f20b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >@@ -90,6 +90,7 @@ > > [% IF course_reserves %] > <table id="course_reserves_table"> >+ <caption class="sr-only">Course reserves</caption> > <thead> > <tr> > <th class="anti-the">Title</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >index d2fcd6b476..86a3c56676 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt >@@ -42,6 +42,7 @@ > > <h1>Courses</h1> > <table id="course_reserves_table"> >+ <caption class="sr-only">Courses</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