Hello,
I have observed that the following errors get flagged when there is an aside with a header that is a child of a section that also has a header:
landmark-no-duplicate-banner Via: aXe
- Document has more than one banner landmark
- Ensure the document has at most one banner landmark
- Document should not have more than one banner landmark
landmark-unique Via: aXe
- The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable
- Ensure landmarks are unique
- Landmarks should have a unique role or role/label/title (i.e. accessible name) combination
Learn about: ARIA
Document has more than one banner landmark
Ensure the document has at most one banner landmark
Document should not have more than one banner landmark
Here is the HTML for the document in question. The errors are flagged for the header of aside.
<?xml version="1.0" encoding="UTF-8"?><htmlxmlns:svg="http://www.w3.org/2000/svg" xmlns:epub="http://www.idpf.org/2007/ops" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="u3bbd1972efd32019d820bc010471276"><head><metacharset="utf-8"></meta><title>Chapter 16 xxxxx</title></head><bodyepub:type="bodymatter" data-lo-framework-id="7511be56-e6e7-11e8-b2b4-06501b093400"><sectionepub:type="chapter" id="pau_9781319320164_Upw2yOhAsg" role="doc-chapter"><headerid="pau_9781319320164_Rxk8C5bzSg"><h1epub:type="title" id="pau_9781319320164_3i0FQmY9kz"><spanepub:type="label" id="pau_9781319320164_eKpgNJIk5Q">Chapter </span><spanepub:type="ordinal" id="pau_9781319320164_g5WkwccdEm">16 </span><spanid="pau_9781319320164_wc5h8bZrML">xxxxx</span></h1></header><sectionepub:type="introduction" id="pau_9781319320164_qIPtCHIEUs" role="doc-introduction"><headerid="pau_9781319320164_Wr4BzyWfJe"><h2epub:type="title" id="pau_9781319320164_Jl4yCBeHIb">xxxxx</h2></header><pid="pau_9781319320164_ityUKb3T8w">xxxxxxxxxx</p><pid="pau_9781319320164_teWawnnuYC">xxxxx xxxx xxxxx</p><asidearia-labelledby="pau_9781319320164_MtNqwt84v3" epub:type="learning-objectives" id="pau_9781319320164_zlFCSWFE0C"><headerid="pau_9781319320164_5nf3WedWtX"><h3epub:type="title" id="pau_9781319320164_MtNqwt84v3">xxxx</h3></header><ulepub:type="learning-objectives" id="pau_9781319320164_ETBhDmhvEf"><liepub:type="learning-objective" id="pau_9781319320164_V3YDCxTd5A">xxxxxx</li></ul></aside></section></section></body></html>
Here is a file with aside with header child that does not trigger these errors:
<?xml version="1.0" encoding="UTF-8"?><htmlxmlns:svg="http://www.w3.org/2000/svg" xmlns:epub="http://www.idpf.org/2007/ops" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="webc8e23c0c6335aa90d500e550ad313"><head><metacharset="utf-8"></meta><title>xxxxx</title></head><bodyepub:type="bodymatter" data-lo-framework-id="7511be56-e6e7-11e8-b2b4-06501b093400"><sectiondata-cfititle="16.2 Moderate Inflation and Disinflation" id="pau_9781319320164_CtypVjZdlu"><headerid="pau_9781319320164_THVLEeuFZN"><h2id="pau_9781319320164_1muYlIn55v">xxxxx</h2></header><pid="pau_9781319320164_vwuuBcbigq">xxx x x x x x</p><sectiondata-cfititle="The Output Gap and the Unemployment Rate" id="pau_9781319320164_VppjUOdEfd"><headerid="pau_9781319320164_MUlqVtqyUH"><h3id="pau_9781319320164_VCZ4SzANng">x xx x x x</h3></header><pid="pau_9781319320164_WzPfqNAMm3">xxxxxxx</p><asidearia-labelledby="pau_9781319320164_KQeAtXlJXe" data-cfititle="For inquiring minds" epub:type="case-study" id="pau_9781319320164_lNhY6o8NK7"><headerid="pau_9781319320164_Mx7pDRx6l2"><h4epub:type="title" id="pau_9781319320164_KQeAtXlJXe"><spanaria-label="492" epub:type="pagebreak" id="page492" role="doc-pagebreak"></span>xxx</h4><pepub:type="subtitle" id="pau_9781319320164_OE095vIoYe" role="doc-subtitle">vvvv</p></header><p>xx x x </p><asidearia-label="title 1" id="pau_9781319320164_ZlmiNne2H7"><dlid="pau_9781319320164_7dTSlips4L"><dtepub:type="glossterm" id="pau_9781319320164_v1QvM1B38S" role="term"><dfnepub:type="keyword" id="pau_9781319320164_0PAWabeaCo"><strongid="pau_9781319320164_lP7z1wKu5H">xxx</strong></dfn></dt><ddepub:type="glossdef" id="pau_9781319320164_Q1rhWy5r6m" role="definition">xxxxx</dd></dl></aside><pid="pau_9781319320164_tVyFERKaep">xxxxx</p><pid="pau_9781319320164_qA52YrpES0">xxxxx</p></aside></section><sectiondata-cfititle="The Short-Run Phillips Curve" id="pau_9781319320164_kcGllgUg6M"><headerid="pau_9781319320164_tWpR30QfDA"><h3id="pau_9781319320164_qnVaKWh8th">xxxx</h3></header><pid="pau_9781319320164_bKAS9xR6bY">xxxxx</p><asidearia-label="title 2" id="pau_9781319320164_PF7qSXInKE"><dlid="pau_9781319320164_mbaPK7n49O"><dtepub:type="glossterm" id="pau_9781319320164_KQyh2AouAA" role="term"><dfnepub:type="keyword" id="pau_9781319320164_KV3vvrtNXv"><strongid="pau_9781319320164_kMD8vniR2C">xxxxX</strong></dfn></dt><ddepub:type="glossdef" id="pau_9781319320164_KSRUKyHpXS" role="definition"><strongid="pau_9781319320164_9OmJt0IfUS">xxxx</strong></dd></dl></aside><pid="pau_9781319320164_YAGo1TnNfH">xxxxxx</p></section><sectiondata-cfititle="Inflation Expectations and the Short-Run Phillips Curve" id="pau_9781319320164_Uf4vjnlkBf"><headerid="pau_9781319320164_CLVvZ6JREz"><h3id="pau_9781319320164_HEzbgiR24s">xxxxx</h3></header><asidearia-label="title 3" id="pau_9781319320164_6SQI47RV0g"><dlid="pau_9781319320164_zzN01Fsy61"><dtepub:type="glossterm" id="pau_9781319320164_t42K734LmP" role="term"><dfnepub:type="keyword" id="pau_9781319320164_CcvDHPmD67"><strongid="pau_9781319320164_x4WUUW39RH">xxxxx</strong></dfn></dt><ddepub:type="glossdef" id="pau_9781319320164_XhXnHBqFbA" role="definition">xxxxx</dd></dl></aside><pid="pau_9781319320164_To2z4ZIIqL">xxxxx</p></section><sectiondata-cfititle=">> Check Your Understanding 16-2" id="pau_9781319320164_ZhwbFF79zD" role="doc-example"><headerid="pau_9781319320164_2ELT05gm68"><h3epub:type="title" id="pau_9781319320164_6WPfJajSzt">>> <iid="pau_9781319320164_uEO3JOdfqv">xxxxx</i></h3></header><olid="pau_9781319320164_uxmlm0PWpT"><lidata-answer="kru_9781319245269_EM_soul.xhtml#pau_9781319320164_GnRFvZoTEb" data-converted="1" epub:type="question" id="pau_9781319320164_6NAVHC2Q24">xxxxx
</li></ol></section></section></body></html>
Trying to seek some understanding on this rule. I am aware that using hgroup would resolve this but I am not sure if this rule is not incorrect or not.
Thanks,
Franco
Hello,
I have observed that the following errors get flagged when there is an
asidewith aheaderthat is a child of asectionthat also has aheader:Learn about: ARIA
Document has more than one banner landmark
Ensure the document has at most one banner landmark
Document should not have more than one banner landmark
Here is the HTML for the document in question. The errors are flagged for the header of aside.
Here is a file with
asidewithheaderchild that does not trigger these errors:Trying to seek some understanding on this rule. I am aware that using hgroup would resolve this but I am not sure if this rule is not incorrect or not.
Thanks,
Franco