Page should not have more than one main landmark
landmarks/no-duplicate-main · Best practice
Page should not have more than one main landmark.
Only one main landmark should exist per page. The main landmark identifies the primary content area. If you have multiple content sections, use <section> with appropriate headings instead of multiple main elements.
Scan a page or repo for issues like this · All rules
Introduced in @accesslint/core v0.8.0