From cf93d8317ef5dba28336acad8cbe4cfd0b2edab9 Mon Sep 17 00:00:00 2001 From: yanaminkova Date: Wed, 31 Jul 2024 10:00:16 +0300 Subject: [PATCH] fix(ui5-shellbar): remove aria attribute from search button --- packages/fiori/src/ShellBar.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/fiori/src/ShellBar.ts b/packages/fiori/src/ShellBar.ts index 35158991345d..80c1155fc93c 100644 --- a/packages/fiori/src/ShellBar.ts +++ b/packages/fiori/src/ShellBar.ts @@ -320,7 +320,7 @@ class ShellBar extends UI5Element { * - **notifications** - `notifications.expanded` and `notifications.hasPopup`. * - **profile** - `profile.expanded`, `profile.hasPopup` and `profile.name`. * - **product** - `product.expanded` and `product.hasPopup`. - * - **search** - `search.expanded` and `search.hasPopup`. + * - **search** - `search.hasPopup`. * - **overflow** - `overflow.expanded` and `overflow.hasPopup`. * * The accessibility attributes support the following values: @@ -1159,7 +1159,6 @@ class ShellBar extends UI5Element { } get accInfo() { - const searchExpanded = this.accessibilityAttributes.search?.expanded; const overflowExpanded = this.accessibilityAttributes.overflow?.expanded; return { @@ -1188,7 +1187,6 @@ class ShellBar extends UI5Element { "title": this._searchText, "accessibilityAttributes": { hasPopup: this.accessibilityAttributes.search?.hasPopup, - expanded: searchExpanded === undefined ? this.showSearchField : searchExpanded, }, }, overflow: {