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

Summary: resolve a11y context based on focused widget
Product: platform Reporter: Sergey Petrov <sj-nb>
Component: GraphAssignee: issues@platform <issues>
Status: RESOLVED FIXED    
Severity: blocker Keywords: A11Y
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 105060    

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.