axe-core
axe-core copied to clipboard
doc-endnotes role no longer requires children to contain a specific role
Google Chrome Version 101.0.4951.41 (Official Build) (64-bit) Lighthouse 9.5.0
This example from the ARIA 1.1 doc-endnotes
specification::
<section role="doc-endnotes">
<h2>Notes</h2>
<ol>
<li id="6baa07af">
<p>Additional results of this study can be found at … </p>
</li>
<li id="7b2c0555">
<p>…</p>
</li>
</ol>
</section>
Generates a false positive:
Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children.
Thanks for the issue. DPub 1.1 is still a W3C Working Draft, and 1.0 is the current recommended version. Since 1.0 requires a doc-endnotes
to have a doc-endnote
as a child we will still fail the provided example.
True as that may be, I don't really think there's anything inaccessible about this. I think we can get ahead of the W3C on this.
Work completed in https://github.com/dequelabs/axe-core/pull/3280
Not an issue, already validated in #2759