- From: Alexander Surkov <surkov.alexander@gmail.com>
- Date: Wed, 18 Mar 2015 15:35:55 -0400
- To: Joseph Scheuhammer <clown@alum.mit.edu>
- Cc: Joanmarie Diggs <jdiggs@igalia.com>, Dominic Mazzoni <dmazzoni@google.com>, PF <public-pfwg@w3.org>, Richard Schwerdtfeger <schwer@us.ibm.com>
- Message-ID: <CA+epNsd5uB8Y2H-0W3UBLQEOd7PkbyZyW7S7_X6bu7E4qivVUw@mail.gmail.com>
It should be doable.
On a side note, I suggested earlier to ignore aria-colindex everywhere but
on the first row because there's no point for the author to dupe it through
all rows too.
On Wed, Mar 18, 2015 at 3:23 PM, Joseph Scheuhammer <clown@alum.mit.edu>
wrote:
> On 2015-03-18 1:38 PM, Joanmarie Diggs wrote:
>
>> Hi all.
>>
>> I'm going through all the messages again as I work on a branch for group
>> review.
>>
>> Regarding this:
>>
>> On 03/10/2015 03:16 PM, Dominic Mazzoni wrote:
>>
>> >I understand there are cases where it's necessary to put aria-rowcount
>>> >on each cell,
>>>
>> What is such a use case? I think the index properties belong on the
>> cell; at the moment, I cannot think of a case where the count properties
>> do. And this:
>>
>> >but that's a lot of bloat to add it to every cell most of
>>> >the time. Can we allow it to be placed on the row or table/grid element
>>> >itself and be inherited, for example:
>>> >
>>> ><table role="grid" aria-colcount="16">
>>> > <tr role="row">
>>> > <td role="gridcell" aria-colindex="5">A</td>
>>> > <td role="gridcell" aria-colindex="6">B</td>
>>> > <td role="gridcell" aria-colindex="7">C</td>
>>> > <td role="gridcell" aria-colindex="8">D</td>
>>> > </tr>
>>> >...
>>> ></table>
>>>
>> Seems reasonable to me.
>>
>> --joanie
>>
>
> If @aria-colindex declares the actual index of the columns present in the
> DOM, and there are no gaps, then all that is needed is the first index.
> The rest are implied as sequential:
>
> <table role="grid" aria-colcount="16">
> <tr role="row">
> <td role="gridcell" aria-colindex="5">A</td>
> <td role="gridcell">B</td>
> <td role="gridcell">C</td>
> <td role="gridcell">D</td>
> </tr>
> ...
> </table>
>
>
> B, C, and D cells have column indices of 6, 7, and 8, respectively.
>
> That would save space. Is it too much work for the browser to calculate?
> --
> ;;;;joseph.
>
> 'Array(16).join("wat" - 1) + " Batman!"'
> - G. Bernhardt -
>
>
Received on Wednesday, 18 March 2015 19:36:22 UTC