Each HTML identifier is used only once per Content Document
On the page of a book, some items can be identified by an identifier. It must be unique within this page.
Objectives
- Avoid display issues
- Ensure access to the identified element
Implementation
- Assign unique identifiers to each element in the HTML page code by ensuring that no identifier is reused to this page.
Control
- Check the source code of the HTML page of epub : No HTML identifier must be used more than once. Or EpubCheck
Validation
- Reported by epubcheck.
- Needs to be human verified.
Informations
- Steps concerned : Crafting Development
- Tags : Display Readability
- Categorie : Structure and code
- Rule origin : Opquast
- Opquast reference : 4 229
- Updated on September 18, 2024
- references : HTML5 Specification
- references : Extensible Markup Language (XML)
- Vocabulaire associé :
Vocabulary : Content Document