1 Reply Latest reply on Oct 3, 2012 8:39 AM by vivekpaddy

    AdvancedDataGrid - hierarchical, singleCell select accessibility error

    rootsounds Level 4

      I seem to consistantly get an error thrown by the ADG when in accessibility mode (with JAWS 12), the data is hierarchical, and selectionMode is set to "singleCell". This occurs when first attempt to select an item on the grid (keyboard or click). This is with Flex 3.5.

       

      The following error is thrown:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
          at mx.accessibility::AdvancedDataGridAccImpl/get_accRole()[C:\work\flex\dmv_automation\proje cts\datavisualisation\src\mx\accessibility\AdvancedDataGridAccImpl.as:244]
          at flash.accessibility::Accessibility$/sendEvent()
          at mx.accessibility::AdvancedDataGridAccImpl/eventHandler()[C:\work\flex\dmv_automation\proj ects\datavisualisation\src\mx\accessibility\AdvancedDataGridAccImpl.as:1069]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.5.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9440]
          at mx.controls::AdvancedDataGrid/finishCellKeySelection()[C:\work\flex\dmv_automation\projec ts\datavisualisation\src\mx\controls\AdvancedDataGrid.as:7086]
          at mx.controls::AdvancedDataGrid/cellNavigationHandler()[C:\work\flex\dmv_automation\project s\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6830]
          at mx.controls::AdvancedDataGrid/keyDownHandler()[C:\work\flex\dmv_automation\projects\datav isualisation\src\mx\controls\AdvancedDataGrid.as:3606]

       

      For a quick demo, copy the example from:

      http://livedocs.adobe.com/flex/3/html/advdatagrid_07.html#230937

      Add selectionMode="singleCell" to the ADG, compile an accessible swf, and run with JAWS. Select the first item on the grid with the keyboard (although same thing happens with the mouse).

       

      Has anyone else come across this? Is this a bug? Have a workaround?

       

      Both hierarchical and singleCell selection are separately documented as being accessible, but don't seem to work together.