An image that sets the mood or tone for the work and typically includes the title and author.
Relation to ARIA
doc-cover inherits its semantics from the a img role.
doc-cover is typically used on the
img element, as it identifies an image. It is
not appropriate to use it on container elements (e.g.,
div) to group all of the content of a cover
The cover for a publication is not normally needed in the document landmarks, but can
be added, if necessary, using the ARIA
<section role="region" aria-label="Cover"> <img role="doc-cover" class="cover-img" src="cover.jpg" alt="…"/> </section>
List of all elements allowed on
- a (without an href attribute)
- img (with alt text)