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"); } }