使用dfn元素标识一个单词的定义样例____20160524


说明

该技巧的目的是使用dfn来标识包含定义的词汇或短语。dfn元素被用来标明被定义的闭合词组。换句话说,它标记词汇的出现。注意它包含词汇,不是定义。该技巧需要与“使用行内定义”配合使用。


样例

样例1:下面的代码展示了dfn元素的使用。


效果

The Web Content Accessibility Guidelines require that non-text content has a text alternative. Non-text content is content that is not a sequence of characters that can be programmatically determined or where the sequence is not expressing something in human language; this includes ASCII Art (which is a pattern of characters), emoticons, leetspeak (which is character substitution), and images representing text .


无障碍效果

各读屏、各浏览器的支持效果

测试人:

争渡、IE11:
永德、IE11:
NVDA、IE11:
永德、chrome:
NVDA、chrome:
NVDA、Firefox:
voiceover、chrmoe:
voiceover、Safari: