Description
A concluding section of narrative that wraps up or comments on the actions and events of the work, typically from a future perspective.
Examples
Example 1 — Epilogue with a heading
The label is identified in the aria-labelledby attribute.
<section role="doc-epilogue" aria-labelledby="epi-hd">
<h2 id="epi-hd">Ten Years Later</h2>
…
</section>
Example 2 — Epilogue without a heading
A label for the section is specified in the aria-label attribute.
<section role="doc-epilogue" aria-label="Epilogue">
<p>Long after the events of the story concluded, I still found myself wondering …</p>
…
</section>
Relation to ARIA
doc-epilogue is a landmark role.
Usage
doc-epilogue is typically used on section elements.
A label must be provided for the role using one of the aria-labelledby,
aria-label or title attributes.
List of all elements allowed on
- a (without an href attribute)
- abbr
- address
- b
- bdi
- bdo
- blockquote
- br
- canvas
- cite
- code
- del
- dfn
- div
- em
- i
- img (with alt text)
- ins
- kbd
- mark
- output
- p
- pre
- q
- rp
- rt
- ruby
- s
- samp
- section
- small
- span
- strong
- sub
- sup
- table
- tbody
- td
- tfoot
- thead
- th
- tr
- time
- u
- var
- wbr