Thank you for your reply.

I am using the validator put out by the W3C avaliable at: https://validator.w3.org/

I will experiment with XHTML and figure out the syntactic differences and see what happens.

I do not know much about aria roles so will have read up on those.

Many thanks.

On Wed, 15 Nov, 2023, 20:48 Nandakumar Chandrasekhar, <navanitachora-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Dear Folks,

I have the following question in regard to the HTML 5 generated by Pandoc.

Is Pandoc generating HTML 5 using the XHTML standard?

When validating the generated HTML through the W3C validator I see the following information notices about void elements:

Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

Since this is just informational I am not too worried about the trailing slash being placed at the end of elements although it does not seem to be part of the HTML 5 standard.

However, when I am faced with an error like below I would like to fix it:

Error: Bad value doc-endnotes for attribute role on element aside.
</figure><aside id="footnotes" class="footnotes footnotes-end-of-document"role="doc-endnotes"><hr />

I would like to know the community's verdict on this and how I may remove these messages while validating if at all possible. Many thanks

--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/E7Y0798bvp0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f5859ff8-3e37-4794-9c85-ef6456cd73c1n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMhuDe8L9CLLXQVU%3Dc3ZfmpyLe%2Bk4h2E9zjNAk8MGHwXT84N2Q%40mail.gmail.com.