0 Replies Latest reply on Mar 31, 2009 12:40 PM by (Jim_Murphy)

    [svn:fx-3.x] 5820: Merged (back ported) trunk revisions 4460,4492,4516,4520 ,4585,4630,4692,4726,4964 -> 3.x

    Level 1
      Revision: 5820
      Author: jimurphy@adobe.com
      Date: 2009-03-31 13:40:12 -0700 (Tue, 31 Mar 2009)

      Log Message:
      -----------
      Merged (back ported) trunk revisions 4460,4492,4516,4520,4585,4630,4692,4726,4964 -> 3.x
      http://10.171.12.252/svn/opensource/flex/sdk/trunk

      ........
      r4460 | gosmith@adobe.com | 2009-01-08 20:53:33 -0500 (Thu, 08 Jan 2009) | 10 lines

      Renamed UIComponentAccImpl to UIComponentAccProps because it extends AccessibilityProperties, not AccessibilityImplementation.

      Added comments with the identifier for each magic role constant, so that it is easier to understand what roles our components are using.

      Moved two static methods from UIComponentAccProperties to AccImpl because they make more sense there.

      QE Notes: None
      Doc Notes: None
      Bugs: None
      Reviewer: None (no functional changes)
      ........
      r4492 | gosmith@adobe.com | 2009-01-12 17:47:10 -0500 (Mon, 12 Jan 2009) | 8 lines

      Simplified how an accessibility class gets hooked into its corresponding component class.

      We now do the hooking in the static method enableAccessibility(), which is called by code that is autogenerated by the compiler. Previously this method did nothing and the hooking happened at static initialization time. This allows us to remove the static var accessibilityHooked and the static method hookAccessibility() in each accessibility class.

      QE Notes: None
      Doc Notes: None
      Bugs: None
      Reviewer: Deepa and Alex
      ........
      r4516 | gosmith@adobe.com | 2009-01-13 18:23:14 -0500 (Tue, 13 Jan 2009) | 16 lines

      Accessibility changes to Panel and TitleWindow, as requested by Freedom Scientific.

      These components now report their accessibility role as "grouping" rather than "window". Their accessibility name is now simply their title. They no longer report any child items. Their accessibility location is the bounding rect of the entire Panel or TitleWindow.

      The AccessibilityImplementation continues to be attached to the titleBar, not to the Panel/TitleWindow, because the Flash Player ignores Sprites with an AccessibilityImplementation that are inside other Sprites with an AccessibilityImplementation. (The Flash accessibility model is flat, not hierarchical, and "child IDs" are only used for things like list items, not for controls in titled container.)

      So although in the display hierarchy the Panel is a parent of its content controls, in the MSAA model it appears as their preceding sibling. JAWS will look at the "grouping" role and understand that because the bounding rect of the grouping includes some of its following siblings, they are "inside". (I don't know what this means in terms of what JAWS will actually speak.)

      Also, the AccImpl class now implements getChildIDArray() to return an empty array, so that by default all components have 0 child items (rather than reporting an error).

      Finally, subclasses with child items now compute how many they have and then call a new AccImpl utility method, createChildIDArray(), to create an Array that looks like [ 1, 2, 3, 4, 5 ].

      QE Notes: None
      Doc Notes: None
      Bugs: SDK-12390, SDK-16340
      Reviewer: Deepa
      ........
      r4520 | gosmith@adobe.com | 2009-01-13 20:07:53 -0500 (Tue, 13 Jan 2009) | 10 lines

      Accessibility changes to List, DataGrid, Menu, and Tree, as requested by Freedom Scientific, to behave more like their corresponding standard Windows controls.

      List, DataGrid, and Menu no longer report an accessibility value, either for the control itself or for its child items.

      Tree no longer reports a value value for itself. For tree items the value is the indentation level as a String: "0", "1", "2", etc. Previously the top-level items had value "1" instead of "0".

      QE Notes: None
      Doc Notes: None
      Bugs: SDK-17755
      Reviewer: Deepa
      ........
      r4585 | gosmith@adobe.com | 2009-01-19 18:53:01 -0500 (Mon, 19 Jan 2009) | 6 lines

      AccImpl now implements accSelect(). Although the implementation doesn't do anything, its existence is enough to avoid having the Player report an IAccessible "member not found" error when calling accSelect() on a child item.

      QE Notes: None
      Doc Notes: None
      Bugs: SDK-16654
      Reviewer: Jason
      ........
      r4630 | gosmith@adobe.com | 2009-01-22 19:54:13 -0500 (Thu, 22 Jan 2009) | 6 lines

      Removed code in AccordionHeaderAccImpl and TabBarAccImpl where the child IDs were being adjusted up or down by 100000 for some unknown reason. Deneb (on Flash Player) and Nataliya and Jon (on JAWS) don't think this should be done.

      QE Notes: None
      Doc Notes: None
      Bugs: None
      Reviewer: Deepa
      ........
      r4692 | gosmith@adobe.com | 2009-01-27 17:13:03 -0500 (Tue, 27 Jan 2009) | 9 lines

      Fixed missing or misplaced 'break' statements in the eventHandler() methods of the mx.accessibility classes. These have probably been causing some unintented MSAA events to be dispatched.

      Also, each accessible component now dispatches OBJ_NAMECHANGE when its toolTip or errorString property changes, because the MSAA name includes the tooltip or error tip.

      QE Notes: None
      Doc Notes: None
      Bugs: None
      Reviewer: Deepa
      ........
      r4726 | gosmith@adobe.com | 2009-01-28 21:47:59 -0500 (Wed, 28 Jan 2009) | 16 lines

      Accessibility changes to the MSAA name of several components, as requested by Freedom Scientific. These changes make Flex controls behave more like standard Windows controls.

      In Accordion and TabBar, the name is now just what is displayed, without " Tab" or " Tab, Active" appended.

      In ComboBox, List, and Tree, the name of each item is now just what it displays, without, for example, "2 of 7" appended.

      Removed an artificial limit of 100000 items in List and Menu.

      A Slider with an MXML id no longer returns that id as its name; no other component does this and id's are certainly no intended to be spoken.

      Removed the getName() method of ComboBase, which isn't used.

      QE Notes: None
      Doc Notes: None
      Bugs: None
      Reviewer: Jason
      ........
      r4964 | smgilson@adobe.com | 2009-02-16 12:41:50 -0500 (Mon, 16 Feb 2009) | 7 lines

      Modify AccImpl.as to add @private to _protected final function $eventHandler(event:Event):void_ to work around an ASdoc bug. i will remove it when the bug gets fixed.


      QE Notes: None
      Doc Notes: None
      Bugs: -
      ........

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-12390
      http://bugs.adobe.com/jira/browse/SDK-16340
      http://bugs.adobe.com/jira/browse/SDK-17755
      http://bugs.adobe.com/jira/browse/SDK-16654

      Modified Paths:
      --------------
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/AccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderA ccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl. as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccIm pl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl .as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/ComboBoxAccImpl. as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl. as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/DateChooserAccIm pl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl .as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImp l.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl. as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.a s
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccIm pl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccIm pl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/containers/Panel.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/core/UIComponent.as

      Added Paths:
      -----------
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/UIComponentAccPr ops.as

      Removed Paths:
      -------------
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/UIComponentAccIm pl.as

      Property Changed:
      ----------------
      flex/sdk/branches/3.x/