Home Forums Report Bugs Interactive Graph controls present on the page are not accessible using keyboard Reply To: Interactive Graph controls present on the page are not accessible using keyboard

#39106

@edad_msft,

Accessibility for individual datapoints using “Tab” key is not available as of now. However, you can provide a chart-description for a chart container by adding aria-label and tabindex, which can be read using the screen reader like windows narrator when the focus is kept on the chart. Please check the below code snippet for adding aria-label and tabindex –

var chartDescription = "A Funnel  Chart showing Company Recruitment Process where in which 63 percent of candidates cleared the aptitude test, 35 percent cleared the technical interview, 15 precent went through the HR interview and out of which 5 percent candidates were recruited";
    
chart.container.setAttribute("aria-label", chartDescription);
chart.container.setAttribute("tabindex", "0");

___________
Adithya Menon
Team CanvasJS