Use meaningful button and link names

Updated

Use meaningful, descriptive names to make the purpose of button and links clear to site visitors.

Screen readers can give visitors an overview of all the links on a page. When links are read out of context in a list, it’s important they tell site visitors what the link is and where it takes them.

Best practices

Don’t:

  • Embed links in generic terms like “learn more,” “this page,” or “click here”
  • Use raw URLs as hyperlinks

Do:

  • Embed links in clear, specific language that tells people where the link will take them and why they might want to go there (e.g., “Check out WebAIM's article on links.”)
  • Indicate if a link will open high-bandwidth media like a PDF or video within the linked text

WCAG Reference: Success Criterion 2.4.4: Link Purpose (In Context), Success Criterion 2.4.9: Link Purpose (Link Only)