Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upInclusion of table rows in focus ancestry causes extraneous information to be reported #482
Comments
This comment has been minimized.
This comment has been minimized.
|
Comment 1 by jteh on 2009-11-27 04:14 |
This comment has been minimized.
This comment has been minimized.
|
Comment 2 by mdcurran on 2009-11-27 06:29 |
This comment has been minimized.
This comment has been minimized.
|
Comment 3 by jteh on 2009-11-27 06:33 Grids/treegrids can set focus to both rows and cells. When they set focus to a row, they expect the whole row to be spoken. This will still work, as we don't use isPresentableFocusAncestor for the focus itself. |
This comment has been minimized.
This comment has been minimized.
|
Comment 4 by mdcurran on 2009-11-27 06:35 |
This comment has been minimized.
This comment has been minimized.
|
Comment 5 by jteh on 2009-11-27 08:05 |
Reported by jteh on 2009-11-27 04:13
In real Mozilla tables in Firefox 3.6 and later, the parent of table cells is a row object. This row's name is a concatenation of the text content from all child cells. The reason for this is that in ARIA grids/treegrids, the row itself can gain focus and the entire row should be reported in that case. Unfortunately, this causes redundant information to be reported by NVDA when the row is a focus ancestor, as in the following examples:
In both of these cases, cell coordinates are reported by the cell, so the row really should not be presented in the ancestry.
Unfortunately, there are also cases where rows are used outside of real tables; e.g. the recipient address fields in Thunderbird's message composer. In this case, we do want the row to be presented because it includes position information which won't be reported by the cells (because they aren't real table cells).
There are three possible solutions:
Note that I have implemented code for solutions 2 and 3, so it's just a matter of which we prefer, if any.