-
Notifications
You must be signed in to change notification settings - Fork 62
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
span elements within nav elements #824
Comments
No. A following bullet says:
|
Yes, you are right. The sentence you quoted disallows my example shown above. But I think that we have to be more explicit. I was confused, and I know that one implementor was confused too. nav/ol/li can have either an a element possibly followed by a single ol element, or a span element followed by a single ol element. Other than whitespace, no text chunk is allowed to occur as a child of nav/ol/li. |
I think we can also remove the duplicative content model prose if we do this. See a possible rewrite here: |
Proposed Solution Add a content model box and update the prose as suggested in the referenced google doc. |
#755 - change alt-script to alt-rep and clarify language #761 - make image cmts required when there is a viewport #773 - update roadmap and add diagram #778 - clarify package conformance #780 - generalize backwards compatibility statement #800 - clarify svg handling for fxl documents #808 - replace spaces with underscores in rootfile examples #822 - fix obsolete feature labels/descriptions #823 - add note about incomplete RS requirements for scrolled-continuous #824 - add clearer content model for nav elements #826 - note toc nav is required in intro #828 - clarify ordering requirements for toc nav references #829 - note optional use of pagebreak with page-list adds a link to the informative a11y faq; patches errata not applied to doi examples; probably some other minor stuff, too
http://www.idpf.org/epub/31/spec/epub-packages.html#confreq-nav-a
Is
<nav epub:type="toc"><ol><li><span>foo</span></li></ol></nav>
allowed? In other words, can we have a<span>
without sibling<a>
elements or<ol>
elements?The text was updated successfully, but these errors were encountered: