Open WilcoFiers opened 1 year ago
Axe-core's isVisibleToScreenReaders method currently considers the li in the following code snippet as hidden. This doesn't seem to be how most (all?) browsers build their accessibility tree though. aria-owns seems to take priority over aria-hidden.
isVisibleToScreenReaders
li
aria-owns
aria-hidden
<ul aria-owns="li"></ul> <div aria-hidden="true"> <li id="li">Hello world</li> </div>
Here's the corresponding issue I filed with WAI-ARIA on the subject: https://github.com/w3c/aria/issues/1818
Axe-core's
isVisibleToScreenReaders
method currently considers theli
in the following code snippet as hidden. This doesn't seem to be how most (all?) browsers build their accessibility tree though.aria-owns
seems to take priority overaria-hidden
.