Bug 27610: (follow-up) Hide <h1> on opac-main.tt
authorWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Thu, 11 Mar 2021 01:06:35 +0000 (01:06 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Apr 2021 16:51:38 +0000 (18:51 +0200)
commit02d82b142d998f1544fbab6e7f35f6f0fceef084
treee5c2cef5fc75ffea8877834581d8354e41e10e6a
parent9db6630c61208d680c76020d1fff50a4664cc5ba
Bug 27610: (follow-up) Hide <h1> on opac-main.tt

This patch visually hides the <h1> on opac-main.tt so that libraries' customisations of their home pages are not disturbed by the introduction of a descriptive <h1>, but the heading is still available to be read out by screenreaders in the summary of headings on the page.

Test plan:

1) Apply dependencies and all patches on this bug report
3) Ensure the <h1> "Koha home" heading on the OPAC main/home page is hidden visually, but in the source code you can see it

Sponsored-by: Catalyst IT
Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt