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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -