问题描述
我根本无法得到这个问题的答案。 WCAG说它可以通过 aria-hidden
标签来完成,但我已经读过它在许多屏幕阅读器上不工作。
I simply can't get the answer to this question. The WCAG says it can be done by aria-hidden
tag, but I've read it's not working at many screen readers.
无法得到如何 display:none
可以帮助隐藏某些文本用于屏幕阅读器(= SR以外的其他设备可见)。这也不清楚如果屏幕阅读器对 display:none
如果它不支持css,它将如何操作。
Can't get how display:none
can help to hide some text only for screen readers(=visible to other devices than SR). This is also not clear how would screen reader act for display:none
if it not supports css.
推荐答案
在,一个特性只需要在普通或至少一种广泛分布的免费辅助技术上得到支持。 Windows上的NVDA和Firefox,OS X和iOS上的VoiceOver以及Android上的Firefox的Talkback都支持此功能。
In oder to satisfy WCAG 2 AA, a feature only needs to be supported on the common or at least one widely distributed free assistive technology. NVDA and Firefox on Windows, VoiceOver on OS X and iOS and Talkback with Firefox on Android all support this feature.
这篇关于隐藏文本只适用于屏幕阅读器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!