Skip to content

Releases: wjdp/htmltest

v0.0.2

10 Nov 19:31
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release
Adjust opts,

change string slices to interface slices to play nice with user input

v0.0.1

04 Nov 02:57
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

What is it

Proofs your html files:

  • Scans a directory, parses all html documents
  • Runs checks on matching html nodes (a, img, link, script)
  • Checks internal and external links (href and src)
  • Correctly resolves internal absolute and relative links
  • Checks images have alt tags
  • Complains about mixed content if asked to
  • Ignores nodes in pre and code, ignores tags marked with data-proofer-ignore.
  • Some other other little things

Usage

htmltest path/to/directory

The path given is assumed to be the root of all internal absolute URLs.