<a href="/x"></a>
- Anchor text Google can use
- None
- Fix needed?
- Yes
An empty anchor text warning means a link has no visible text, image alt or label. See what Google documents, how to find the links, and how to fix each case.
Empty anchor text means a link has no text for Google or users to read. Google's link guidance lists an empty <a> as bad anchor text, uses an image's alt attribute as anchor text for image links, and can fall back to the title attribute. The fix is to add descriptive text, an image alt, or an accessible name.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
<a href> element has nothing a crawler can read as its label. Google's link guidance shows the case directly, <a href="https://example.com"></a>, as "Bad (empty link text)". It explains that anchor text tells people and Google something about the page being linked to and sets expectations for readers.<a href="/x"></a><a href="/x"><img src="a.png"></a> with no alt, or alt=""<a href="/x"><img src="a.png" alt="Pricing"></a><a href="/x" title="Pickling guide"></a><a href="/x"><svg>...</svg></a><a href="/x">Click here</a>How serious is it? For search, the loss is context: that link gives Google no description of its target. For people, it is an accessibility failure. WCAG success criterion 2.4.4 asks that the purpose of each link can be determined from the link text alone or with its programmatic context, and W3C's failure F89 covers an image-only link with no accessible name. Fix empty links on navigation and calls to action first. For visible labels such as Read more, use the generic anchor text guide.
[...document.querySelectorAll('a[href]')].filter(a =>
!a.textContent.trim() &&
!a.querySelector('img[alt]:not([alt=""])') &&
!a.getAttribute('aria-label') &&
!a.getAttribute('title')
).map(a => a.outerHTML.slice(0, 120))The snippet skips links that have an aria-label or title. Google documents the title fallback; it does not document how it treats aria-label, so add visible text or an image alt where you can rather than relying on it for search.
Filter outlinks for empty or missing anchor text. The export shows the source page, the target and the link position, such as header or footer.
Most empty anchors come from a few components: a logo link, social icons, card wrappers or a slider arrow. Fix the component, not each page.
Run the snippet below in DevTools on a representative page to list the empty links.
aria-label (W3C lists aria-label among its link-purpose techniques for SC 2.4.4), that names the destination, for example "Pricing" or "Acme on LinkedIn"<a> from an editor<a> elements without an href, so a tool that skips it is reasonable; if it has an href, label it<!-- Before -->
<a href="/pricing"><img src="tag.svg"></a>
<!-- After -->
<a href="/pricing"><img src="tag.svg" alt="Pricing"></a>Google's guidance for good anchor text is "descriptive, reasonably concise, and relevant to the page that it's on and to the page it links to". Do not stuff keywords into it. For wording rules, see anchor text; for the image case, see missing alt text.
4 questions people ask next, answered from the sources on this page.
A link with no readable label: an a element with no text, or an image link with no alt. Google's link documentation calls an empty link element bad anchor text.
Google's link documentation describes no penalty. The loss is context, since the link gives Google no description of the target page. It also fails accessibility guidance for link purpose.
Google's documentation says it can use the title attribute as anchor text as a fallback if the a element is for some reason empty. Visible text is still the better fix.
Google says that for images as links it uses the alt attribute of the img element as anchor text, so an image link needs descriptive alt text.
Run the free audit, then approve the fixes. Every change can be undone.