From 3a88463e824b80d1e29b8e3a0160f36162a26394 Mon Sep 17 00:00:00 2001 From: "Michael Spellacy (Spell)" Date: Fri, 13 Sep 2024 13:41:55 -0400 Subject: [PATCH] Update init.js --- a11y/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a11y/init.js b/a11y/init.js index 2ce1d17..00bc4e2 100644 --- a/a11y/init.js +++ b/a11y/init.js @@ -673,7 +673,7 @@ function fixMindReaderInput() { if (input.classList.contains("mindreader-results-open")) { inputField.setAttribute("aria-expanded", "true"); } else { - inputField.setAttribute("aria-expanded", "false"); + input.setAttribute("aria-expanded", "false"); input.removeAttribute("aria-activedescendant"); } }