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 128289 - poor screenreader behavior for panel applet sub-components
poor screenreader behavior for panel applet sub-components
Status: RESOLVED FIXED
Product: gnopernicus
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dana Ormenisan
gnome-applets Maintainers
AP2
: 144345 (view as bug list)
Depends on: 144415 149149
Blocks:
 
 
Reported: 2003-12-01 11:21 UTC by Chandrashekhar. Korlahalli
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (3.99 KB, patch)
2004-08-02 12:03 UTC, remus draica
needs-work Details | Review
reworked patch (5.80 KB, patch)
2004-08-03 11:04 UTC, remus draica
none Details | Review

Description Chandrashekhar. Korlahalli 2003-12-01 11:21:23 UTC
. cd payer added to the panel. on pressing tab, focus moves on to the cd 
player applet. screen reader reads as " play & pause ". This applet has 
other widgets like " stop, eject, previous track, next track". These 
widgets can be selected by using arrow keys. 

Expected:

a. When focussed moved on to this applet, it should send accessible 
description as " cd-player".

b. cd-player buttons are accessied through arrow keys, tool tip or 
accessible description should be given.
Comment 1 Calum Benson 2004-01-23 15:19:18 UTC
Updating status whiteboard to reflect a11y team's assessment of priority.
Comment 2 Kaushal Kumar 2004-03-12 13:46:33 UTC
While traversing the cd player applet using the keyboard, the focus
indicator moves from one button to the next until it jumps over to the
next applet. While the focus is on any button, it reads the
corresponding description, which is reasonable.
Still considering the reported problem, I propose that we could modify
the accessible names of the button widgets by prepending 'CD Player'
to each of them.
i.e.
"Previous Track" would now read as "CD Player Previous Track"

This could help in improving the clarity of the messages to a blind user.
 
Comment 3 bill.haneman 2004-03-12 14:56:31 UTC
I would not recommend appending "CD Player" to these names, as this
will just result in excess speech output, and redundancy if the screen
reader chooses to report (applet name, button) when focus first moves
to an applet.

On re-reading this bug report I believe this is a gnopernicus bug, not
a bug in the applet.  Please reassign, thanks!
Comment 4 remus draica 2004-03-18 12:01:29 UTC
Bill, is not so simple to report something different _only_ in this
case. This can be done only ussing application specific code, but I'm
not really sure if this is the way.
Comment 5 bill.haneman 2004-03-22 18:19:57 UTC
suggest adding a ROLE for embedded things (ROLE_EMBEDDED_PANEL?
ROLE_PANEL_APPLET?)  and using that for the heuristics, for gnome 2.8.
Comment 6 Dana Ormenisan 2004-06-15 06:48:18 UTC
*** Bug 144345 has been marked as a duplicate of this bug. ***
Comment 7 bill.haneman 2004-06-15 11:37:24 UTC
This is also similar to the "frame context is very useful" bug/rfe... basically
a user needs context-switching information in situations where the "parent" or
"container" context has changed.  Something like the frame-context behavior
would also provide more information in the above case.  See 128289 also, which
could provide a useful heuristic for gnopernicus.  (application-specific special
casing would not be required).
Comment 8 bill.haneman 2004-06-15 11:38:52 UTC
I meant "see 144415" above.
Comment 9 korn 2004-06-25 13:10:51 UTC
DECISION: will not fix GNOME 2.8.  Existing work around is to use the
DescribeMySurroundings command.  Will add an additional work-around: override
the SpeakTitlebar command to give the name of the applet in this case.
[algorythm is to walk up the hierarchy to find a title bar, if that fails, walk
back down trying to find a container with an AccessibleName and speak that].
Comment 10 Dana Ormenisan 2004-07-14 11:14:49 UTC
In case of an applet added to gnome-panel, if I walk up the hierarchy to find
the title bar, the algorythm doesn't fail. There is a title bar reported for an
applet, the same for all applets: "Bottom Expanded Edge Panel". Basically, this
(the gnome-panel main frame) is the "main window" for all of these applets.
In this case, I'm not sure how can I implement Peter's algorythm in order to
report the "real" title bar for an applet. How can I take the decision : "this
is not the correct title bar..." ?
Any suggestion ?  
Comment 11 bill.haneman 2004-07-14 11:19:00 UTC
I don't believe Peter's suggestion in comment #8 is what we actually agreed on
(for this very reason).

We either need ROLE_EMBEDDED here, in order to signal that we're at the top of
the embedded component, or we should just take the accessible name of the first
non-anonymous container of the focussed object.  However I don't believe this
second algorithm will really work reliably either, since sometimes the focussed
object itself will be the right one to report.  I believe we must use
ROLE_EMBEDDED in order to solve this problem.
Comment 12 Dana Ormenisan 2004-07-14 11:28:41 UTC
I agree with you Bill, the best choice will be to have this ROLE_EMBEDED.

About your second suggestion, maybe it will be useful to introduce a new command
on a layer to "report the name of the first non-anonymous container" (I can
implement this, but we are in the UI and string freeze...)
Comment 13 remus draica 2004-08-02 12:03:34 UTC
Created attachment 30147 [details] [review]
proposed patch


This patch needs also presentation entries in presentation files.
Comment 14 remus draica 2004-08-03 11:04:07 UTC
Created attachment 30173 [details] [review]
reworked patch
Comment 15 remus draica 2004-08-03 11:12:19 UTC
Patch applied to CVS.
Comment 16 bill.haneman 2004-08-03 11:23:23 UTC
I thought we agreed yesterday NOT to apply this patch until it was re-worked to
address bug #111854 as well. What went wrong?
Comment 17 remus draica 2004-08-03 11:53:03 UTC
I remembered only to not speak "switch to window". My mistake.

For bug #111854 the patch can be also produced from this point, the difference
is the detection of context switching. In this case is to go up to and check if
role EMBEDDED is present.

I will try to create a new patch for 111854.
Comment 18 Alexandra Telescu 2004-08-03 12:48:21 UTC
This bug depends on #bug 149149.
Comment 19 bill.haneman 2004-08-03 12:57:06 UTC
149149 has been fixed for several weeks; you just need to update libgail-gnome.

thanks
Comment 20 remus draica 2004-08-03 13:40:15 UTC
We updated gnome-panel because we were expecting that this role is added there.
We will try with libgail-gnome.

Thanks.
Comment 21 Dragan Sarbut 2004-08-03 15:51:26 UTC
The patch applied to CVS HEAD was reverted
Comment 22 remus draica 2004-08-06 08:46:26 UTC
Patch reapplied to CVS.