You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started testing one of my sites
and it turns out there's an issue with a link having no href attribute. Or does
that mean it's an a tag that has no href attribute?
It's a confusing error – could it be elaborated upon?
The text was updated successfully, but these errors were encountered:
Yes, it means an a tag without an href. If I had to guess, this line is throwing Proofer off: <a href="{{ site.github.repository_url }}" class="github">GitHub </a>
Interesting use case. Since the metadata doesn't exist, it renders as href="". You could add data-proofer-ignore to skip it, but I wonder if that's too heavy handed a solution. You or @benbalter have any ideas?
Regardless, since we do now check link tags, I'll update the message to make it clear this is for an anchor.
I just started testing one of my sites
and it turns out there's an issue with a
link
having nohref
attribute. Or doesthat mean it's an
a
tag that has nohref
attribute?It's a confusing error – could it be elaborated upon?
The text was updated successfully, but these errors were encountered: