From ea20a4c401794c6a3af9111e264b4bd589b37a2f Mon Sep 17 00:00:00 2001 From: Alexander Blanchard Date: Thu, 1 May 2025 19:34:22 +0000 Subject: [PATCH] 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. To Test: 1) Navigate to 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 --- .../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 9eb4e7b5d1..e31b6ac89d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -64,43 +64,43 @@ @@ -133,7 +133,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 %] @@ -168,12 +168,12 @@

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

- + Clear

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