` is unnecessary, and should just be `
`. There are cases when a particular landmark role can be used more than once on a page, for example, primary and secondary blocks of navigation. In these cases, identical roles should be labeled using a valid technique for labelling regions. It is a best practice to include all content on the page in landmarks, so that screen reader users who rely on landmarks to navigate from section to section do not lose track of content. ## Examples ### Example 1: Simple landmarks The following example shows how landmarks might be added to an HTML document: ```
site logo and name, etc. here
search functionality here
the page's main content here
a sponsor's promotion here
site contact details, copyright information, etc. here
``` ### Example 2: Multiple landmarks of the same type and aria-labelledby The following example shows a best practice of how landmarks might be added to an HTML document in situations where there are two or more of the same type of landmark on the same page. For instance, if a `nav` element is used multiple times on a page, each instance may have a unique label specified using `aria-labelledby`: ``` ``` ### Example 3: Multiple landmarks of the same type and aria-label The following example shows a best practice of how landmarks might be added to an HTML document in situations where there are two or more of the same type of landmark on the same page, and there is no existing text on the page that can be referenced as the label: ``` ``` ## Related Resources *No endorsement implied.* - [Using ARIA](https://www.w3.org/TR/using-aria/) - [ARIA in HTML](https://www.w3.org/TR/html-aria/) - [Accessible Name and Description Computation](https://www.w3.org/TR/accname/) - [Improving access to landmark navigation](https://www.tpgi.com/improving-access-to-landmark-navigation/) - [Landmarks browser extension](https://matatk.agrip.org.uk/landmarks/) ## Tests ### Procedure 1. Examine each HTML element that creates a [landmark role](https://www.w3.org/TR/wai-aria/#landmark_roles) . 2. Examine whether the correct element has been used to mark up content. For example: a `nav` element has been used to mark up a section with navigation links, or the `main` element is used to contain the page's main content. 3. If a landmark region needs to have an accessible name to be exposed as a landmark, check to see that there is an accessible name. ### Expected Results - Checks #1, #2, and #3 are true. Back to Top