` that is never
closed and leaks its wrapper over the rest of the page.
- **Empty table header cells** (`empty-table-header`).
Screen readers announce a header cell with no text as an unnamed column or row.
The check covers the header row of Markdown pipe tables and every `
` in raw HTML tables, after decoding entities and trimming whitespace, so ` | | `, `| |`, and `
| ` are reported.
An entity inside a code span is literal text, so `` ` ` `` counts.
Markdown between the HTML blocks of a `
` counts as its text, and so do an image's alt text, an autolink, and a code block.
Each finding names the table by its first non-empty header.
For the top-left corner of a matrix, name what the row headers hold, such as `Permission`.
## How it works
Each file is parsed with [goldmark](https://github.com/yuin/goldmark) and only
raw-HTML nodes are inspected, so angle brackets inside fenced code blocks,
inline code spans, HTML comments, and `` / `` autolinks
are ignored. Each raw-HTML node is tokenized as a whole with
`golang.org/x/net/html`, so a tag whose attributes wrap across lines is not
torn in half. A tag whose raw name is capitalized is reported as a component
reference; otherwise any name outside the standard HTML5 element set (plus the
intentional `` renderer component, which is still balance-checked) is
reported. Inline SVG and MathML are intentionally **not** in the allowed set (no
docs page uses them); add the element to `allowedElements` in `main.go` if that
changes. A finding on a generated page under `docs/reference/**` also prints a
note pointing at the generator source, since edits to the generated file do not
persist.
The table check parses the same file a second time with goldmark's table extension.
It reads the header row of each pipe table from the parsed cells, and follows ` |