From 95bbddfda238683dcba0094e67a327be20e2ebd2 Mon Sep 17 00:00:00 2001 From: Alexander Blanchard Date: Thu, 1 May 2025 19:34:22 +0000 Subject: [PATCH] Bug 33012: Accessibility - Fix OPAC navigation when using the tab key An accessibility audit highlighted that when logged in you cannot tab to the log out link in the welcome menu. The search history link in the same menu was also unable to be tabbed to. These links were also not able to be reached using arrows. The links for Your Lists, Private Lists and New List could be reached using the arrows on the keyboard but not via the tab option. Test plan: 1) Navigate to the Koha OPAC. 2) Ensure you are logged in. 3) Use tabs to navigate the site. 4) When you reach the Welcome menu press enter. 5) Note that you can tab to 'Your Account' and the 'Clear' icon but not to 'Search History' or to 'Log Out' 6) Tab also to the hamburger menu and press enter 7) Note than you can navigate this menu via the arrows on the keyboard but not via the tab button 8) Apply patch 9) Repeat steps 1-7 10) Note that you can now tab to all of the above links Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit a83c07da19adeb5b2d50c93189520e96eeac7961) Signed-off-by: Fridolin Somers --- .../bootstrap/en/includes/masthead.inc | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 8bfff8cc20..2e8c92c01f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -52,39 +52,39 @@ @@ -115,7 +115,7 @@ Welcome, [% INCLUDE 'patron-title.inc' patron = logged_in_user no_html = 1 %] - Log out + Log out [% ELSE %] [% IF Koha.Preference('casAuthentication') %] [%# CAS authentication is too complicated for modal window %] @@ -136,7 +136,7 @@

[% IF Koha.Preference( 'EnableOpacSearchHistory' ) %]

- +

[% END %] - Log out + Log out [% END %]