What this checks
This counts the H1, H2 and H3 elements on the page, reads the text of the first H1, and reports the outline. A second check walks the headings in document order and flags level jumps, an H2 followed directly by an H4, and headings that contain no text at all, which is what happens when a heading tag is used to make something look big.