Accessibility/Accessible Table Implementation: Difference between revisions

Jump to navigation Jump to search
Line 52: Line 52:
*  getAccessibleAt(0, 0) returns the top-left cell, even if it is marked as a header in the HTML source.
*  getAccessibleAt(0, 0) returns the top-left cell, even if it is marked as a header in the HTML source.
* getIndexAt(0,0) returns the child index under the table accessible of the top-left cell. Again, row and column headers are fetched using this method.
* getIndexAt(0,0) returns the child index under the table accessible of the top-left cell. Again, row and column headers are fetched using this method.
* getColumnHeader(n) returns the accessible of the table cell in the first row of the given column '''no matter what tag it is or what attributes it has'''. getRowHeader(n) returns nothing, at least when row headers are marked with <th>.  
* getColumnHeader(n) returns the accessible of the table cell in the first row of the given column '''no matter what tag it is or what attributes it has'''. getRowHeader(n) returns nothing, at least when row headers are marked with <th>. When there are TH cells or header attributes that point to TD cells with id attributes referenced by the header attributes, FF should return these header cells in the getColumnHeader(n) or getRowHeader(n) calls. Testcases:[http://www.w3.org/WAI/UA/TS/html401/cp1001/1001-TD-HEADERS.html] [http://www.w3.org/WAI/UA/TS/html401/cp0909/0909-TABLE-HEADER.html]* getRowDescription(n), getColumnDescription(n) always return an empty string.
* getRowDescription(n), getColumnDescription(n) always return an empty string.
* getRowExtentAt(r,c) and getColumnExtentAt(r,c) return the appropriate extents for all row and column offsets falling in the same cell.
* getRowExtentAt(r,c) and getColumnExtentAt(r,c) return the appropriate extents for all row and column offsets falling in the same cell.
* For cells with extents:
* For cells with extents:
1

edit

Navigation menu