Axe-core is misreporting the following examples
Passed Example 4
<div aria-hidden="true">
<a href="/" style="position:absolute; top:-999em" onfocus="document.querySelector('input').focus()">First link</a>
</div>
<input />
Failed Example 5
<div aria-hidden="true">
<button tabindex="-1">Some button</button>
</div>
I disagree that failed example 5 should fail. I opened an issue for that here act-rules/act-rules.github.io#1807 But I don't think we should be failing passed example 4. We can't accurate detect what event listeners exist (whatwg/dom#412) but we can at least look for the onfocus property that is used in that example.
Axe-core is misreporting the following examples
Passed Example 4
Failed Example 5
I disagree that failed example 5 should fail. I opened an issue for that here act-rules/act-rules.github.io#1807 But I don't think we should be failing passed example 4. We can't accurate detect what event listeners exist (whatwg/dom#412) but we can at least look for the onfocus property that is used in that example.