KEMBAR78
"head" elements semantics? · Issue #2377 · w3c/epub-specs · GitHub
Skip to content

"head" elements semantics? #2377

@iherman

Description

@iherman

The RS specification says, in §6.1.1.2

In addition to the requirements in 10. Processing structural semantics, a reading system MUST ignore semantics expressed on the [html] head element or its descendants.

I am not sure what this requirement aims to achieve. The Structural Semantics section in the RS contains MAY statements, it is a bit strange to restrict the HTML standard with such an optional set of statements. Also, this seems to suggest that, for example, the <title> element in the <head> must be ignored, which becomes very convoluted for an RS running in a browser. Finally, an alternative to semantics described by RDFa is to add a datablock (using a <script> element in the head) containing RDF metadata in JSON-LD (this is one of the proposed approaches to add schema.org metadata to an HTML file), and this restriction seems to disallow this for EPUB.

My proposal is to remove that section altogether.

Cc @dauwhe @mattgarrish @wareid

Metadata

Metadata

Assignees

No one assigned

    Labels

    EPUB33Issues fixed in the EPUB 3.3 revisionSpec-ReadingSystemsThe issue affects the EPUB Reading Systems 3.X Recommendation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions