Bug 27876: added sr-only to caption of table in Charges page
authorWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Fri, 23 Apr 2021 03:09:20 +0000 (03:09 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 10 May 2021 13:52:53 +0000 (15:52 +0200)
commit5eab1c83edb3b95c49491b7585dfa0a2fbf9f484
treef93470c23b849dd6dfbba56b82c34b75e638844f
parent35b71040cf9b7e617fc355628654e756d5777eb5
Bug 27876: added sr-only to caption of table in Charges page

Made the "Your charges" caption of the table in the Charges page of the
OPAC hidden and for screen-readers only so that it takes out redundancy.

To test:
1) Apply patch
2) Go to OPAC
3) Go to Charges page
4) Ensure that there is no visible caption above the table that says
"Your charges"
5) Check that the code has the caption still with sr-only class

Sponsored-by: Catalyst IT
Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc