How to fix error "Link Text Should be Unique"

Overview: Screen Recording 2022-09-12 at 02.57.55 PM

Key Takeaways:

  • Each link should have unique text

  • Should avoid generic text like "Learn More" or "Get Started", instead opt for more descriptive language like "View loan rates",  and "View Choice Checking"

  • aria-labels can be used in cases where generic text must be used - 

  • Span tags with the CSS class "sr-only" ("screen-reader-text" in legacy themes) can be used in cases where you don't have access to add an aria-label

  • It is acceptable for links with the same URL to have the same link text. This may still show as a false-positive if the URLs are formatted differently,e.g. vs /loans, these are the same link, and the redundancy is acceptable, though some scans may incorrectly report it as an error. If unsure, it's better to err on the side of caution

What to check:

  1. Does the page have more than one link with the same text? Ex: "Learn more"

  2. Do those links go to the same page? If not, their text should be revised to be more descriptive

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.