Hi, I am using JAWS. The problem is that chart never get focus inorder for jaws to read alt text. Pressing tab simply skips the control.
How do I gain focus to the chart?
My chart never has focus.
Screen Readers wont work unless the chart has focus and then can read the alt text.
Hello shaider,
Thank you for posting in our forum.
You can set a tab index to the img element runtime for example:
$(document).ready(function () {
var img = $("#UltraChart1_BaseImage");
img[0].tabIndex = 1;
});
Then you would be able to set focus on the image element on click.
You could also force the control to get focused by setting:
$("#UltraChart1_BaseImage").focus();
The id of the image would be the chart’s client id +”_BaseImage”. You could force this on tab.
Let me know if you have any further questions or concerns.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Thank you Maya for responding.
This is what i have done: I have added the javascript on top of the aspx page where my chart is going to. But I get error: Microsoft JScript runtime error: Object expected
Please let me know what I am missing. Thanks
<script type="text/javascript"> $(document).ready(function () { var img = $get('UltraChart1_BaseImage'); img[0].tabIndex = 1; });
</script> <igchart:UltraChart ID="UltraChart" runat="server" Section508Compliant="true" Enabled="true" Tooltips-Display="Never" AcceptsFocus="True" EmptyChartText="Data Not Available. Please call UltraChart.Data.DataBind() after setting valid Data.DataSource" TabIndex = "43" Version="9.2" >
Hi I dont have an image on my chart.
I will try to attch my code with this post. Thanks
Hi,
There is no image on my chart.