【发布时间】:2019-01-21 11:18:22
【问题描述】:
您好,我正在研究需要弹出可访问性的角度。 为此我参考了这个链接:
https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html
它指出使用 aria-modal="true" 将不允许屏幕阅读器阅读在后台但在 JAWS 18 版本和 JAWS 19 版本中不起作用的内容。
这就是我的代码的样子:
我有一个 dialog.component.html
<div aria-modal="true">
model-contet goes here
</div>
现在我将这个组件<dialog></dialog> 注入到各种组件中。但它仍然会继续阅读下面的内容。
【问题讨论】:
标签: javascript html angular accessibility wai-aria