From 34c926691d78480a58662fd3f19f2f42b5fab951 Mon Sep 17 00:00:00 2001 From: Yannick Armand Date: Thu, 8 Feb 2024 21:42:14 +0100 Subject: [PATCH] Accessibility: add some "aria-label" --- modules/ps_customersignin/ps_customersignin.tpl | 3 ++- modules/ps_imageslider/views/templates/hook/slider.tpl | 7 +++---- modules/ps_shoppingcart/ps_shoppingcart.tpl | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/ps_customersignin/ps_customersignin.tpl b/modules/ps_customersignin/ps_customersignin.tpl index caf0d1d51..f6737c3b5 100644 --- a/modules/ps_customersignin/ps_customersignin.tpl +++ b/modules/ps_customersignin/ps_customersignin.tpl @@ -14,7 +14,8 @@ id="userMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" - aria-expanded="false"> + aria-expanded="false" + aria-label="{l s='View my account (%s)' d='Shop.Theme.Customeraccount' sprintf=[$customerName]}"> {$customerName|truncate:22:"..":true} diff --git a/modules/ps_imageslider/views/templates/hook/slider.tpl b/modules/ps_imageslider/views/templates/hook/slider.tpl index 9edbe9a80..b7aaef844 100644 --- a/modules/ps_imageslider/views/templates/hook/slider.tpl +++ b/modules/ps_imageslider/views/templates/hook/slider.tpl @@ -33,13 +33,12 @@ {/foreach} - - diff --git a/modules/ps_shoppingcart/ps_shoppingcart.tpl b/modules/ps_shoppingcart/ps_shoppingcart.tpl index 3c793e919..5c6aa7aed 100644 --- a/modules/ps_shoppingcart/ps_shoppingcart.tpl +++ b/modules/ps_shoppingcart/ps_shoppingcart.tpl @@ -5,7 +5,7 @@
{if $cart.products_count> 0} - + {else} {/if}