accessibility - How to prevent Windows Narrator from reading hidden HTML tags? -
i have html page, multiple hidden elements become visible under circumstances.
when set focus on page wrapper (to read content), windows narrator reads elements, hidden ones.
i have tried using aria-hidden="true", css display: none, html5 hidden attribute, ignored. far, mechanism found works remove elements dom, before setting focus on wrapper. it's not ideal solution.
apply role="presentation" tabindex="-1"
elements have aria-hidden
applied.
Comments
Post a Comment