Re: Action-1293 Proposal

Hi, Joanie. Answering inline.

On Wed, Mar 18, 2015 at 8:08 PM, Joanmarie Diggs <jdiggs@igalia.com> wrote:

> Hi Joseph, Alex, and all.
>
> Forgive me for combining messages, but since it's all flavors of the
> same issue....
>
> On 03/18/2015 03:23 PM, Joseph Scheuhammer wrote:
>
> > 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?
>
> What if there are gaps? Would you make everything explicit like this:
>
>    <div role="row">
>      <span role="gridcell" aria-colindex="3">Jane</span>
>      <span role="gridcell" aria-colindex="4">Jones</span>
>      <span role="gridcell" aria-colindex="5">Acme, Inc.</span>
>      <span role="gridcell" aria-colindex="9">555-1234</span>
>    </div>
>
> Or would you only indicate where the gaps are, like:
>
>    <div role="row">
>      <span role="gridcell" aria-colindex="3">Jane</span>
>      <span role="gridcell">Jones</span>
>      <span role="gridcell">Acme, Inc.</span>
>      <span role="gridcell" aria-colindex="9">555-1234</span>
>    </div>
>

these two should be equivalent, if aria-colindex is omitted then cell index
equals previous cell index + 1. If aria-colindex is lesser or equals to
previous colindex then it's ignored.


>
> On 03/18/2015 03:35 PM, Alexander Surkov wrote:
>
> > 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.
>
> What if we give Jane a colleague and toss in a row span, so that the
> explicit values would be:
>
>    <div role="row">
>      <span role="gridcell" aria-colindex="3">Jane</span>
>      <span role="gridcell" aria-colindex="4">Jones</span>
>      <span role="gridcell" aria-colindex="5" aria-rowspan="2">Acme,
> Inc.</span>
>      <span role="gridcell" aria-colindex="9">555-1234</span>
>    </div>
>    <div role="row">
>      <span role="gridcell" aria-colindex="3">John</span>
>      <span role="gridcell" aria-colindex="4">Smith</span>
>      <span role="gridcell" aria-colindex="9">555-1235</span>
>    </div>
>
> What would the resulting implicit/duplicate-free version look like?
>
>
This is a new scenario we didn't consider yet so far. I thought that only
continue set of rows or columns may be missed. So is it valid scenario when
each row can contain different subsets of missed rows?


Thanks!
> --joanie
>

Received on Thursday, 19 March 2015 01:42:50 UTC