Select to view content in your preferred language

esri toolbar control accessiblity

995
4
03-07-2012 07:35 AM
johnbrosowsky
Frequent Contributor
Hi - I am working to meet accessiblity requirements with Esri:Toolbar and encounter the following problems:

First, EsriToolbar does not support AutomationProperties.Name

Second, when tabbing through my app, the toolbar is a tabstop (isTabStop must be set true in order to be able to tab to any buttons on the toolbar).

So a problem occurs tabbing through the app:

1:  Tab to my control just before the toolbar.  AutomationProperties.Name is properly set, as is visual focus display.  So for so good.

2:  Press the tab button again.  Now the Esri:Toolbar as focus.  But AutomationProperties.name does not work so screenreader cannot say anything.  Also there is no focus highlight to tell user where the focus went.

3:  Press tab button again.  Now focus goes to the first button in esri:ToolbarCollection (such as a button or togglebutton, that properly observes AutomationProperties.Name, and that I can add focus highlight to in control template).

... so the user has to press tab twice to get into toolbar, and after the first tab the screenreader and user has no idea what happened.  When I tab to the toolbar the first thing that should get focus is the frst item in the toolbar collection, not the toolbar itself.

Do you have any ideas how to make this work properly for supporting keyboard navigation for accessibility?

Thx!
0 Kudos
4 Replies
DominiqueBroux
Esri Frequent Contributor
Toolbar is deprecated at version 2.3 and so no enhancements are planned for this control.

You can get the toolbar sources on codeplex and tweak them for your need.
0 Kudos
Ravichandran_M_Kaushika
Regular Contributor
Good afternoon.

i have SL 5.0, ESRI api 3.0 rc on my machine and it threw 84 errors because i have esritoolbaritem and functions associated with the same.

now i have got the extensibility v2.4 and i am not be able to locate ToolbarItem member in any of the dlls included into the projs.  i used VS 2010's object browser to search through ESRI.ArcGIS.Client.Application.Control.dll, *.Application.Layout.dll, ESRI.ArcGIS.Client.Extensibility.dll all built on Jan 10th, 2012 8:04pm. 

do i need to go back 1 step and get 2.3 extensibility kit published earlier than that (nov 2011?).

thanks n regards
ravi.
0 Kudos
JoeHershman
MVP Alum
Toolbar/ToolbarItem have been from 3.0 after being depreciated at 2.3.  So you will need to refactor your application to not use these objects in order to upgrade to 3.0
http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#//0166000000m9000000
Thanks,
-Joe
0 Kudos
LeonVictor
Emerging Contributor
"Below link is very useful to solve your problem, once you open and check out it.
http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/ADF/control_toolbar.htm
"
0 Kudos