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]');