From f7591391e6d9388db64649b17085617aadeca616 Mon Sep 17 00:00:00 2001 From: Andrey Dolzhikov Date: Tue, 3 Dec 2024 17:13:10 +0200 Subject: [PATCH] T1265009 --- packages/devextreme/js/ui/shared/accessibility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/devextreme/js/ui/shared/accessibility.js b/packages/devextreme/js/ui/shared/accessibility.js index ea60e4a209a1..1e3bc0fdc41f 100644 --- a/packages/devextreme/js/ui/shared/accessibility.js +++ b/packages/devextreme/js/ui/shared/accessibility.js @@ -71,7 +71,7 @@ function getActiveAccessibleElements(ariaLabel, viewElement) { let $activeElements; if(ariaLabel) { - const escapedAriaLabel = ariaLabel?.replace(/"/g, '\\"'); + const escapedAriaLabel = ariaLabel?.replace(/"/g, '\\"').replace(/\\/g, '\\\\'); $activeElements = $viewElement.find(`[aria-label="${escapedAriaLabel}"][tabindex]`); } else { $activeElements = $viewElement.find('[tabindex]');