From eefc6d476204a44f79a3f11f1a60f71ac515e405 Mon Sep 17 00:00:00 2001 From: Sergiej Drozd Date: Tue, 5 Nov 2024 11:10:25 +0100 Subject: [PATCH] fix(a11y): Prevent search label from being read twice --- .../navigation/search-box/search-box.component.html | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/storefrontlib/cms-components/navigation/search-box/search-box.component.html b/projects/storefrontlib/cms-components/navigation/search-box/search-box.component.html index c56d3d2f746..ebeac4b8a40 100644 --- a/projects/storefrontlib/cms-components/navigation/search-box/search-box.component.html +++ b/projects/storefrontlib/cms-components/navigation/search-box/search-box.component.html @@ -82,7 +82,6 @@ [attr.tabindex]=" a11ySearchBoxMobileFocusEnabled ? getTabIndex(isMobile | async) : null " - [attr.aria-label]="'searchBox.placeholder' | cxTranslate" (focus)="a11ySearchBoxMobileFocusEnabled ? null : open()" (click)="open()" (input)="search(searchInput.value)"