Open mrchristian opened 3 years ago
Document structure semantics tags: I need to process what Shinyu has written here and his links to standards recommendations. I would suggest Vivlio come up with an example encoding for HTML/XHTML and EPUB XHTML, then Shinyu can consult on the model. HTML semantic section tags for example.
From Shinyu:
https://docs.google.com/document/d/1prgiLs8BUC0Kypw9KyxSbg1m47wLuD6VYR-GuLSZWGU/edit#bookmark=id.czpri7jj6qzz
Yes, we should use HTML section element for sectioning with in an HTML document. Also we can omit the section element when using multiple HTML files for parts of a book because the HTML
body
element represents the root section in a document. For EPUB publications, we should use the parts of book vocabulary defined in https://idpf.github.io/epub-vocabs/structure/, and should follow "HTML usage context" in this spec, e.g. "HTML usage context: section, body" for "chapter". We can use<section epub:type="chapter" role="doc-chapter">
or<body epub:type="chapter" role="doc-chapter">
for a chapter. (Note: therole
property value is defined in https://www.w3.org/TR/dpub-aria-1.0/ that has similar concept withepub:type
but is needed for non-EPUB context)