From 8318d27a7d08d6c8667adb0eba7662ab6ac545f4 Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Wed, 7 Aug 2024 13:22:58 +0000 Subject: [PATCH] Bug 37586: Updated aria-labels for masthead links MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Update to my last comment: The Lists aria-label had an accessibility issue as the label did not match the visible text. New test plan: Check the OPAC Interface: * Open the OPAC in a normal-sized browser window. * You’ll see the text next to the 'Cart', 'Lists', and 'Login' icons clearly. * Gradually reduce the window size until the text next to these icons disappears. * Inspect the icon elements. You’ll find that there is no alternative text (like aria-label) provided for 'Cart' and 'Login'. The aria-label for 'Lists' does not match the visible text. It currently says "Show dropdown with detailed list information". This lack of alternative text is an accessibility issue and labels should match visible text. Apply the Patch: * Apply the patch * Restart_all Verify the Fix: * Inspect the icons again. * For the 'Cart' icon, you should see an aria-label attribute with the text "View your shopping cart". * For the 'Login' icon, you should see an aria-label attribute with the text "Log in to your account". * For the 'Lists' icon, you should see an updated aria-label attribute with the new text of "Lists". * These changes will improve accessibility for users relying on screen readers. Sign Off: * Sign off and Have an amazing day! Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 21780d429b..96422f3491 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -37,7 +37,7 @@