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 verified by a human.
Information
- Steps involved : Crafting Development
- Tags : Display Readability
- Category : Structure and code
- Rule source : Opquast
- Opquast reference : 4 229
- Updated on September 18, 2024
- References : HTML5 Specification
- References : Extensible Markup Language (XML)
- Associated vocabulary :
Vocabulary : Content Document