GNOME Bugzilla – Bug 568467
aria-describedby text spoken twice via Where Am I
Last modified: 2009-01-21 21:28:07 UTC
1) Go to http://codetalks.org/source/widgets/button/button.html. 2) Tab to the "Check Now" button. 3) Press KP_Enter to invoke Orca's Where Am I. You will hear "Check to see if your order has been shipped." spoken twice. The problem is that the "Check to see if your order has been shipped." text is also flagged as a 'aria-describedby' relation for the "Check Now" button. As a result of this, the "Check Now" button has an accessible description and a DESCRIBED_BY relation, both of which end up being identical.
Created attachment 126859 [details] [review] Patch to fix the problem This patch seems to do the trick, and includes a new test. It pylints to a 10.0. I'm going to run the full FF test suite to see what it uncovers -- I suspect there are a number of tests with duplicate descriptions.
Further exploration of this may lead to another bug where we don't look at things with DESCRIBED_BY relations in all cases. We might need to consider adding the text of the things doing the describing if the text is visible on the screen and also also really just logically a label.
(In reply to comment #2) > Further exploration of this may lead to another bug where we don't look at > things with DESCRIBED_BY relations in all cases. We might need to consider > adding the text of the things doing the describing if the text is visible on > the screen and also also really just logically a label. Logged as bug #568611.
Created attachment 126946 [details] [review] Updated patch to resolve the problem and add a new regression test This patch pylints and tests well. Committed to trunk and gnome-2-24.