Re: aria-rowindex and aria-colindex

Hi all.

On 01/28/2015 03:28 PM, Dominic Mazzoni wrote:

> The use-case I had in mind was more like this, where the entire table
> isn't rendered, and the rows or columns that are rendered are a subset
> of the virtual set of all rows and columns.
> 
> <table>
>   <caption>Showing columns 24 through 26</caption>
>   <thead>
>     <th aria-colindex=24>X</th>
>     <th aria-colindex=25>Y</th>
>     <th aria-colindex=26>Z</th>
>   </thead>
>   <tbody>
>     <tr>
>       <td aria-colindex="24">Xylophone</td>
>       <td aria-colindex="25">Yak</td>
>       <td aria-colindex="26">Zebra</td>
>     </tr>
>   </tbody>
> </table>

And that's the same sort of thing I was picturing. As such, I think that
(as you've done in your use case), aria-colindex needs to be a property
of the cell; not of the row.

Where would you put aria-rowindex? On the row element or the cell
element? I myself cannot think of a reason to have authors duplicate it,
but there may be one.

--joanie

Received on Wednesday, 28 January 2015 21:07:37 UTC