axe-core icon indicating copy to clipboard operation
axe-core copied to clipboard

doc-endnotes role no longer requires children to contain a specific role

Open jmooring opened this issue 2 years ago • 3 comments

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.

jmooring avatar Apr 29 '22 20:04 jmooring

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.

straker avatar May 02 '22 19:05 straker

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.

WilcoFiers avatar May 03 '22 15:05 WilcoFiers

Work completed in https://github.com/dequelabs/axe-core/pull/3280

straker avatar Jul 25 '22 14:07 straker

Not an issue, already validated in #2759

image

padmavemulapati avatar Aug 30 '22 04:08 padmavemulapati