1. Home
  2. Docs
  3. SiteLint
  4. Accessibility Rules
  5. links-same-content-different-url

links-same-content-different-url

Print this article

    Description

    This rule determines if there are links that points to the same location, but having same content.

    Examples of incorrect code for this rule:

    <a href="https://www.sitelint.com/about-us/">About us</a>
    <a href="https://www.sitelint.com/different-location/">About us</a>

    Examples of correct code for this rule:

    <a href="https://www.sitelint.com/about-us/">About us</a>
    <a href="https://www.sitelint.com/different-location/">Different location</a>

    How to fix it

    Ensure that links with the same description points to the same location.

    Known Limitations

    Not Applicable

    Was this article helpful to you? Yes No