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 570532 - (ARIA) Alert text not brailled when navigating it
(ARIA) Alert text not brailled when navigating it
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: braille
unspecified
Other All
: Normal normal
: 2.24.4
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 404403
 
 
Reported: 2009-02-04 19:09 UTC by Willie Walker
Modified: 2009-02-06 02:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
revision 1 (674 bytes, patch)
2009-02-05 06:31 UTC, Joanmarie Diggs (IRC: joanie)
reviewed Details | Review
revision 2 (7.71 KB, patch)
2009-02-06 02:06 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Willie Walker 2009-02-04 19:09:47 UTC
Go to http://codetalks.org/source/widgets/alert/alert.html

For the sake of simplicity, bring up the last alert on the page.  Arrow the caret up and down in the text of the alert.  Orca speaks each line as you navigate between them, but only brailles "Alert".
Comment 1 Joanmarie Diggs (IRC: joanie) 2009-02-04 20:15:41 UTC
I'll take a look at this one.
Comment 2 Joanmarie Diggs (IRC: joanie) 2009-02-05 01:55:10 UTC
This seems to be another variant on bug 570524. Namely isNavigableAria is returning False (which means that Gecko shouldn't be handling it and it should be passed along to the default script). Adding a check for ROLE_ALERT solves the problem. I'll add a patch after I go through some more of these bugs you filed today and run the regression tests on the sum of all my patches. Stay tuned!
Comment 3 Joanmarie Diggs (IRC: joanie) 2009-02-05 06:31:57 UTC
Created attachment 127990 [details] [review]
revision 1

Pylinted and regression tested and seems to solve the reported issue. Will please review. If you're happy with it, I'll write a regression test corresponding to this bug. Thanks!
Comment 4 Willie Walker 2009-02-05 13:40:15 UTC
(In reply to comment #3)
> Created an attachment (id=127990) [edit]
> revision 1
> 
> Pylinted and regression tested and seems to solve the reported issue. Will
> please review. If you're happy with it, I'll write a regression test
> corresponding to this bug. Thanks!

Nice!  Thanks for tracking this one down.  Instead of adding the ROLE_ALERT check as an extra elif statement, did you consider adding it to the ROLE_ENTRY, ROLE_LINK list?  The only concern there is that we may potentially see a ROLE_ALERT in a COMBO_BOX some time.
Comment 5 Joanmarie Diggs (IRC: joanie) 2009-02-06 02:06:56 UTC
Created attachment 128067 [details] [review]
revision 2

(In reply to comment #4)
 
> Nice!  Thanks for tracking this one down.  Instead of adding the ROLE_ALERT
> check as an extra elif statement, did you consider adding it to the ROLE_ENTRY,
> ROLE_LINK list?

Well, yeah, I did. And then I thought, "Who on earth would put an alert inside of a combo box?" But now that you mention it.... ;-) This patch makes your suggested change and adds a regression test. Thanks!

Patch committed to both trunk and the gnome-2-24 branch. Closing as FIXED.