You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a <header> or <footer> element appears inside of a <main> element (with implicit role=main), the extension (correctly) does not consider it a landmark.
When a <header> or <footer> element appears inside of a <div> element with explicit role=main, the extension incorectly consisders it a banner/contentinfo landmark.
According to ARIA in HTML, the <footer> element's implied semantics are:
If not a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region then role=contentinfo
Otherwise, role=generic
(Similar language appears for the <header> element.)
When a
<header>
or<footer>
element appears inside of a<main>
element (with implicitrole=main
), the extension (correctly) does not consider it a landmark.When a
<header>
or<footer>
element appears inside of a<div>
element with explicitrole=main
, the extension incorectly consisders it abanner
/contentinfo
landmark.According to ARIA in HTML, the
<footer>
element's implied semantics are:(Similar language appears for the
<header>
element.)With this test code:
… there should be 3 landmarks:
div
with explicitrole="main"
)div
with explicitrole="banner"
)div
with explicitrole="contentinfo"
)Additionally, even if I explicitly assign
role=none
to the<header>
or<footer>
, they are still identified as landmarks:The text was updated successfully, but these errors were encountered: