Region Landmark
A region
landmark is a perceivable section containing content that is relevant to a specific, author-specified purpose and sufficiently important that users will likely want to be able to navigate to the section easily and to have it listed in a summary of the page.
ARIA 1.1 Specification: region
landmark
Design Patterns
- A
region
landmark must have a label. - If a page includes more than one
region
landmark, each should have a unique label. - The
region
landmark can be used identify content that named landmarks do not appropriately describe.
A role="region"
attribute is used to define a region
landmark.
ARIA Example: Using section[aria-labelledby]
attribute
<div role="main">
<h1>title for main content area<h1>
<div role="region" aria-labelledby="region1">
<h2 id="region1">title for region area 1</h2>
... content for region area 1 ...
</div>
<div role="region" aria-labelledby="region2">
<h2 id="region2">title for region area 2</h2>
... content for region area 2 ...
</div>
</main>
<h1>title for main content area<h1>
<div role="region" aria-labelledby="region1">
<h2 id="region1">title for region area 1</h2>
... content for region area 1 ...
</div>
<div role="region" aria-labelledby="region2">
<h2 id="region2">title for region area 2</h2>
... content for region area 2 ...
</div>
</main>