algorithm error generating aria-level for caution headings
WBerndorfer opened this issue · 1 comments
WBerndorfer commented
Seems, there is a coding error in the realization of heading levels for caution-notes on some W3C sites:
Example:
https://www.w3.org/TR/epub-33/#sec-intro-relations
aria-heading with an extraordinary value 31 for aria-level:
<div class="caution" id="caution-0">
<div
role="heading"
aria-level="31"
class="caution-title marker">
<span>Caution</span>
</div>
Two digits concatenated together, but should be added mathematically.