Link accessible name is unclear
| Field | Value |
|---|---|
| Rule code | Link_Name_WeakName |
| WCAG conformance level | A |
| WCAG success criterion | 2.4.4 Link Purpose (In Context) |
| Must be fixed at source | No |
Description
We found a link with an unclear accessible name. Links typically contain link text but the accessible name can also come from ARIA attributes. If the link is intended to be an image link (a link with an image as it's content and without link text), then it is acceptable for the contained image to include a suitable replacement for the link text via the image's alt attribute. A link without a clear and concise accessible name does not convey its functionality or destination efficiently to assistive technologies. Avoid using generic or repeatable terms in the link's accessible name.
How to fix
Avoid "read more" or "click here" link names:
<a href="/locations">Click here</a> for locations near you.
Use a unique, descriptive name for each link:
Find <a href="/locations">locations</a> near you.