aria_content_in_landmark flags skip links as content outside landmark #2134
Labels
engine
Issues in the accessibility-checker-engine component
user-reported
Issues identified outside of the core team
Describe the bug
The
aria_content_in_landmark
rule flags skip links as content outside a landmark. Skip links are not content and adding a needless landmark worsens the screen reader experience.To Reproduce
Steps to reproduce the behavior:
/document[1] /link[1]
is flagged for being outside a landmarkExpected behavior
/document[1] /link[1]
is not flagged for being outside a landmark. Perhaps the heuristic is to exclude the link from this rule if it is the first link in the DOM and its target is the main landmark.Desktop (please complete the following information):
Definition of Done
The text was updated successfully, but these errors were encountered: