* Validating org XHTML output
@ 2022-12-22 17:52 David O'Toole
2022-12-22 18:33 ` Timothy
0 siblings, 1 reply; 2+ messages in thread
From: David O'Toole @ 2022-12-22 17:52 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
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"
[-- Attachment #2: Type: text/html, Size: 1292 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Validating org XHTML output
2022-12-22 17:52 Validating org XHTML output David O'Toole
@ 2022-12-22 18:33 ` Timothy
0 siblings, 0 replies; 2+ messages in thread
From: Timothy @ 2022-12-22 18:33 UTC (permalink / raw)
To: David O'Toole; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]
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>.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-22 18:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-22 17:52 Validating org XHTML output David O'Toole
2022-12-22 18:33 ` Timothy
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).