Bugzilla – Attachment 121464 Details for
Bug 28469
Move "Skip to main content" link to top of page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28469: Move "Skip to main content" to top of OPAC page
Bug-28469-Move-Skip-to-main-content-to-top-of-OPAC.patch (text/plain), 1.95 KB, created by
Lucas Gass (lukeg)
on 2021-05-27 21:54:05 UTC
(
hide
)
Description:
Bug 28469: Move "Skip to main content" to top of OPAC page
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-05-27 21:54:05 UTC
Size:
1.95 KB
patch
obsolete
>From 7b28aab12c9c866b58d6e56abf79b5dffa9a4b60 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 27 May 2021 03:34:30 +0000 >Subject: [PATCH] Bug 28469: Move "Skip to main content" to top of OPAC page > >This patch moves the "Skip to main content" button out of the nav >element and to the top of the <body> element, so that it's the first >(potentially) viewable element on the page. > >This means you can inject content above the navbar, which has >a relative position, and it won't disrupt the display of the >"Skip to main content" button. > >To test: >1) Apply patch >2) Same test plan as Bug 22807: >Go to any page in the OPAC and hit the tab key. The "Skip to main >content" link should appear. Tabbing away from it should cause the link >to hide. Hitting the ENTER key when the link is highlighted should cause >the page to scroll to the main content. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index b58703b8d0..d6e8089132 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -9,10 +9,10 @@ > [% SET OpacCustomSearch = KohaNews.get( location => "OpacCustomSearch", lang => lang, library => branchcode, blocktitle => 0 ) %] > [% SET OpacLoginInstructions = KohaNews.get( location => "OpacLoginInstructions", lang => lang, library => branchcode ) %] > >+<button id="scrolltocontent">Skip to main content</button> > <div id="wrapper"> > <div id="header-region" class="noprint"> > <nav class="navbar navbar-expand"> >- <button id="scrolltocontent">Skip to main content</button> > <div id="logo"> > <a class="navbar-brand" href="/cgi-bin/koha/opac-main.pl"> > [% IF ( LibraryNameTitle ) %] >-- >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 28469
:
121442
|
121464
|
121468
|
123146