placement of epub:type=”cover”

  • This topic has 4 replies, 2 voices, and was last updated 2 months, 2 weeks ago by Laura Brady.
Viewing 4 posts - 1 through 4 (of 5 total)
placement of epub:type="cover" thread
Author Posts
BTK

The feedback I received from our eBound/Benetech review suggested that

Best Practice: Attributes Placement

SMART GCA: (General Accessibility) 4.11 Attributes Placement
epub:type shouldn’t be captured in <body> element where there exists an equivalent role, except in the case of <body epub:type=”bodymatter”>
Observation
The cover image xhtml page captures epub:type in <body> element instead of in element.

But after some research it appears that w3g considers “cover” to be a document partition:

cover
A section that introduces the work, often consisting of a marketing image, the title, author, and publisher, and select quotes and reviews.

HTML usage context: section, body

https://www.w3.org/TR/epub-ssv-11/#sec-partitions

Any opinions on who’s right?

Laura Brady

The epub:type semantics for the cover should be on the <img> element, otherwise you will get an ACE error. It is incorrect to put it on the <body> tag.

Let me check in with the certifier crew to see if this was a mistake or if the standard has evolved.

BTK

In that case it’s the w3g recommendation that’s wrong as the certifiers did want it in the . I am probably misinterpreting the w3g standard.

Laura Brady

I have clarified with Benetech. The semantics should never be on the <body> element. They are going to push for clarity in the larger W3C documentation.

Viewing 4 posts - 1 through 4 (of 5 total)
  • You must be logged in to reply to this topic.

Want to join the discussion?

a wooden table with a white keyboard on top, and a persons hand writing on a piece of paper

View our current resources