link-checker icon indicating copy to clipboard operation
link-checker copied to clipboard

Support for checking links beside <a> elements

Open dontcallmedom opened this issue 5 years ago • 1 comments

The tool only looks for <a> tags at the moment. Would you be open to a pull request that would add support for checking other linked resources (images, stylesheets, scripts, etc)?

dontcallmedom avatar Jun 23 '20 07:06 dontcallmedom

First of all, sorry for the delay.

Good point, it totally makes sense! The question is what kind of check would you do for these kind of resources?
Just a HTTP Head request? I think it would be better than no support. For stylesheets we could improve the validation be checking the @import lines and also the src value of the @font-face declarations.

timaschew avatar Feb 15 '21 21:02 timaschew