e0 IncarnateThe first e0 file is, of course, Moby-Dick, available for download here. Those of you who have followed the conversation will notice that it is much like the original proposal, with one exception.
A Note on Navigation, Reading Order, and index.html
The major change is the handling of the primary navigation in index.html. On the mailing list, we reached a consensus that the role attribute would be the primary method of adding semantics to HTML5 elements, thus avoiding namespaced attributes (epub:type), HTML5 data- attributes, and other such horrors.
The primary vocabulary for @role will be the EPUB3 Structural Semantics Vocabulary, extended as needed. How can this help with index.html? I'm hoping this will allow us to use a single nav element to function as both nav and spine.
For the first nav element in index.html, we will define the default behaviour to be as if every element was role="toc spine". This means:
- The element appears in the default navigation structure ("toc")
- The element appears in the document's linear reading order ("spine"), as in EPUB's linear="yes".
One can choose to hide the default navigation from displaying on the index.html page by using the hidden attribute.