Hi David, > Hello. While at one time org XHTML output validated successfully, now the > default values of certain variables in ox-html cause the resulting > output to not validate as XHTML 1.0 Strict. > > org-html-infojs-template: script tag attribute “type” is required (2x) > org-html-style-default: style tag attribute “type” is required > > Also the following output gives the error “there is no attribute ‘role’”. > > <div id=“table-of-contents” role=“doc-toc”> > > The same for this output: > > role=“doc-backlink”
There seem to be known difficulties combining HTML5 ARIA attributes (like `role') and XHTML. There seem to be a few pages with information about this, such as <https://www.powermapper.com/blog/w3-aria-why-doesnt-it-validate/>. All the best, Timothy -- Timothy (‘tecosaur’/‘TEC’), Org mode contributor. Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/tec>.