epub:type attribute to enhance the user experience in EPUB user agents.
- Identify footnotes and endnotes using the
No other uses of
epub:type are known to provide user enhancements at this time.
Please open an issue if any such arise.
The enabling of specialized behaviors, such as the opening of footnotes, is directly predicated on content being properly identified.
epub:type attribute can be attached to any element in the body of a document to add
additional semantics. It accepts any of the terms defined in the EPUB
Structural Semantics Vocabulary, but the attribute has limited adoption outside of pop-up footnotes.
epub:type attribute only facilitates user agent behaviors. For more information
about using semantic inflection to make documents more accessible, see the ARIA
epub:type attribute can be used in conjunction with the
role attribute where
both accessibility and enhanced user agent behaviors overlap.
Refer to the EPUB Type to ARIA Role
Authoring Guide for a list of bad practices to avoid when switching from the
to the ARIA
Note that only certain semantics make sense to use on any given tag. Marking an
aside element as
a footnote is appropriate, for example, but marking a
section as a footnote not as much.
The Structural Semantics Vocabulary lists
the common element(s) each semantic is intended to be used in conjunction with to facilitate this
process (although exceptions to the rule may arise).
- EPUB 3 — The