Re: aria-rowindex and aria-colindex

On 2015-01-13 1:14 PM, Alexander Surkov wrote:
> My question was whether we really need rowindex/colindex on gridcells 
> and shouldn't be they defined on rows instead?

"Really need"?  Probably not.  I suspect it's a matter of convenience:  
If you have a reference to the cell, and it can provide the row/col, 
you're done.  Otherwise, you have to walk the tree to find the relevant 
row that provides that information.

The same sort of quick access applies in the case of aria-setsize. 
You're right that aria-setsize looks like a property of a list, not a 
item within the list.  But, again, the code avoids the step of walking 
the tree to determine the relevant ancestor that holds the set-size 
information if the item has that info at hand.

-- 
;;;;joseph.

'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -

Received on Tuesday, 13 January 2015 18:25:13 UTC