When generating with `--pdf-profile=PDF/UA-1` option, I am getting
which I have traced down to the first row of a set of nested headers in my HTML.
By nested headers I mean like:
Following the advice at https://developer.mozilla.org/en-US/docs/Learn/HTML/Tables/Advanced#the_scope_attribute I added some initially missing `scope="colgroup"` attributes which I believe give it all the required semantic structure those headings should need.
But the following snippet still triggers the original Prince error above, ultimately leading to an additional
unless I comment out/remove the first header row!
This seems like a bug to me, no? Or are my table semantics actually still incorrect?
prince: error: table header cell has no associated subcells
which I have traced down to the first row of a set of nested headers in my HTML.
By nested headers I mean like:
| appendages | nutritional intake |
|-------------------|------------------------|
| arms | legs | breakfast | dinner |
|------|------------|------|------------|-----------|
| dogs | 0 | 4 | kibble | leftovers |
| cats | 0 | 4 | early bird | mouse |
| kids | 2 | 2 | waffles | casserole |
Following the advice at https://developer.mozilla.org/en-US/docs/Learn/HTML/Tables/Advanced#the_scope_attribute I added some initially missing `scope="colgroup"` attributes which I believe give it all the required semantic structure those headings should need.
But the following snippet still triggers the original Prince error above, ultimately leading to an additional
error: not identifying as PDF/UA-1 due to problems in structure tree
unless I comment out/remove the first header row!
<thead>
<tr> <!-- if I remove this row the error goes away -->
<td rowspan="2" class="empty-spot"></td>
<th colspan="2" scope="colgroup">appendages</th>
<th colspan="2" scope="colgroup">nutritional intake</th>
</tr>
<tr>
<th>arms</th>
<th>legs</th>
<th>breakfast</th>
<th>dinner</th>
</tr>
</thead>
This seems like a bug to me, no? Or are my table semantics actually still incorrect?