我的 HTML 页面包含以下行:
<abbr title="World Wide Web Consortium">W3C</abbr>
使用 NVDA 屏幕阅读器(版本 2016.1)阅读页面时,它只读取“W3C”,但看不到标题。
我尝试在 NVDA 中找到一个设置来激活标题属性的读取,但没有成功。 Google 上也没有关于此限制的信息(最新版本的 NVDA 应该读取标题)。
我还没有尝试过任何其他屏幕阅读器,例如 JAWS 或 Voice Over。
最佳答案
盲人像其他人一样理解缩写。所以他们不想每次听到 FBI、NASA、W3C 这些缩写的定义。 (尽管这可以在某些屏幕阅读器中配置)
如果你认为一个缩写应该被解释,那么每个人都会关心,并提供一个带有 abbr
的定义。标签是一个坏主意,因为它需要标准用户用鼠标悬停在该术语上。
其实唯一的兴趣就是abbr
标签是在语义上标记缩写,例如为了拼写出来。如果您想解释缩写,请使用完整的定义。
Bad example:
<abbr title="Doctor">Dr</abbr> Martin lives in Lincoln <abbr title="Drive">Dr</abbr>
He works for the <abbr title="Worldwide Web Consortium">W3C</abbr>
Good example:
Doctor Martin lives in Lincoln Drive
He works for the World Wide Web Consortium (known as the <abbr>W3C</abbr>)
关于html - NVDA 不读取缩写标题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37480832/