This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 108856 - resolve a11y context based on focused widget
Summary: resolve a11y context based on focused widget
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords: A11Y
Depends on:
Blocks: 105060
  Show dependency tree
 
Reported: 2007-07-04 12:28 UTC by Sergey Petrov
Modified: 2007-08-01 09:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2007-07-04 12:28:37 UTC
from e-mail:
Current logic is: The AccessibleContext is taken from a widget which
lays under a mouse cursor (while mouseMoved event happens).
I think that the correct logic should: A new
Scene.get/setAccessibleContextProcessingType methods will be added. They
will work with enum AccessibleContextProcessingType with values e.g.:
FOCUSED_WIDGET_AND_ITS_PARENTS, ...
This means that the AccessibleContext will be resolved by looking into
the focused widget. If it does not have AC, then it looks into its
parent, ... Basically the AC will not be resolved based on
mouse-location. Instead it will be resolved based on focused widget.
Comment 1 David Kaspar 2007-08-01 09:16:32 UTC
Fixed.
The old logic has been replaced with a new one. Now the Accessible objects are copying the structure of widgets in
scene. You still have a change to change value of accessible context (using Widget.setAccessibleContext). If not called,
then a new "copy-structure-widget" accessible context is created and used.