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 455259 - Orca speaks raw HTML for Java labels
Orca speaks raw HTML for Java labels
Status: RESOLVED OBSOLETE
Product: java-atk-wrapper
Classification: Applications
Component: general
unspecified
Other All
: Normal minor
: ---
Assigned To: java-atk-wrapper maintainer(s)
java-atk-wrapper maintainer(s)
3.0!
Depends on: 455276
Blocks: orca-java
 
 
Reported: 2007-07-09 19:13 UTC by Lynn Monsanto
Modified: 2021-05-17 15:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Screen shot illustrating the problems (287.77 KB, image/png)
2010-04-23 01:16 UTC, Joanmarie Diggs (IRC: joanie)
Details

Description Lynn Monsanto 2007-07-09 19:13:20 UTC
Orca speaks the raw HTML for Java labels. For example, the SwingSet2 TabbedPane demo has a page tab with the label "Bouncing Babies!" in blue. Orca speaks "<html><font color=blue><bold><center>Bouncing Babies!</center></bold></font></html>".

When the page tab gets focus, the J2SE_access_bridge.onStateChanged method gets called with the event.source.name "<html><font color=blue><bold><center>Bouncing Babies!</center></bold></font></html>

What's the best thing to do here? I haven't checked yet, but Orca probably has a method to convert the HTML to a string that's presentable to the user.
Comment 1 Willie Walker 2007-07-09 19:22:21 UTC
I don't believe the raw HTML should be exposed via the AT-SPI.  This sounds like a Java accessibility platform bug.
Comment 2 Jeff Cai 2007-11-02 00:08:32 UTC
I'll take some time to looke at it.
Comment 3 Willie Walker 2007-11-14 13:47:18 UTC
While we've concluded this is an application problem, I'm going to leave this open for now.  We might consider analyzing every single label we get from Java for HTML markup and then strip it.  I'd much rather fix the problem at the application if we can, though.
Comment 4 Rich Burridge 2008-02-15 19:12:17 UTC
This one is "blocked" but there doesn't appear to be an open
blocking bug any more. Jeff/Will, what bug are we blocking against?
Comment 5 Willie Walker 2008-02-15 19:28:08 UTC
I don't think there is a blocking bug for this one.  :-(  I'll remove the "[blocked]" indicator for now.
Comment 6 Joanmarie Diggs (IRC: joanie) 2010-04-23 01:16:32 UTC
Created attachment 159380 [details]
Screen shot illustrating the problems
Comment 7 Joanmarie Diggs (IRC: joanie) 2010-04-23 01:21:46 UTC
Looking at this with Accerciser (see the screenshot from comment 6):

1. I can confirm that the accessible name of the page tab contains HTML.

2. The page tab does not implement the accessible text interface.

3. The page tab has no children (like the other page tabs do).

In other words, if we wanted to hack around this issue on the Orca side of things, there's no alternative accessible object or interface to go to. We'd have to parse markup. And that ain't right....

Ke, I'm assigning this to you in the hopes that you have a brilliant idea which you can implement on the Java side of things. :-) I hope that's alright. And thanks in advance!
Comment 8 Joanmarie Diggs (IRC: joanie) 2010-07-04 20:26:30 UTC
Ke, any updates on this? Thanks!
Comment 9 Joanmarie Diggs (IRC: joanie) 2010-07-05 02:44:50 UTC
(3.0 Planning Spam-o-rama. Sorry!)
Comment 10 Joanmarie Diggs (IRC: joanie) 2012-08-14 21:16:37 UTC
Transferring because it is not an Orca bug and there's nothing I can do in Orca to fix it. :(
Comment 11 André Klapper 2013-08-14 10:04:04 UTC
[Mass-resetting default assignee, see bug 705890. Please reclaim this bug report by setting the assignee to yourself if you still plan to work on this. Thanks!]
Comment 12 Magdalen Berns (irc magpie) 2014-11-08 19:37:43 UTC
Is this still a problem?
Comment 13 André Klapper 2015-02-27 16:56:16 UTC
[Moving at-spi/java-atk-wrapper bugs to separate product. See bug 740075]
Comment 14 GNOME Infrastructure Team 2021-05-17 15:39:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/java-atk-wrapper/-/issues/7.