So, this allows screen readers to deal with tables correctly (for
example, to read from right to left) and to have the same code not
depending on direction?

Alex.


On Thu, May 7, 2009 at 3:36 PM, Eitan Isaacson <[email protected]> wrote:
> As a RTL user...
>
> I believe it should return the logical ordering, meaning
> IAccessibleTable::accessibleAt(0, 0) should always return cell1.
>
> On Thu, May 7, 2009 at 10:21 AM, Alexander Surkov
> <[email protected]> wrote:
>> Hi.
>>
>> Just to ensure. Are indexes used in IAccessibleTable calculated from
>> left to right always and they do not depend on table direction. So if
>> we have HTML table
>>
>> <table>
>>  <tr>
>>    <td>cell1</td><td>cell2</td>
>>  </tr>
>> </table>
>>
>> which is rendered as
>>
>> |------------------|
>> | cell1 | cell2 |
>> |------------------|
>>
>> with ta...@dir="ltr"
>>
>> and
>>
>> |------------------|
>> | cell2 | cell1 |
>> |------------------|
>>
>> with ta...@dir="rtl"
>>
>> then IAccessibleTable::accessibleAt(0, 0) returns "cell1" for 1th
>> table and "cell2" for 2nd table, table-cell-index object attribute on
>> cell1 of 1th table is 0, table-cell-index on cell2 of 2nd table is 0.
>> Is it correct?
>>
>> Alex.
>> _______________________________________________
>> Accessibility-ia2 mailing list
>> [email protected]
>> https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
>>
>
_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

Reply via email to