Bugzilla – Attachment 121974 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: tags folder
Bug-28243-tags-folder.patch (text/plain), 2.03 KB, created by
wainuiwitikapark
on 2021-06-15 07:41:56 UTC
(
hide
)
Description:
Bug 28243: tags folder
Filename:
MIME Type:
Creator:
wainuiwitikapark
Created:
2021-06-15 07:41:56 UTC
Size:
2.03 KB
patch
obsolete
>From 25c19fd150beef3630cec5106f97c454ead6d2e3 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 15 Jun 2021 06:00:22 +0000 >Subject: [PATCH] Bug 28243: tags 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 tags >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/tags/list.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt >index bd60d4654d..576b9ec6c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt >@@ -42,6 +42,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > [% IF ( titles ) %] > <h2>Titles tagged with the term <em>[% tag | html %]</em></h2> > <table id="itemst"> >+ <caption class="sr-only">Titles</caption> > <thead><tr> > <th>Title</th> > <th>Location</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >index 53ff7d7465..9258e5bddb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >@@ -87,6 +87,7 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } > [% IF ( tagloop ) %] > <p class="check"></p> > <table id="tagst"> >+ <caption class="sr-only">Tags</caption> > <thead> > <tr> > <th class="NoSort"> </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