After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 530784 - whereAmI info for list items in web content needs to be improved
whereAmI info for list items in web content needs to be improved
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: speech
2.23.x
Other All
: Normal normal
: 2.26.3
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 404403
 
 
Reported: 2008-04-30 19:38 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2009-06-12 15:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
revision 1 (11.02 KB, patch)
2009-05-24 20:49 UTC, Joanmarie Diggs (IRC: joanie)
none Details | Review
revision 1 with trailing whitespace removed from regression test (10.98 KB, patch)
2009-05-24 20:59 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review
proposed patch (1.15 KB, patch)
2009-06-12 14:33 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2008-04-30 19:38:40 UTC
There are many different kinds of lists and list items in web content: form field lists, (un)ordered and definition lists (some of which have embedded object characters in them), lists of links used as navbars, ARIA and Dojo widgets, etc.  We need to specifically handle the various types.
Comment 1 Joanmarie Diggs (IRC: joanie) 2008-07-15 20:41:10 UTC
Initially I was planning on doing this in time for string announcement period.  Mike and I are meeting and in light of our total bug count, we agree that this bug is low priority.  Re-targeting to FUTURE.
Comment 2 Joanmarie Diggs (IRC: joanie) 2009-05-24 20:49:29 UTC
Created attachment 135280 [details] [review]
revision 1

When I looked at this issue, we're doing what is expected for most lists. The problem turned out to be:

1. If the list item has children (paragraphs, sections, etc.), we'd present the children but not the list item.

2. We were not presenting the level of a nested list.

This patch address both conditions and does so without introducing new strings (because we present nesting level already as part of structural navigation). So if it's deemed low risk, we could include it for 2.26.3. This patch also includes a new test case and regression test.

Will, please review. Thanks!
Comment 3 Joanmarie Diggs (IRC: joanie) 2009-05-24 20:59:39 UTC
Created attachment 135281 [details] [review]
revision 1 with trailing whitespace removed from regression test

Same silly patch. Git complained that I had trailing whitespace in my regression test file. <rolls eyes>
Comment 4 Willie Walker 2009-05-25 10:43:09 UTC
I think this looks fine and say commit to master and gnome-2-26.  The regression test change may cause some integration/merge issues when we integrate bug #570658, but it will be isolated to just that test and we can hopefully work it out.  Thanks!
Comment 5 Joanmarie Diggs (IRC: joanie) 2009-05-25 15:20:52 UTC
Thanks Will. I'm sure we can work out those changes. :-)

Patch committed to both master and the gnome-2-26 branch. Closing as FIXED.
Comment 6 Willie Walker 2009-06-12 11:05:15 UTC
The fix for this bug added this change, which has caused the text contents to stop speaking for the Where Am I operation in the To/CC/etc. fields of Thunderbird's mail composition window:

-            if obj.getRole() != pyatspi.ROLE_ENTRY:
-                return self._speakTableCell(cell, basicOnly)
+            if ancestor.getRole() == pyatspi.ROLE_TABLE_CELL:
+                if obj.getRole() != pyatspi.ROLE_ENTRY:
+                    return self._speakTableCell(ancestor, basicOnly)
+            else:
+                return self._speakListItem(ancestor, basicOnly) 

I'm reopening this bug because this needs to be addressed for gnome-2-26.  For whatever is done here to fix this for gnome-2-26, we should also do a similar fix in the new Where Am I code being discussed in bug #584529.
Comment 7 Joanmarie Diggs (IRC: joanie) 2009-06-12 14:33:35 UTC
Created attachment 136434 [details] [review]
proposed patch
Comment 8 Joanmarie Diggs (IRC: joanie) 2009-06-12 15:53:34 UTC
Patch (with the correct indentation) committed to the gnome-2-26 branch. It will be addressed in master by a patch Will is doing to simplify the whereAmI code.

Re-closing as FIXED.