Bugzilla – Attachment 118775 Details for
Bug 27610
Accessibility: OPAC - h1 on each page is Logo but should be page description/title
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27610: (follow-up) Hide <h1> on opac-main.tt
Bug-27610-follow-up-Hide-h1-on-opac-maintt.patch (text/plain), 1.48 KB, created by
Martin Renvoize (ashimema)
on 2021-03-25 10:08:40 UTC
(
hide
)
Description:
Bug 27610: (follow-up) Hide <h1> on opac-main.tt
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-25 10:08:40 UTC
Size:
1.48 KB
patch
obsolete
>From f7725ddc57383f6a3bd4e7deb03e9944c3d0acaf Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Thu, 11 Mar 2021 01:06:35 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >index 3f059a2fee..703a7e6e82 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -66,7 +66,7 @@ > <div class="col order-md-1 maincontent"> > [% END %] > >- <h1>Home</h1> >+ <h1 class="sr-only">Koha home</h1> > > [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %] > [% UNLESS news_item %] >-- >2.20.1
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 27610
:
116296
|
117017
|
117769
|
117772
|
117773
|
117774
|
117775
|
118084
|
118445
|
118446
|
118447
|
118449
|
118450
|
118451
|
118773
|
118774
| 118775