Page should have exactly one main landmark

landmarks/landmark-main · Best practice

Page should have exactly one main landmark.

The main landmark contains the primary content of the page. Screen readers allow users to jump directly to main content. Use a single <main> element (or role='main') to wrap the central content, excluding headers, footers, and navigation.

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

Introduced in @accesslint/core v0.8.0