From 8a0c2a7c65df30cd20be472ca6c578f751a4f4c6 Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Tue, 6 Aug 2024 20:33:46 +0000 Subject: [PATCH] Bug 37586: Added aria-labels to the masthead links. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. **Check the OPAC Interface**: - Open the OPAC in a normal-sized browser window. - You’ll see the text next to the 'Cart' 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 these links. This lack of alternative text is an accessibility issue. 2. **Apply the Patch**: - Implement the provided patch to address the accessibility issue. - Restart_all 3. **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". - These changes will improve accessibility for users relying on screen readers. 4. **Sign Off**: - Sign off and Have an amazing day! :D --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 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..f188ac692f 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 @@