Confirmed users
1,396
edits
(→Text) |
(→Tables) |
||
| Line 740: | Line 740: | ||
===Tables=== | ===Tables=== | ||
A cell of tables and grids provide the interface for 2 dimensional navigation. Cell headers can be obtained by <code>labelledby</code> relation. | |||
<pre> | |||
interface AccessibleTableCell { | |||
readonly attribute AccessibleElement? table; | |||
readonly attribute unsigned long rowIndex; | |||
readonly attribute unsigned long colIndex; | |||
readonly attribute unsigned long rowSpan; | |||
readonly attribute unsigned long colSpan; | |||
}; | |||
</pre> | |||
<code> | |||
AccessibleTableCell .''table'' | |||
::Return table accessible element for the cell. | |||
</code> | |||
<code> | |||
AccessibleTableCell .''rowIndex'' | |||
::Return row index of the cell. | |||
AccessibleTableCell .''colIndex'' | |||
::Return column index of the cell. | |||
</code> | |||
<code> | |||
AccessibleTableCell .''rowSpan'' | |||
::Return number of rows that the cell is spanned to. | |||
AccessibleTableCell .''colSpan'' | |||
::Return number of columns that the cell is spanned to. | |||
</code> | |||
<div id="JSSource"> | <div id="JSSource"> | ||
==JS accessible tree== | ==JS accessible tree== | ||
</div> | </div> | ||