Christophe Strobbe2022-05-14T18:39:40.86800000018PT21M55STest File for Simple Tables With or Without a Properly Marked Header Row2022-05-17T16:43:48.919000000Christophe StrobbeLibreOfficeDev/7.5.0.0.alpha0$Linux_X86_64 LibreOffice_project/54178896aba2ded7b57479dad435607b73dc89fa
Test File for Simple Tables With or Without a Properly Marked Header Row
Table with Header Row (Repeat First Row)
Average starting score
Average improved score
Images
35%
91%
This table is fine and the LibreOffice Accessibility Checker does not flag it.
After exporting the file to PDF (PDF/UA), the first row is tagged as a TR with tree TH elements. This is as expected.
When the PDF file is checked with PAC2021, there is an error for each TH element because the scope attribute is set to “None” instead of “Column”. This is a bug in LibreOffice’s PDF export.
Table with Table Heading Style in First Row (Repeat First Row not set)
Average starting score
Average improved score
Images
35%
91%
For this table, the LibreOffice Accessibility Checker should warn the author that the first row should be marked as a repeatable row in the Table Properties.
After exporting the file to PDF (PDF/UA), the first row is tagged as a TR with tree TH elements. This is good, even though it is not what was expected.
When the PDF file is checked with PAC2021, there is an error for each TH element because the scope attribute is set to “None” instead of “Column”. This is a bug in LibreOffice’s PDF export.
Table with Heading 2 Style in First Row (Repeat First Row not set)
Average starting score
Average improved score
Images
35%
91%
Error flagged by the LibreOffice Accessibility Checker: “Tables must not contain headings.” This error is justified.
After exporting the file to PDF (PDF/UA), the first row is tagged as a TR with tree TD elements, each of which contains a H2 element. This is as expected: Heading x styles should not be used to mark table headings.
When the PDF file is checked with PAC2021, no errors are reported for this table. This is a shortcoming of PAC2021, which is outside the scope of LibreOffice.