Skip to content

Commit

Permalink
T1265009
Browse files Browse the repository at this point in the history
  • Loading branch information
Raushen committed Dec 3, 2024
1 parent 097faf6 commit f759139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/shared/accessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]');
Expand Down

0 comments on commit f759139

Please sign in to comment.