CodeZettaInterview Hub

HTML · Semantics · Junior · Concept

Why is a single <main> landmark important?

Short Interview Answer

It marks the primary content once per page so AT users can skip chrome.

Detailed Explanation

Screen readers expose landmarks. Multiple mains confuse navigation. Hide repeated chrome outside main. Pair with skip links for keyboard users.

Did you know this answer?