英文:
Highcharts keyboard navigation not working
问题
Highcharts键盘导航对我不起作用。我正在完全按照API文档中提到的方式使用它。
<https://api.highcharts.com/highcharts/accessibility.keyboardNavigation.seriesNavigation
这是我的fiddle: <https://jsfiddle.net/gopalsingh0707/1ko2pdav/35/>
plotOptions: { series: { allowPointSelect: true }},
accessibility: {
keyboardNavigation: {
enabled:true,
seriesNavigation:{
mode:'normal'
}
}
},
当图表加载时,焦点也不会移动到图表上。任何帮助将不胜感激。谢谢。
英文:
Highcharts keyboard navigation is not working for me. I am using it exactly in the same way mentioned in API docs.
<https://api.highcharts.com/highcharts/accessibility.keyboardNavigation.seriesNavigation
This is my fiddle: <https://jsfiddle.net/gopalsingh0707/1ko2pdav/35/>
plotOptions: { series: { allowPointSelect: true }},
accessibility: {
keyboardNavigation: {
enabled:true,
seriesNavigation:{
mode:'normal'
}
}
},
The focus is also not going to chart when the chart loads. Any help would be greatly appreciated. Thank you.
答案1
得分: 1
导航功能正常。
在您附上的演示中,我可以正常使用键盘导航。但是,请注意,在JSFiddle中,您需要将焦点放在结果的iframe上,否则您将在页面界面上导航。只需点击结果(白色窗口)的左上角,然后按下 TAB
键。
或者,如果您在一个纯HTML文件中复制此演示,您应该可以轻松导航图表,不会出现任何问题。
英文:
Navigation works fine.
In the demo you attached, I can normally navigate using the keyboard. However, you must pay attention that in JSFiddle you need to focus on the iframe with the result, otherwise you will be navigating the interface of the page. Just click in the upper left corner of the result (white window) and press TAB
.
Or if you reproduce this demo in a pure HTML file, you should have no problems navigating the chart.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论