您是否应该使用 多次定义缩写?标签?
如果我有一篇文章或博客文章,并且有一个缩写词或首字母缩略词,例如 SAD(季节性情感障碍),我是否应该每次在文档中出现首字母缩略词 SAD 时执行此操作?
<abbr title="Seasonal Affective Disorder">SAD</abbr>
如果只定义一次,缩写是否必须是第一次出现,还是可以是第三次或第四次?
If I have an article or blog post and I have an abbreviation or acronym such as SAD (Seasonal Affective Disorder) should I do this everytime the acronym SAD appears in a document?
<abbr title="Seasonal Affective Disorder">SAD</abbr>
If you do only define it once, does it have to be the very first time the abbreviation appears or could it be the 3rd or 4th time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
根据维基百科风格手册,您应该只解释缩写一次。我也会将其扩展到您的情况,并且仅在第一次出现时使用缩写。
As per Wikipedias Manual of Style you should only explain an abbreviation once. I would extend this to your case as well and only use the abbreviation on first occurence.
这取决于您的文档的结构以及您期望人们如何到达并阅读该文档。
例如,如果文档中有多个
anchor
,并且用户可以从另一个页面到达页面中间,或者从页面顶部向下跳到页面,那么最好在每个实例中使用...以确保访问者得到解释。
此外,为了便于访问,使用屏幕阅读器的人最好能听到缩写的读出。
This depends on how you document is structured and how you expect people to arrive at and read the document.
For instance, if there are multiple
anchor
s in the document and the user could arrive at the middle of the page from another page or jump down the page from the top of the page, then it would be best to use<abbr>
in every instance... to ensure the visitor gets the explanation.Moreover, for accessibility, it would be best for those who use screen readers to hear the abbreviation read out.
最好在每次使用时都定义一个首字母缩略词,但是在文档中定义一次也是可以接受的。
或者,为了使常量定义更容易,您可以将上面的字符串分配给 php 变量,并使用它来输出 html(如果它确实很常用)。
编辑:从 SEO 的角度来看,您最好更改第一次出现,因为许多搜索引擎使用第一次出现来分配页面中的某些特征。
Preferably you should define an acronym whenever you use it, however defining it once in a document is also acceptable.
Alternatively to make constant defining easier you could assign the above string to a php variable and use that to output the the html if it was a really that commonly used.
Edit: From a SEO point of view you would want to preferable change the first occurrence as the first occurrence is what many search engines use to assign certain characteristics in a page.
第一次出现时应明确说明。
Accessiweb 参考列表中的标准 9.3 总结很好(缩写测试#2)
相关 WCAG 2.0 足够的技术是(不是规范性的,您可以使用自己的实现):
The first occurence should be explicited.
Criterion 9.3 from Accessiweb reference list summarizes it well (test #2 for abbreviations)
Relevant WCAG 2.0 sufficient techniques are (not normative, you may come with your own implementation):