changeset 6659:5b4977c9d79e

[Accessibility] Changed TITLE_PANE to use UIA_GroupControlTypeId (instead of UIA_PaneControlTypeId). As per MSDN, Panes are not expected to implement IExpandCollapseProvider, Groups are. As far testing goes the only difference is that using Group makes Narrator report the expand state when the node is selected, using pane it takes a few second to report it.
author Felipe Heidrich <felipe.heidrich@oracle.com
date Tue, 08 Apr 2014 16:13:02 -0700
parents d84c5a80da51
children 742752b2de3d
files modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java	Tue Apr 08 15:35:03 2014 -0700
+++ b/modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java	Tue Apr 08 16:13:02 2014 -0700
@@ -477,8 +477,8 @@
             case TREE_ITEM: return UIA_TreeItemControlTypeId;
             case PROGRESS_INDICATOR: return UIA_ProgressBarControlTypeId;
             case TOOLBAR: return UIA_ToolBarControlTypeId;
+            case TITLED_PANE: return UIA_GroupControlTypeId;
             case ACCORDION:
-            case TITLED_PANE:
             case SCROLL_PANE: return UIA_PaneControlTypeId;
             case SCROLL_BAR: return UIA_ScrollBarControlTypeId;
             case THUMB: return UIA_ThumbControlTypeId;