link.href.exists
- Default
- error
- Plugin
link
A link has an href attribute.
Why: An <a> without href is not a link, so search engines do not follow it, and keyboards cannot reach it.
When off: links without href pass.
<!-- ✗ Fails -->
<a onclick="go()">Menu</a>
<!-- ✓ Passes -->
<a href="/menu/">Menu</a>
References
- Google: Link best practices: Google can only reliably crawl
<a>elements with anhref.