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 443337 - [veriried] Orca should not use the alt text if it is empty to infer a link name
[veriried] Orca should not use the alt text if it is empty to infer a link name
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.19.x
Other All
: Normal normal
: 2.20.0
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 404403
 
 
Reported: 2007-06-02 21:41 UTC by Mike Pedersen
Modified: 2008-07-22 19:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
patch to hopefully solve the problem (638 bytes, patch)
2007-06-03 23:01 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review
minor revision: Check for name first (671 bytes, patch)
2007-06-04 22:41 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Mike Pedersen 2007-06-02 21:41:05 UTC
1.  go to www.michiganflyer.com and tab through the image links. 
You will not hear or see in braille any name for these links.  The cause of this is that the alt text is set but it is empty.
Comment 1 Joanmarie Diggs (IRC: joanie) 2007-06-03 23:01:56 UTC
Created attachment 89301 [details] [review]
patch to hopefully solve the problem

Mike please test.
Comment 2 Mike Pedersen 2007-06-04 00:03:26 UTC
Cool! this nicely fixes the michigan flyer problem.  Earlier this morning I discovered that www.bankofamerica.com was exibiting the same problem of just saying link in a few places.  Before your patch you could tab through this site and observe this problem in a few places.  After your patch these links now say nothing.  
Comment 3 Joanmarie Diggs (IRC: joanie) 2007-06-04 01:25:53 UTC
Thanks Mike.  Patch checked in.  Moving this to pending.
Comment 4 Willie Walker 2007-06-04 01:28:04 UTC
(In reply to comment #2)
> Cool! this nicely fixes the michigan flyer problem.  Earlier this morning I
> discovered that www.bankofamerica.com was exibiting the same problem of just
> saying link in a few places.  Before your patch you could tab through this site
> and observe this problem in a few places.  After your patch these links now say
> nothing.  

Just to be sure -- is the "after your patch these links now say nothing" the desired behavior?

Comment 5 Joanmarie Diggs (IRC: joanie) 2007-06-04 02:01:16 UTC
I had misunderstood Mike.  Sorry about that.

That said, I was just on the phone with him and he was pointing out the links that were not working for him.  On my machine, without the patch, Orca says "link grayed" for them.  With the patch, it speaks their names.... <shrugs>

Taking this out of "pending".
Comment 6 Joanmarie Diggs (IRC: joanie) 2007-06-04 02:35:02 UTC
Another data point:  

Occasionally on my system Orca does not say anything for one of the links in question.  When this occurs it is due to a lack of a focus: event for that link (in those cases, we seem to only get a caret-moved event).   And in those circumstances, without the patch or with the patch, Orca says nothing.

Mike indicated that he'd send me a debug.out.  It's about 10:30 PM now.  Between an A.M. doctor's appointment and my actual job <smile> I will not have time to look at this again until some time tomorrow late afternoon/early evening -- i.e. post 2.19.3.  Therefore, Mike, please let me know if you'd like me to reverse the patch for the release.
Comment 7 Mike Pedersen 2007-06-04 03:29:05 UTC
The bankofamerica problem seems to be un-related to this patch.  We can look at that in another  bug.  I think this one is OK
Comment 8 Joanmarie Diggs (IRC: joanie) 2007-06-04 03:51:11 UTC
Thanks Mike.

As a related aside, I had mis-spoke (mis-typed) in comment #5.  I hadn't reversed the patch in that case; I had commented out the relevant section of code.  *That* is why Orca was only saying "link grayed."  When I properly reversed the patch, there was no difference:  Orca still spoke the text of the link **as long as we got a focus: event for it.** 

I filed a bug against Orca for the BofA problem: Bug #433791.  I'll look at that tomorrow afternoon/evening.

Putting this bug back to pending.
Comment 9 Joanmarie Diggs (IRC: joanie) 2007-06-04 03:52:30 UTC
Sheesh I'm tired.  Make that bug #443791.
Comment 10 Joanmarie Diggs (IRC: joanie) 2007-06-04 22:41:45 UTC
Created attachment 89361 [details] [review]
minor revision:  Check for name first
Comment 11 Mike Pedersen 2007-06-04 22:58:36 UTC
With this latest patch "link greyed" is back on www.bankofamerica.com for me.
Comment 12 Joanmarie Diggs (IRC: joanie) 2007-06-04 23:05:50 UTC
Sorry to be dense, Mike, but is this a good thing or a bad thing?  By the way, I committed the patch so if you grabbed the latest from trunk and then applied the patch, you undid it.

Please clarify what you're seeing and what you would like to see if these two things are different.  :-)  Thanks!
Comment 13 Mike Pedersen 2007-06-04 23:34:32 UTC
Last night it was speaking nothing.  Today it is speaking link greyed.  Neither is good but that's another bug.  This has fixed the michiganflyer bug
Comment 14 Joanmarie Diggs (IRC: joanie) 2007-06-06 15:45:32 UTC
Mike has verified this.  Closing as FIXED.