Javascript ExtJS屏幕阅读器无法读取鼠标上方的X按钮
我需要屏幕阅读器问题的帮助。 为了使屏幕可读,我扩展了ExtJS窗口并添加了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
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键对其进行对焦,则它会清晰地读取它。。。但是如果我把鼠标放在图标上,它就不工作了
有人有过类似问题的经历吗