Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/472.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript ExtJS屏幕阅读器无法读取鼠标上方的X按钮_Javascript_Extjs_Screen Readers - Fatal编程技术网

Javascript ExtJS屏幕阅读器无法读取鼠标上方的X按钮

Javascript ExtJS屏幕阅读器无法读取鼠标上方的X按钮,javascript,extjs,screen-readers,Javascript,Extjs,Screen Readers,我需要屏幕阅读器问题的帮助。 为了使屏幕可读,我扩展了ExtJS窗口并添加了aria标签属性 Ext.define('Ext.ux.window.ResultWindow', { extend: 'Ext.window.Window', alias: 'widget.resultwindow', closable: false, constrain: true, keyMap: { scope: 'this', ESC: funct

我需要屏幕阅读器问题的帮助。 为了使屏幕可读,我扩展了ExtJS窗口并添加了
aria标签
属性

Ext.define('Ext.ux.window.ResultWindow', {
    extend: 'Ext.window.Window',
    alias: 'widget.resultwindow',
    closable: false,
    constrain: true,
    keyMap: {
      scope: 'this',
      ESC: function () {
          this.close();
      }
    },
    tools: [{
      type: 'close',
      ariaAttributes: 
      {
        'aria-label': 'Closing window'
      },
      tooltip: 'Closing window',
      callback: function() {
          this.up('window').close();
      }
    }]
});
如果我用TAB键或SHIFT+TAB键对其进行对焦,则它会清晰地读取它。。。但是如果我把鼠标放在图标上,它就不工作了

有人有过类似问题的经历吗