]> git.koha-community.org Git - koha.git/commit
Bug 22807: (follow-up) Update style of skip button
authorOwen Leonard <oleonard@myacpl.org>
Wed, 10 Jun 2020 18:30:50 +0000 (18:30 +0000)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 13 Jul 2020 03:50:41 +0000 (15:50 +1200)
commita53d05278095bb244636166f7d1ff7f15506f578
treedaa3f5f4f8e86c401187c1152afde6d839a395b2
parent92742425ddc048eb9796d8bb4d4544138c5f1dde
Bug 22807: (follow-up) Update style of skip button

This patch updates the markup and style of the skip button, adapting
(i.e. stealing) the style of the skip link at https://webaim.org.

To test, apply the patch and rebuild the OPAC CSS:
https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client

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: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2e94cb26a8267df72f657fb7c1097d08318e8a21)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 30cc30bb996567dc5491f06c5224f1db1163d324)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc