From c745e0739996e667db276700bbd1f478cd34d7ff Mon Sep 17 00:00:00 2001 From: "Michael Spellacy (Spell)" Date: Fri, 11 Oct 2024 20:26:54 -0400 Subject: [PATCH] Update init.js --- a11y/init.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/a11y/init.js b/a11y/init.js index 4c7e80d..a9a45c3 100644 --- a/a11y/init.js +++ b/a11y/init.js @@ -727,7 +727,11 @@ function fixMindReaderInput() { if (currentDescribedBy) { - input.setAttribute("aria-describedby", currentDescribedBy + " " + newDescriptionId); + if (!currentDescribedBy.includes(newDescriptionId)) { + + input.setAttribute("aria-describedby", currentDescribedBy + " " + newDescriptionId); + + } } else {