Bugzilla – Attachment 121949 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: pos folder
Bug-28243-pos-folder.patch (text/plain), 3.71 KB, created by
Wainui Witika-Park
on 2021-06-15 03:42:51 UTC
(
hide
)
Description:
Bug 28243: pos folder
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-06-15 03:42:51 UTC
Size:
3.71 KB
patch
obsolete
>From 2436f2efa07d16bf05768cee24a9bd37ee1c161a Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 15 Jun 2021 03:03:13 +0000 >Subject: [PATCH] Bug 28243: pos 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 pos >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/pos/pay.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 3 +++ > koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt | 1 + > 3 files changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >index 9a6d73ded0..03aaaa58b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >@@ -64,6 +64,7 @@ > Please select items from below to add to this transaction: > [% IF invoice_types %] > <table id="invoices"> >+ <caption class="sr-only">Invoices</caption> > <thead> > <tr> > <th>Code</th> >@@ -96,6 +97,7 @@ > <legend>This sale</legend> > <p>Click to edit item cost or quantities</p> > <table id="sale" class="table_sale"> >+ <caption class="sr-only">Sale</caption> > <thead> > <tr> > <th>Item</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >index 6193b35461..01a614a0db 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >@@ -87,6 +87,7 @@ > <h2>Transactions to date</h2> > [% END %] > <table id="sales" class="table_sales"> >+ <caption class="sr-only">Sales</caption> > <thead> > <th>ID</th> > <th>DATA</th> >@@ -176,6 +177,7 @@ > > [% IF trange_f %] > <table id="past_sales" class="past_sales_table"> >+ <caption class="sr-only">Past sales</caption> > <thead> > <th>ID</th> > <th>DATA</th> >@@ -240,6 +242,7 @@ > <hr/> > <h2>Cashup history</h2> > <table id="table_cashups"> >+ <caption class="sr-only">Cashups</caption> > <thead> > <tr> > <th>Date</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt >index 5d86334b74..ab87218a66 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt >@@ -69,6 +69,7 @@ > </ul> > > <table id="registers" class="table_registers"> >+ <caption class="sr-only">Registers</caption> > <thead> > <th>Register name</th> > <th>Register description</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