Completed
Last Updated: 14 Jan 2020 16:31 by ADMIN
Release R1 2020
Martin Ivanov
Created on: 25 Oct 2019 08:09
Category: TreeListView
Type: Bug Report
1
TreeListView: JAWS cannot read the control cells and rows

The JAWS screen reader cannot read the RadTreeListView and also its rows and cells.

This reproduces after the 2019.3.917 release.

To work this around create a custom RadTreeListViewAutomationPeer:

public class CustomTreeListView : RadTreeListView
{
	protected override AutomationPeer OnCreateAutomationPeer()
	{
		return new CustomTreeListViewAutomationPeer(this);
	}
}

public class CustomTreeListViewAutomationPeer : RadTreeListViewAutomationPeer
{
	public CustomTreeListViewAutomationPeer(RadTreeListView owner) 
		: base(owner)
	{
		var methodInfo = typeof(RadTreeListViewAutomationPeer).GetMethod("GetItemPeers", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
		methodInfo.Invoke(this, null);
	}

	protected override List<AutomationPeer> GetChildrenCore()
	{
		var frameworkPeer = new FrameworkElementAutomationPeer((FrameworkElement)this.Owner);
		return frameworkPeer.GetChildren();
	}
}

0 comments