-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for dpub-aria in HTML output #32
Comments
Agreed, not a big deal and totally worth the effort. |
Actually, this is a no-go. Validation barfs everywhere. https://validator.w3.org/
Error while parsing file 'attribute "role" not allowed here; expected attribute "class", "dir", "lang", "style", "title" or "xml:lang"'. |
I think "role" should be attached to "section", "aside", "p" etc., something that actually holds contents, not h1, h2, ... See https://stackoverflow.com/questions/4170356/what-values-can-the-html5-xhtml-role-attribute-have |
Well, the problem is that the HTML in the epub (version 2) is XHTML strict, not HTML5. Matter needs to be digged. |
as far as I can see, EPUB would need to migrate to 3.0 (with extra steps for backcompat) and HTML to HTML5. |
See jgm/pandoc#4213
There is no benefit yet, and Text::Amuse HTML output is not going to be processed by machine probably (there is a
.muse
source available, after all), but it might improve accessibility and help search engines index HTML output.The text was updated successfully, but these errors were encountered: