You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current use of ordinal and label are limited to headings and figcaption. The element caption should be added since it acts as the title for tables (and is even called out in the example).
The text was updated successfully, but these errors were encountered:
Current use of ordinal and label are limited to headings and figcaption.
Those are only advisory usages, not restrictions, so you shouldn't run into any issues using them in a caption. This is clarified in the about this vocabulary section:
The HTML usage context fields indicate contexts in HTML documents where the given property is considered relevant. EPUB creators may use the properties on HTML markup elements not specifically listed, but must ensure that the semantics they express represent a subset of the carrying element's semantics and do not attach an existing element's meaning to a semantically neutral element.
We could add caption to the list but I honestly don't know who makes decisions on those terms now. Those are some of the edupub draft terms and that group is likely never reforming, or at least not maintaining that old work if a new group is spun up. I expect the idea was that tables would be wrapped in figure tags and use figcaption instead of caption.
If we're going to modify the edupub terms, then we might as well drop all those draft labels in the vocabulary.
Issue on the “EPUB 3 Structural Semantics Vocabulary 1.1” WG Note
§9 Titles and headings
Current use of ordinal and label are limited to headings and figcaption. The element caption should be added since it acts as the title for tables (and is even called out in the example).
The text was updated successfully, but these errors were encountered: