Using ACE GUI 1.1.2 on windows 10 I have this error reported:
Minor | Best Practice | epub-type-has-matching-roleVia: aXe | nav.xhtml#epubcfi(/4/2[toc])<nav xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" epub:type="toc" id="toc"> | Element has no ARIA role matching its epub:type Ensure the element has an ARIA role matching its epub:type ARIA role should be used in addition to epub:type
Strange behaviour because it does not happens on all epub checked. Here are two document code exemples, only document 2 triggers the error in ACE:
- in document 1 i have no violation reported by ACE, code is:
<nav epub:type="toc" id="toc">
<h1 id="toc-title">Ariel</h1>
<ol class="toc">
<li id="toc-li-1">
- in document 2 i have violation reported by ACE, code is:
<nav epub:type="toc" id="toc">
<h1 id="toc-title">Índice</h1>
<ol class="toc">
<li id="toc-li-1">
Documents are copyrighted so i can't attach them here.