-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate usage of doc-endnote[s]
ARIA roles in footnote extension
#258
Comments
So, at some point we can eliminate the |
Happy to help move this along if possible/necessary. |
@schnerring dequelabs/axe-core is what power's most of Lighthouse's accessibility audits (and the a11y audits for pretty much every checker written in JavaScript). v4.4.1 of axe-core has deprecated doc-endnote, FWIW; see Lighthouse's issue 12432. Once Lighthouse bumps its axe-core dep, Lighthouse won't have that issue anymore. (Edit: done; |
Temporary measure for use with Goldmark till it drops this see yuin/goldmark#258
Version 1.1 says:
So I've removed |
Thanks for your work on this. Can't wait to see it in a release and get picked up by Hugo downstream :). |
<
>
, Table, etc) are not part of CommonMark spec. You should confirm your output is different from other official renderers correspond with an extension.See: Lighthouse accessibility analysis complains about deprecated
doc-endnote
roles gohugoio/hugo#9054Running Google Lighthouse on Goldmark output containing footnotes causes the following error:
Google Lighthouse now seems to adhere to version 1.1 of the ARIA spec. The docs regarding the error (linked from Lighthouse) also reference version 1.1 of the spec. The spec states:
w3c/epubcheck#1018 (comment) states:
And w3c/epubcheck#1018 (comment) clarifies:
My guess would be to use
doc-footnote
in place ofdoc-endnote
.The text was updated successfully, but these errors were encountered: