【问题标题】:aria-label is not reading by JAWS in Internet explorer 11 for div role="button"JAWS 在 Internet Explorer 11 中未读取 div role="button" 的 aria-label
【发布时间】:2018-07-31 16:27:34
【问题描述】:
我有一个父 div,它有 tabindex="0" 和 aria-label 并且有子 div。其中一个子 div 有 tabindex="0" 和 aria-label。 JAWS 18 在其他浏览器中正确读取此子 div aria-label,但在 IE11 中,它正在读取父 div 的 aria-label。请帮我解决此错误。
【问题讨论】:
标签:
html
css
user-interface
internet-explorer
jaws-screen-reader
【解决方案1】:
如果你能说出哪个 div 有 role="button" 那就太好了。
到目前为止,这就是我使用 JAWS 18 和 IE 11 得到的全部内容
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>NA</title>
</head>
<body>
<div id="parent" tabindex="0" aria-label="I am your father">
0
<div id="child" tabindex="0" aria-label="so, why mum says it's the butcher?">
1
</div>
<div id="child" tabindex="-1" aria-label="wrong guy, dude">
2
</div>
</div>
</body>
</html>