Quote:
Originally Posted by thiago.eec
No, you can use multiple values for epub:type:
Source
For instance, you can use multiple values to define Document Partition and Section, like these examples:
Code:
<section epub:type="frontmatter preface" role="doc-preface">...</section>
<section epub:type="backmatter colophon" role="doc-colophon">...</section>
The order is not important either for epub:type values.
Like the link you pointed clearly says: you must not overload the aria roles. Only use one value. A second value can only be used as fallback, since only the first value is recognized.
So, you would have to detect multiple values for epub:type and use only the appropriate one while mapping to aria roles. Usually, only one of the epub:type values has a corresponding aria role.
|
Thank you so much, this is super useful!
I've just [added a feature](
https://github.com/OpenBookPublisher...d6105f8c6a5a82) to allow this behaviour. It will be included in the next plugin release. Thanks so much!!