Currently, rule [nordic_nav_references_1] checks the integrity of heading content so that toc entries in the navigation document should match the heading of the referred section in the content document.
The same integrity check should be done when a section does not have a h[x] heading tied to it, but only an aria-label attribute.
To take an example, the check should be performed to avoid mismatches such as:
They should match the same way as ordinary headings should, so the rule should be updated to include aria-label matching in the absence of a h[x] check.
Currently, rule [nordic_nav_references_1] checks the integrity of heading content so that toc entries in the navigation document should match the heading of the referred section in the content document.
The same integrity check should be done when a section does not have a h[x] heading tied to it, but only an aria-label attribute.
To take an example, the check should be performed to avoid mismatches such as:
Navigation toc entry:
<li><a href="T-000011-001-cover.xhtml#prodnote_1">Framsida</a></li>
Content document:<section aria-label="Front cover" class="frontcover" id="prodnote_1">
They should match the same way as ordinary headings should, so the rule should be updated to include aria-label matching in the absence of a h[x] check.
Ping @kalaspuffar.