Aside (complementary) landmark should be top-level or directly inside main

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

Aside (complementary) landmark should be top-level or directly inside main.

The complementary landmark (aside) should be top-level or a direct child of main. Nesting aside deep within other landmarks reduces its discoverability for screen reader users navigating by landmarks.

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

Introduced in @accesslint/core v0.8.0