Highcharts键盘导航不起作用。

huangapple go评论106阅读模式
英文:

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:&#39;normal&#39; 
          }
        
        
    }
},

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.

huangapple
  • 本文由 发表于 2023年6月12日 23:47:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/76458290.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定