- From: Joseph Scheuhammer <clown@alum.mit.edu>
- Date: Fri, 11 Jul 2014 16:47:45 -0400
- To: w3c-wai-pf@w3.org, W3C WAI Protocols & Formats <public-pfwg@w3.org>, James Nurthen <james.nurthen@oracle.com>
Received on Friday, 11 July 2014 20:48:13 UTC
James,
During last week's PF caucus call (Jul 7) , you raised a potential
problem with regard to a recursive aria-labelledby in tables. I've made
an example for testing; find attached.
I think you were asking what happens if a <td> uses aria-labelledby to
reference both its column and row headers, and the row header, in turn,
uses aria-labelledby to reference its column header: whether the name
calculation for the cell visits the column header twice -- once
directly, and once via the row header's aria-labelledby? Does the
attached markup capture your question (the raw html is given below)?
<html>
<body>
<table border tabindex="0">
<thead>
<tr>
<th id="col1">Column One</th>
<th id="col2">Column Two</th>
</tr>
</thead>
<tbody>
<tr>
<th id="row2" aria-labelledby="col1">Row 2</td>
<td aria-labelledby="row2 col2">R2 C2</td>
</tr>
<tr>
<th id="row3" aria-labelledby="col2">Row 3</td>
<td aria-labelledby="row3 col2">R3 C2</td>
</tr>
</tr>
</tbody>
</table>
</body>
</html>
--
;;;;joseph.
'Array(16).join("wat" - 1) + " Batman!"'
- G. Bernhardt -
Received on Friday, 11 July 2014 20:48:13 UTC