Skip to content

Commit

Permalink
refix
Browse files Browse the repository at this point in the history
  • Loading branch information
Raushen committed Dec 3, 2024
1 parent 9cea814 commit dbd2535
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, '\\"').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 dbd2535

Please sign in to comment.