28 Aug
2020
28 Aug
'20
8:41 p.m.
On Thu, 27 Aug 2020, Karl Pettersson wrote:
See this discussion. https://github.com/jgm/pandoc/issues/5409#issuecomment-678781349
Would it be possible to generate PDFs with headings tagged like H1, H2, H3, H4..., instead of using the H tag for all levels, which seems to be required for proper rendering with some screenreaders? It seems to me that it would require modfications to the Context source code. https://source.contextgarden.net/tex/context/base/mkiv/strc-tag.lua
Any ideas?
From what I understand, the current implementation assumes that the same tag will be used for all section levels. So, changing the tag at each section level will require a rewrite of the internal logic.
Aditya