Contentinfo landmark should not be nested within another landmark

landmarks/contentinfo-is-top-level · Best practice

Contentinfo landmark should not be nested within another landmark.

The contentinfo landmark should be a top-level landmark. A footer inside article, aside, main, nav, or section becomes a scoped footer, not a contentinfo landmark. Remove explicit role='contentinfo' from nested footers or move the footer outside sectioning elements.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0