Skip to content

Commit

Permalink
SITES-26450 - Accessibility Issues with AEM Core Components (Form) - …
Browse files Browse the repository at this point in the history
…WCAG 2.1 Compliance (#2924)

* fixed JS syntax
  • Loading branch information
LSantha authored Feb 21, 2025
1 parent 64acead commit 07fceed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
}
}
if (displayValidationMessage) {
let validationMessage = event.target.parentElement.querySelector(".cmp-form-text__validation-message");
var validationMessage = event.target.parentElement.querySelector(".cmp-form-text__validation-message");
if (validationMessage) {
validationMessage.innerText = event.target.validationMessage;
}
Expand Down

0 comments on commit 07fceed

Please sign in to comment.