-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link checker triggered on <a name="..."> and <a id="..."> #819
Comments
Curiously, The single |
Thanks for the quick reply. I only quoted the
In the sense of not showing the warning for To provide context: running html-proofer on my project as-is results in about 2000 failures, by far the most are "'a' tag is missing a reference" messages - I'd guess that at most five of those are actually missing |
Cheers, I've hit this issue as well, with Per https://www.w3schools.com/tags/tag_a.asp this is valid, the It seems that the |
To answer the additional question above, at least with htmlproofer 3.14.1 (as available in the Ubuntu 22 that I have under hand), and command-line tool usage, the option did not help:
A variant of the page is available at https://networkupstools.org/protocols/apcsmart.html and links like https://networkupstools.org/protocols/apcsmart.html#R do work in a browser to jump to referred parts of the table etc. |
Curiously, I haven't seen complaints about But given that the current release is 5.0.9, maybe that complaint just appeared "too recently" :) |
UPDATE: With a custom-built 5.0.9, it seems to mostly like the existing file (at least, WRT the internal hash links). |
I'm new to web page building and am using Jekyll to build static .html from Markdown. This project seems to be the perfect match to check the links in the resulting files. And it found ... way too many (v5.0.8, installed via
gem
).In particular, consider the generated HTML:
Here html-proofer tells me:
The same is true for <a name="ipsum">Ipsum</a>.
Although the W3C validator sees no issue with this usage. The mdn web docs state on name/id attributes:
In Issue #746 it was stated that one should rather err on the cautious side with empty href="" tags, and I can see that. However, there is a valid use for <a> without
href
attribute altogether -- if and only if at least one of thename
orid
attributes are present.The text was updated successfully, but these errors were encountered: