WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Table regularity in PDF documents

for

From: Andrew Kirkpatrick
Date: Feb 10, 2014 11:50AM


Todd,
The first table should be fine. I'm using Acrobat 11.0.06 and I know that we did address an earlier bug that resulted in this error, so perhaps check for updates to Acrobat?
Thanks,
AWK

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Liko, Todd
Sent: Monday, February 10, 2014 1:36 PM
To: ' <EMAIL REMOVED> '
Subject: [WebAIM] Table regularity in PDF documents

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