link.href.empty
- Default
- error
- Plugin
link
A link href is not empty.
Why: An empty href points back to the same page, which is almost always a template bug.
When off: empty links pass.
<!-- ✗ Fails -->
<a href="">Menu</a>
<!-- ✓ Passes -->
<a href="/menu/">Menu</a>
References
- Google: Link best practices: Google crawls links by their
href, so an empty one leads nowhere.