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 517728 - Need to consider better handling of objects of ROLE_TEXT in FF3
Need to consider better handling of objects of ROLE_TEXT in FF3
Status: RESOLVED OBSOLETE
Product: orca
Classification: Applications
Component: general
2.21.x
Other All
: Normal enhancement
: FUTURE
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
post-3.0
Depends on:
Blocks: 404403
 
 
Reported: 2008-02-20 19:03 UTC by Mesar Hameed
Modified: 2015-05-28 03:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Mesar Hameed 2008-02-20 19:03:05 UTC
Please describe the problem:
when html documents contain abbr tags, we seem to say "text" after the abbriviation.
i.e.

<abbr title="et cetera">foobar</abbr>
we speak: "foobar text"

Assuming design consistancy the presentation should be:
"foobar abbriviation" 

further consistancy:
If the abbriviation has the focus, orca-whereAmI should present the title property, just like what we do with other tool-tip texts.
Currently whereAmI speaks "foobar text"

(issue noticed on account page of www.lloydstsb.com)


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Joanmarie Diggs (IRC: joanie) 2008-02-25 02:48:34 UTC
The reason we speak "text" rather than "abbreviation" is because text contained in an abbr tag is exposed to us as being of ROLE_TEXT.  There is no ROLE_ABBREVIATION (that I'm aware of anyway).  So we're just passing that role info on to you.  Mike I need your input here:  Should we be speaking abbreviation, should we be displaying that in braille?

As for the speaking of the title, I'm going to tack that on to the whereAmI paragraph bug you filed.  It's not a dup, but it's closely related.
Comment 2 Mesar Hameed 2008-02-26 06:04:41 UTC
Does this mean that text input fields and abbriviations return the same role object?
if so, Isnt that a bit a bit curious?
Comment 3 Joanmarie Diggs (IRC: joanie) 2008-02-26 06:23:01 UTC
(In reply to comment #2)
> Does this mean that text input fields and abbriviations return the same role
> object?

Nope.  Well, not in Firefox anyway.  In other applications, text input fields seem to have ROLE_TEXT. In Firefox, text input fields have ROLE_ENTRY and various and sundry other things have ROLE_TEXT.  For instance, I think that I once saw a table row exposed as ROLE_TEXT.  Mind you table rows aren't normally exposed as objects at all, but there was something special about the markup on the page in question....

As part of this bug/RFE, I'm going to start looking for all the things that are exposed as having ROLE_TEXT and noting what their functional role is (and how that functional role can be identified).  From there we can make a better decision about how we want to deal with these creatures.

> if so, Isnt that a bit a bit curious?

"Curious" isn't the word I'd use, but.... Sure. ;-)
Comment 4 Mesar Hameed 2008-02-26 06:57:03 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Does this mean that text input fields and abbriviations return the same role
> > object?
> Nope.  Well, not in Firefox anyway.  In other applications, text input fields
> seem to have ROLE_TEXT. In Firefox, text input fields have ROLE_ENTRY 

hmm, consistancy .. consistancy.
I assume its down to inconsistent definitions of these roles,leading to people using whichever role they feel most confertable with at the time.

> and various and sundry other things have ROLE_TEXT.  For instance, I think that I
> once saw a table row exposed as ROLE_TEXT.  Mind you table rows aren't normally
> exposed as objects at all, but there was something special about the markup on
> the page in question....

what a funky table :) (note to self, it would be intresting to see what sort of markup that one had.)

> As part of this bug/RFE, I'm going to start looking for all the things that are
> exposed as having ROLE_TEXT and noting what their functional role is (and how
> that functional role can be identified).  From there we can make a better
> decision about how we want to deal with these creatures.

Excellent, thank you for looking into it, sorry for adding to the workload


> > if so, Isnt that a bit a bit curious?
> "Curious" isn't the word I'd use, but.... Sure. ;-)

:)
Comment 5 Joanmarie Diggs (IRC: joanie) 2008-02-26 17:33:17 UTC
I'm setting the target milestone to FUTURE because providing functional roles (such as abbreviation) will require new strings.
Comment 6 Willie Walker 2008-03-11 14:06:33 UTC
First coarse pass at GNOME 2.24 planning.
Comment 7 Joanmarie Diggs (IRC: joanie) 2008-05-27 20:05:14 UTC
As discussed in team meeting, this is an enhancement.  Reclassing as such.
Comment 8 Hammer Attila 2009-10-27 06:39:08 UTC
I hope this is the correct place my problem.
Sometime when I read a webpage with Orca, Orca says non existing editbox controls.
For example the following webpage have lot of new comments, if I navigate the new comment (contains új word), Orca says editbox with end of the string, but not existing any editbox with this webpage:
http://ubuntu.hu/node/11081
If I navigate for example the "rudi – október 25. 15.31  Új  " string, I hear the non existing editbox with end of this string.

But another place with I always see this problem with bugzilla.gnome.org, for example I always hear non existing edit box after the [reply] [-] link.

Attila
Comment 9 Trevor Saunders (IRC: tbsaunde) 2011-02-05 01:44:55 UTC
On the additional comment I note that Gecko exposes the html  element the object is related to as an object attribute like tag:ABBR  Maybe the gecko script should consider the tag when deciding what to speak.

Attila, your issue doesn't sound related.  I can't reproduce the bugzilla issue, I hear "reply dash comment x by john doe"  Which seems correct.  I couldn't reproduce on the ubuntu site, but I can't speak hungarian and don't have any ubuntu accounts so....