Text not included in an ARIA landmark
-
I have the plugin set to add aria attributes. Siteimprove flags every one of my pages with “Text not included in an ARIA landmark”. I don’t understand why, since I can see in the code that landmarks are added, especially main:
div id=”main-content” tabindex=”-1″ role=”main”Wondering if you think this is a false positive, or if something else might be going on?
I tried adding another main role to et-main-area, but then the Axe plugin yells at me because “main landmark should not be contained in another landmark.”
I know that aria landmarks are a best practice and not required for WCAG, but I’d like to make sure my landmarks are correct and don’t want to confuse users who use screen readers. Thanks for any suggestions.
- The topic ‘Text not included in an ARIA landmark’ is closed to new replies.