abbr
要素型 (HTML, XHTML 1)仕様書:
(%inline;)*
%phrase
⊂ %inline
な文脈属性名 | 属性値 | 既定値 | 説明 | 出典 | |
class | 級 | [HTML4] %coreattr | |||
dir | 書字方向 | [HTML4] %i18n | |||
full | IDREF | 完全形 | W3C WD | XHTML2 | |
id | 一意識別子 | [HTML4] %coreattr | |||
lang | 自然言語 | [HTML4] %i18n | |||
xml:lang | 自然言語 | [XHTML1] | |||
onclick | [HTML4] %events | ||||
ondblclick | [HTML4] %events | ||||
onkeydown | [HTML4] %events | ||||
onkeypress | [HTML4] %events | ||||
onkeyup | [HTML4] %events | ||||
onmousedown | [HTML4] %events | ||||
onmousemove | [HTML4] %events | ||||
onmouseout | [HTML4] %events | ||||
onmouseover | [HTML4] %events | ||||
onmouseup | [HTML4] %events | ||||
style | スタイル情報 | [HTML4] %coreattr | |||
title | 注釈的題 | [HTML4] %coreattr |
[35]
ruby
要素型が標準化される前に abbr
を使ってルビを表現することが提案されたことがありました。
CoCoNuts Club/computer http://www2.odn.ne.jp/nuts/nuts/computer.html#ruby (1998年9月付け)
(名無しさん [sage])
[46] abbr要素と acronym要素の違い http://www.seo-equation.com/www/cat24/abbr_acronym_difference (名無しさん)
[48] unAPI.info - unAPI version 1 http://unapi.info/specs/
どうみても濫用です、本当に(ry。空にしたら Tidy に怒られるから注釈を入れればとかもうあほかと。
(名無しさん 2006-12-13 12:14:16 +00:00)
[32] abbr
要素の内容としては省略形を記述します。
完全形 (展開形) は title
属性を使って記述します。
[33] HTML の仕様では一般に title
属性は要素についての追加情報を (自然言語文で)
記述できることになっています。 abbr
要素も例外ではなく、そのような通常の用法に加えて、
特に非省略形の記述のためにも使えることとなっています。
[34] このように一般の title
属性を流用したために
abbr
要素から省略形と非省略形を取出す、
というような使い方が完全にはできないことを問題であると考える人もいます。
[47] caramel*vanilla » 頭文字語と略語から定義リストを生成 - Auto-Glossary http://caramel-tea.com/2006/11/auto_glossary/ (名無しさん 2006-11-30 00:13:37 +00:00)
[3] HTML 4 仕様書は特に典型的レンダリング例を挙げていません。
[23] 一部の WWWブラウザの既定のレンダリングや多くのサイトの著者スタイルでは、
title
属性つきの abbr
要素の border-bottom
を thin で dashed
にしたり、 cursor を help
にしたりしています。
[13] HTML 3.0 では abbrev
要素型が定義されていました。
現在の abbr
に相当する要素型です。
辞書を引いてみると、 abbr
も abbrev
も共に abbreviation
, abbreviated
の略語となっています。どちらもそれなりに使われているのでしょう。
The ABBR and ACRONYM elements allow authors to clearly indicate occurrences of abbreviations and acronyms. Western languages make extensive use of acronyms such as "GmbH", "NATO", and "F.B.I.", as well as abbreviations like "M.", "Inc.", "et al.", "etc.". Both Chinese and Japanese use analogous abbreviation mechanisms, wherein a long name is referred to subsequently with a subset of the Han characters from the original occurrence. Marking up these constructs provides useful information to user agents and tools such as spell checkers, speech synthesizers, translation systems and search-engine indexers.
abbr
要素と acronym
要素によって、
著者は略語や頭字語を明記することができます。
西洋の言語は GmbH, NATO, F.B.I.
のような頭字語や、 M., Inc., et al.,
etc. のような略語をよく使います。
中文や日本語は、元々の漢字の部分集合で長い名前を指すという、同じような省略方式を使います。
このような構造をマーク付けすることで、綴り検査器、発話合成器、
翻訳システムや検索駆動器索引付け器のような利用者エージェント・工具に有用な情報を提供することができます。
The content of the ABBR and ACRONYM elements specifies the abbreviated expression itself, as it would normally appear in running text. The title attribute of these elements may be used to provide the full or expanded form of the expression.
abbr
要素や acronym
要素の内容は、
省略表現自体を、
その文中で普通に現れるように指定します。両要素の title
属性は、省略表現の完全 (展開) 形を提供するために使って構いません。
Note that abbreviations and acronyms often have idiosyncratic pronunciations. For example, while "IRS" and "BBC" are typically pronounced letter by letter, "NATO" and "UNESCO" are pronounced phonetically. Still other abbreviated forms (e.g., "URI" and "SQL") are spelled out by some people and pronounced as words by other people. When necessary, authors should use style sheets to specify the pronunciation of an abbreviated form.
略語や頭字語はしばしば変わった発音を持つことに注意してください。 たとえば、 IRS や BBC は典型的に文字ごとに発音しますが、 NATO や UNESCO は音声的に発音します。 他の省略形 (たとえば URI や SQL) では、 人によって省略せずに読んだり、語として発音したりします。 著者は必要なら発音をスタイル・シートで指定するべきです。
[24] 小さな AA (文字絵)
のためのマークとして abbr
要素型を使うことを WAI は提案しています。
HTML Techniques for Web Content Accessibility Guidelines 1.0 http://www.w3.org/TR/WCAG10-HTML-TECHS/#ascii-art
例:
<P><ABBR title="smiley in ASCII art">:-)</ABBR>
[25] しかし、一般に AA を何かの省略と見なすことはできないはずです。
:-) は smiley
の省略形だという話は聞いたことがありません。
このような用途に abbr
要素型を使うことは
abbr
要素型に与えられた意味を無視することであり、
その点で不思議マーク付けであります。
アクセシビリティのために要素型の意味を犠牲にしても現在使われている多くの
WWWブラウザの利用者に伝わるようにと考えるにしても、
WinIE が実装していない abbr
を使うことに利点はありません。
従いまして、 AA のマークには、 HTML だけで頑張るのであれば汎用の要素型である
div
や span
を使って class
で補足しておくか、
HTML 以外の語彙を混ぜて使うのがよいでしょう。
[51]
d:id:quaa (2007-05-11 03:30:36 +09:00
版) http://d.hatena.ne.jp/quaa/20070511#p2
(名無しさん 2007-05-11 00:38:30 +00:00)
abbrev
要素[63] abbrev
要素型は、
略語を表す要素型として HTML 3 で検討されていました。
当時は実装も多少存在していました。
[64] Keybindings for html-helper-mode version 1.34 ( 版) http://www.santafe.edu/~nelson/tools/keybindings.html
[65] XHTML2 の最初の作業原案では abbr
と acronym
の両方が残っていました。
ただし、両者の用法は同じだと言ったり、「acronym」の定義は辞書によって違うから XHTML2 的には特に定めないと言ったり、使い分けの意図があるのかすら非常に曖昧でした。
<P> <ABBR title="World Wide Web">WWW</ABBR> <ABBR lang="fr" title="Société Nationale des Chemins de Fer"> SNCF </ABBR> <ABBR lang="es" title="Doña">Doña</ABBR> <ABBR title="Abbreviation">abbr.</ABBR>
<abbr
title
="ショスタコーヴィチ交響曲第9番">タコ9</abbr
>
出典: 強調,引用,グループ化,画像などの要素 -- ごく簡単なHTMLの説明 http://www.kanzaki.com/docs/html/htminfo14.html#abbr-acr
[37] Tantek's Thoughts http://tantek.com/log/2005/01.html#d26t0100 (名無しさん [sage])
<abbr
xml:lang
="ja-2ch
"title
="それなんてエロゲ?">SNEG</abbr
>
(名無しさん [sage])
[45] 省略を表す句点と文末を表す句点
Scotland is a part of the <abbr>U.K.</abbr>
英語の文中で、省略を表すためのFULL STOP
が文末に来る時、文末を表すためのFULL STOP
と合わせて1つだけ書かれます。
その場合にFULL STOP
をabbr
に含めてしまうのは抵抗がありますが、他に良い方法もありませんし。
(名無しさん)
[49]
Tantek's Thoughts (Tantek Çelik 著, 2006-05-20 00:13:35 +09:00
版) http://tantek.com/log/2005/01.html#d26t0100
(名無しさん)
[50]
hAccessibility - The Web Standards Project (2007-04-29 11:24:04 +09:00
版) http://www.webstandards.org/2007/04/27/haccessibility/
(名無しさん 2007-04-29 02:29:57 +00:00)
[52]
Accessify: latest news / microformats’ ABBR design pattern raises accessibility concerns (Ian Lloyd, Accessify [http://www.accessify.com/] 著, 2007-05-26 11:43:16 +09:00
版) http://accessify.com/news/2007/04/microformats-abbr-design-pattern-raises-accessibility-concerns/
(名無しさん 2007-05-26 02:45:02 +00:00)
[55]
覚え書き@kazuhi.to: hAccessibility and Operator (2007-09-09 17:06:40 +09:00
版) http://kidachi.kazuhi.to/blog/archives/002343.html
(名無しさん)
[56]
覚え書き@kazuhi.to: microformatsとかabbr要素とか (2007-09-03 23:17:16 +09:00
版) http://kidachi.kazuhi.to/blog/archives/002341.html
(名無しさん)
[57]
覚え書き@kazuhi.to: microformatsとかabbr要素とか (2007-09-03 23:17:16 +09:00
版) http://kidachi.kazuhi.to/blog/archives/002341.html
(名無しさん)
[58]
覚え書き@kazuhi.to: microformatsとかabbr要素とか (2007-09-03 23:17:16 +09:00
版) http://kidachi.kazuhi.to/blog/archives/002341.html
(名無しさん)
[60]
Feeedback on <dfn>, <abbr>, and other elements related to cross-references (Ian Hickson <ian@...> 著, 2008-04-20 22:26:46 +09:00
版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/13786
(名無しさん)
[61]
Re: Feeedback on <dfn>, <abbr>, and other elements related to cross-references (Ian Hickson <ian@...> 著, 2008-04-23 01:42:26 +09:00
版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/13834
(名無しさん)
[62] Twitter / Public Timeline ( 版) http://twitter.com/public_timeline
<a href="http://twitter.com/mimityu/statuses/917567239" class="entry-date" rel="bookmark"><abbr class="published" title="2008-09-11T12:25:45+00:00">5秒以内</abbr> 前</a>
[3] An abbreviation, especially one followed by a period
をあらわします。
[67] [whatwg] Feedback on HTML elements ( ( 版)) http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-October/037643.html
[68] Web Applications 1.0 r7477 Spec <th abbr>. ( ( 版)) http://html5.org/tools/web-apps-tracker?from=7476&to=7477
[69] Web Applications 1.0 r7566 Update obsolete section (could have sworn I'd already done this, but I guess not.). ( ( 版)) http://html5.org/tools/web-apps-tracker?from=7565&to=7566
[70] Web Applications 1.0 r7574 Remove a case of overriding attributes, to avoid adding more problems to the ongoing overriding debate in WebIDL. ( ( 版)) http://html5.org/tools/web-apps-tracker?from=7573&to=7574
[71] Techniques for WCAG 2.0 ( ( 版)) http://www.w3.org/TR/2014/NOTE-WCAG20-TECHS-20140311/complete.html#H86
[14] Align the title attribute with implementations (annevk著, ) https://github.com/whatwg/html/commit/2102913b313078cd8eeac7e81e6a8756cbd3e773
[15] add abbr element (scottaohara著, ) https://github.com/w3c/html-aria/commit/d9be8ad615c8f05d9f7df997c2c735d3b88e5ec2
[16] missing abbr element · Issue #104 · w3c/html-aria () https://github.com/w3c/html-aria/issues/104
[17] add abbr element by scottaohara · Pull Request #105 · w3c/html-aria () https://github.com/w3c/html-aria/pull/105
[19] Stop using textContent in normative text (annevk著, ) https://github.com/whatwg/html/commit/ec860d872de3712277242655562a4d2a1325592a