# ember/template-no-duplicate-landmark-elements 💼 This rule is enabled in the 📋 `template-lint-migration` [config](https://github.com/ember-cli/eslint-plugin-ember#-configurations). If multiple landmark elements of the same type are found on a page, they must each have a unique label (provided by `aria-label` or `aria-labelledby`). ## Rule Details List of elements & their corresponding roles: - `header` (banner) - `main` (main) - `aside` (complementary) - `form` (form, search) - `nav` (navigation) - `footer` (contentinfo) ## Examples This rule **forbids** the following: ```hbs ``` ```hbs
``` ```hbs ``` ```hbs
``` This rule **allows** the following: ```hbs ``` ```hbs
``` ```hbs
``` ```hbs
Meaningful Form Title
``` ## References - [WAI-ARIA specification: Landmark Roles](https://www.w3.org/WAI/PF/aria/roles#landmark_roles) - [Understanding Success Criterion 1.3.1: Info and Relationships](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html) - [Using aria-labelledby to name regions and landmarks](https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA13.html) - [Using aria-label to provide labels for objects](https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA6)