Defining a list of roles for Divina #1
Replies: 2 comments 6 replies
-
Here's a first list of suggested roles. StructureThis covers the basic structural building block of a Divina publication.
I think it's worth pointing out that <div role="img" aria-label="Description of the overall image">
<img src="graphic1.png" alt="" />
<img src="graphic2.png" />
</div> Text
|
Beta Was this translation helpful? Give feedback.
-
I've created a complete example at: https://github.com/readium/guided-navigation/blob/main/examples/Pepper%20%26%20Carrot/guided.json In terms of semantics, this was a very straightforward example where only |
Beta Was this translation helpful? Give feedback.
-
The initial list of roles for this project is directly based on DPUB ARIA 1.0, which doesn't really cover anything comic-specific.
Some roles remain useful (
cover
orpagebreak
for example) but there's nothing really meant to convey the structure within a page.Looking at the EPUB 3 Structual Semantics Vocabulary 1.1, there's a short list of roles dedicated to comics inherited from the work on EPUB Region-Based Navigation 1.0:
Here's my take on this:
spread
we could also have comics where a single image is used for a spreadpanel
andpanel-group
are fine as structural elements but we might need something even more generic than panel, since a number of comics do not use panels at allballoon
,sound-area
andtext-area
feel confusing.text-area
is probably a superset ofbubble
(I prefer that term toballoon
) but we need to further qualify different types of bubbles and potential other text areasI expect this to be a long and iterative process, in which we should probably try to identify the higer-level structural elements first before we dive any deeper.
Beta Was this translation helpful? Give feedback.
All reactions