WebAIM - Web Accessibility In Mind

E-mail List Archives

Table regularity in PDF documents

for

From: Liko, Todd
Date: Feb 10, 2014 11:36AM


Hello all.

I have a table with 3 columns and 5 rows. In the header row, the second headers spans 2 columns. Initially, it was tagged as:

<table>
<caption>
<tr>
<th>
<th> (with a colspan property of 2)
<tr>
<td>
<td>
<td>

When tagged this way, the Acrobat full check and PAC 2.0 check reports an error with table regularity - to be expected.

When tagged as:

<table>
<caption>
<tr>
<th>
<th> (with a colspan property of 2)
<td> (added for regularity)
<tr>
<td>
<td>
<td>

The Acrobat full check reports no errors while PAC reports a warning with possible issue with regularity.

So, am I to understand the second method is the correct, but it seems wrong to me to have to add the third <td> tag.

_______
Todd Liko
Communications Advisor | Conseiller en communications
Web Services | Services Web
Communications and Marketing | Communications et Marketing
427 Avenue Laurier Avenue West (AEAD), Ottawa ON K1A 0N5
427 Avenue Laurier Ouest (AEAD), Ottawa (Ontario) K1A 0N5
e-mail / courriel: <EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
telephone / téléphone: (613) 949-9425 | fax / télécopieur: (613) 949-2386
Government of Canada | Gouvernement du Canada