From cabeec02e569f50ba7729a91cdaf470a70ecc941 Mon Sep 17 00:00:00 2001 From: David Cook 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 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 Signed-off-by: Wainui Witika-Park Signed-off-by: Nick Clemens --- 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 e44ae2f111..49a875d304 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 ) %] +