You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The link above describes the superseding behavior—i.e. that doc-endnotes identifies the containing section as being endnotes (as is already done in pandoc), and then native <li>, or list or listitem roles should be used within (also already done).
I think, then, the fix would just entail no longer adding the role here:
Currently, footnote items are assigned
role="doc-endnote"
, e.g.Added with the WAI-ARIA endnotes roles here b062117, the role for individual footnote items,
role="doc-endnote"
has now been deprecated.doc-endnote
was deprecated in DPUB-ARIA 1.1, so this errors on the assertion that ARIA roles used must conform to valid values (e.g. using axe accessibility checker).The link above describes the superseding behavior—i.e. that doc-endnotes identifies the containing section as being endnotes (as is already done in pandoc), and then native
<li>
, or list or listitem roles should be used within (also already done).I think, then, the fix would just entail no longer adding the role here:
pandoc/src/Text/Pandoc/Writers/HTML.hs
Line 1646 in bb5f0f7
Reproducible example:
Can be reproduced with, e.g. the following as
input.txt
:and
pandoc -s -o output.html input.txt
.pandoc 2.18
on macOS 12.3.1 (or same example run in pandoc try)The text was updated successfully, but these errors were encountered: