View Single Post
Old 02-14-2025, 09:19 PM   #23
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,419
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
One oddity with this plugin is that when an ID is referenced by an aria-labelledby, the ID is seen as unused and removable. The next step is an error message from epubcheck.

Code:
<nav epub:type="toc" role="doc-toc" aria-labelledby="toc">
<h1 id="toc">Contents</h1>

<section aria-labelledby="cont" epub:type="toc" role="doc-toc">
    <hgroup>
    <h1 class="FMH" id="cont">Contents</h1>
    </hgroup>
Code:
OEBPS/Text/contents.xhtml	11	474	Col: 64: ERROR(RSC-005): Error while parsing file: The aria-labelledby attribute must refer to elements in the same document (target ID missing)
OEBPS/Text/nav.xhtml		10	368	Col: 59: ERROR(RSC-005): Error while parsing file: The aria-labelledby attribute must refer to elements in the same document (target ID missing)
OEBPS/Text/nav.xhtml		77	2429	Col: 54: ERROR(RSC-005): Error while parsing file: The aria-labelledby attribute must refer to elements in the same document (target ID missing)
OEBPS/Text/nav.xhtml		94	3004	Col: 78: ERROR(RSC-005): Error while parsing file: The aria-labelledby attribute must refer to elements in the same document (target ID missing))

Last edited by DNSB; 02-14-2025 at 09:25 PM.
DNSB is offline   Reply With Quote