Landmark Elements
Major page regions MUST be wrapped in HTML landmark elements — <header>, <nav>, <main>, <aside>, <footer>, <section aria-labelledby>, <form aria-label> — so screen reader users can jump directly to any region.
$ prime install @community/rule-landmark-elements Projection
Always in _index.xml · the agent never has to ask for this.
LandmarkElements [rule] v1.0.0
Major page regions MUST be wrapped in HTML landmark elements —
Loaded when retrieval picks the atom as adjacent / supporting.
LandmarkElements [rule] v1.0.0
Major page regions MUST be wrapped in HTML landmark elements —
Severity
high
Required Landmarks
: page banner — appears once per page (not inside or : exactly one per page; wraps the primary content area : named sections within main
Anti Patterns
- Divs with class='nav' or class='main' — invisible to AT landmark navigation
- Multiple unlabeled
- Nesting
or
Loaded when retrieval picks the atom as a focal / direct hit.
LandmarkElements [rule] v1.0.0
Major page regions MUST be wrapped in HTML landmark elements —
Severity
high
Required Landmarks
: page banner — appears once per page (not inside or : exactly one per page; wraps the primary content area : named sections within main
Anti Patterns
- Divs with class='nav' or class='main' — invisible to AT landmark navigation
- Multiple unlabeled
- Nesting
or
Severity
high
Required Landmarks
: page banner — appears once per page (not inside or : exactly one per page; wraps the primary content area : named sections within main
Anti Patterns
- Divs with class='nav' or class='main' — invisible to AT landmark navigation
- Multiple unlabeled
- Nesting
or
Source
prime-system/examples/frontend-design/primes/compiled/@community/rule-landmark-elements/atom.yaml