Parent Directory
|
Revision Log
reflect id changes
| 1 | apache | 1.4 | #pattern |
| 2 | <span class=secno>* </span>Text-level semantics | ||
| 3 | #ja | ||
| 4 | <span class=secno>$1 </span>文章水準の意味 | ||
| 5 | |||
| 6 | #en | ||
| 7 | wakaba | 1.24 | <a href=#interactive-content-0>Interactive content</a>. |
| 8 | apache | 1.4 | #ja |
| 9 | wakaba | 1.24 | <a href=#interactive-content-0>対話的内容</a>。 |
| 10 | apache | 1.4 | |
| 11 | #en | ||
| 12 | wakaba | 1.24 | <a href=#phrasing-content-0>Phrasing content</a>, but there must be no <a |
| 13 | href=#interactive-content-0>interactive content</a> descendant. | ||
| 14 | apache | 1.4 | #ja |
| 15 | wakaba | 1.24 | <a href=#phrasing-content-0>語句付け内容</a>、ただし<a |
| 16 | href=#interactive-content-0>対話的内容</a>な子孫があっては[[MUST NOT:なりません]]。 | ||
| 17 | apache | 1.4 | |
| 18 | apache | 1.1 | #en |
| 19 | wakaba | 1.24 | Where <a href=#phrasing-content-0>phrasing content</a> is expected. |
| 20 | apache | 1.1 | #ja |
| 21 | wakaba | 1.24 | <a href=#phrasing-content-0>語句付け内容</a>が期待される場所。 |
| 22 | apache | 1.4 | |
| 23 | #en | ||
| 24 | wakaba | 1.24 | The <code title=command-ro><a href=#command-ro>Command</a></code> |
| 25 | apache | 1.4 | interface must also be implemented by this element. |
| 26 | #ja | ||
| 27 | wakaba | 1.24 | <code title=command-ro><a href=#command-ro>Command</a></code> |
| 28 | apache | 1.4 | 界面もこの要素に実装しなければ[[MUST:なりません]]。 |
| 29 | |||
| 30 | #en | ||
| 31 | wakaba | 1.24 | If the <code><a href=#the-a-element>a</a></code> element has an <code |
| 32 | title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, then | ||
| 33 | it represents a <a href=#hyperlink>hyperlink</a>. | ||
| 34 | apache | 1.4 | #ja |
| 35 | wakaba | 1.24 | <code><a href=#the-a-element>a</a></code> 要素が <code |
| 36 | title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> 属性を持つ場合、 | ||
| 37 | <a href=#hyperlink>ハイパーリンク</a>を表します。 | ||
| 38 | apache | 1.4 | |
| 39 | apache | 1.5 | #en |
| 40 | wakaba | 1.24 | If the <code><a href=#the-a-element>a</a></code> element has no <code |
| 41 | title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, then | ||
| 42 | apache | 1.4 | the element is a placeholder for where a link might otherwise have been |
| 43 | placed, if it had been relevant. | ||
| 44 | #ja | ||
| 45 | wakaba | 1.24 | <code><a href=#the-a-element>a</a></code> 要素が <code |
| 46 | title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> | ||
| 47 | apache | 1.4 | 属性を持たない場合、その要素は、もし関係があったとするとリンクが置かれていたであろう場所に場所持ち子です。 |
| 48 | |||
| 49 | #en | ||
| 50 | The <code title=attr-hyperlink-target><a | ||
| 51 | wakaba | 1.24 | href=#attr-fs-target>target</a></code>, <code title=attr-hyperlink-ping><a |
| 52 | href=#ping>ping</a></code>, <code title=attr-hyperlink-rel><a | ||
| 53 | href=#attr-hyperlink-rel>rel</a></code>, <code title=attr-hyperlink-media><a | ||
| 54 | href=#media-element-new-resource-task-source>media</a></code>, <code title=attr-hyperlink-hreflang><a | ||
| 55 | href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code | ||
| 56 | title=attr-hyperlink-type><a href=#dom-command-type>type</a></code> attributes | ||
| 57 | apache | 1.4 | must be omitted if the <code title=attr-hyperlink-href><a |
| 58 | wakaba | 1.24 | href=#attr-hyperlink-href>href</a></code> attribute is not present. |
| 59 | apache | 1.4 | #ja |
| 60 | 属性 <code title=attr-hyperlink-target><a | ||
| 61 | wakaba | 1.24 | href=#attr-fs-target>target</a></code>, <code title=attr-hyperlink-ping><a |
| 62 | href=#ping>ping</a></code>, <code title=attr-hyperlink-rel><a | ||
| 63 | href=#attr-hyperlink-rel>rel</a></code>, <code title=attr-hyperlink-media><a | ||
| 64 | href=#media-element-new-resource-task-source>media</a></code>, <code title=attr-hyperlink-hreflang><a | ||
| 65 | href=#attr-hyperlink-hreflang>hreflang</a></code>, <code | ||
| 66 | title=attr-hyperlink-type><a href=#dom-command-type>type</a></code> は、 | ||
| 67 | apache | 1.4 | <code title=attr-hyperlink-href><a |
| 68 | wakaba | 1.24 | href=#attr-hyperlink-href>href</a></code> 属性がない場合、省略しなければ[[MUST:なりません]]。 |
| 69 | apache | 1.4 | |
| 70 | #en | ||
| 71 | If a site uses a consistent navigation toolbar on every page, then the | ||
| 72 | link that would normally link to the page itself could be marked up using | ||
| 73 | wakaba | 1.24 | an <code><a href=#the-a-element>a</a></code> element: |
| 74 | apache | 1.4 | #ja |
| 75 | あるサイトが各頁で共通の誘導ツールバーを用いている場合、 | ||
| 76 | wakaba | 1.24 | 通常はその頁自体にリンクしているリンクは <code><a href=#the-a-element>a</a></code> |
| 77 | apache | 1.4 | 要素を用いてマーク付けすることができます。 |
| 78 | |||
| 79 | #en | ||
| 80 | <nav> | ||
| 81 | <ul> | ||
| 82 | wakaba | 1.24 | <li> <a href=/>Home</a> </li> |
| 83 | <li> <a href=/news>News</a> </li> | ||
| 84 | apache | 1.4 | <li> <a>Examples</a> </li> |
| 85 | wakaba | 1.24 | <li> <a href=/legal>Legal</a> </li> |
| 86 | apache | 1.4 | </ul> |
| 87 | </nav> | ||
| 88 | #ja | ||
| 89 | <nav> | ||
| 90 | <ul> | ||
| 91 | wakaba | 1.24 | <li> <a href=/>家</a> </li> |
| 92 | <li> <a href=/news>おしらせ</a> </li> | ||
| 93 | apache | 1.4 | <li> <a>例</a> </li> |
| 94 | wakaba | 1.24 | <li> <a href=/legal>法的事項</a> </li> |
| 95 | apache | 1.4 | </ul> |
| 96 | </nav> | ||
| 97 | |||
| 98 | #en | ||
| 99 | wakaba | 1.24 | Interactive user agents should allow users to <a href=#following-hyperlinks |
| 100 | apache | 1.4 | title="following hyperlinks">follow hyperlinks</a> created using the |
| 101 | wakaba | 1.24 | <code><a href=#the-a-element>a</a></code> element. The <code |
| 102 | title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>, <code | ||
| 103 | title=attr-hyperlink-target><a href=#attr-fs-target>target</a></code> and <code | ||
| 104 | title=attr-hyperlink-ping><a href=#ping>ping</a></code> attributes | ||
| 105 | apache | 1.4 | decide how the link is followed. The <code title=attr-hyperlink-rel><a |
| 106 | wakaba | 1.24 | href=#attr-hyperlink-rel>rel</a></code>, <code title=attr-hyperlink-media><a |
| 107 | href=#media-element-new-resource-task-source>media</a></code>, <code title=attr-hyperlink-hreflang><a | ||
| 108 | href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code | ||
| 109 | title=attr-hyperlink-type><a href=#dom-command-type>type</a></code> attributes may | ||
| 110 | apache | 1.4 | be used to indicate to the user the likely nature of the target resource |
| 111 | before the user follows the link. | ||
| 112 | #ja | ||
| 113 | wakaba | 1.24 | 対話的利用者エージェントは、利用者が <code><a href=#the-a-element>a</a></code> |
| 114 | 要素を使って作られた<a href=#following-hyperlinks | ||
| 115 | apache | 1.4 | title="following hyperlinks">ハイパーリンクをたどる</a>ことができるようにする[[SHOULD:べきです]]。 |
| 116 | 属性 <code | ||
| 117 | wakaba | 1.24 | title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>, <code |
| 118 | title=attr-hyperlink-target><a href=#attr-fs-target>target</a></code>, <code | ||
| 119 | title=attr-hyperlink-ping><a href=#ping>ping</a></code> | ||
| 120 | apache | 1.6 | は、リンクがどうたどられるかを決めます。属性 <code title=attr-hyperlink-rel><a |
| 121 | wakaba | 1.24 | href=#attr-hyperlink-rel>rel</a></code>, <code title=attr-hyperlink-media><a |
| 122 | href=#media-element-new-resource-task-source>media</a></code>, <code title=attr-hyperlink-hreflang><a | ||
| 123 | href=#attr-hyperlink-hreflang>hreflang</a></code>, <code | ||
| 124 | title=attr-hyperlink-type><a href=#dom-command-type>type</a></code> | ||
| 125 | apache | 1.6 | は、利用者がリンクをたどる前に対象資源の性質がどうでありそうかを利用者に示すために使って[[MAY:構いません]]。 |
| 126 | apache | 1.4 | |
| 127 | #en | ||
| 128 | wakaba | 1.24 | The <a href=#activation-behavior>activation behavior</a> of <code><a |
| 129 | href=#the-a-element>a</a></code> elements that represent <span>hyperlinks</span> is | ||
| 130 | apache | 1.4 | to run the following steps: |
| 131 | #ja | ||
| 132 | <span>ハイパーリンク</span>を表す <code><a | ||
| 133 | wakaba | 1.24 | href=#the-a-element>a</a></code> 要素の<a href=#activation-behavior>活性化動作</a>は、 |
| 134 | apache | 1.4 | 次の段階を動作させることです。 |
| 135 | |||
| 136 | #en | ||
| 137 | If the <code title=event-DOMActivate>DOMActivate</code> event in | ||
| 138 | question is not <span title=concept-events-trusted>trusted</span> (i.e. | ||
| 139 | wakaba | 1.24 | a <code title=dom-click><a href=#dom-click>click()</a></code> method call |
| 140 | apache | 1.4 | was the reason for the event being dispatched), and the <code><a |
| 141 | wakaba | 1.24 | href=#the-a-element>a</a></code> element's <code title=attr-hyperlink-target><a |
| 142 | href=#attr-fs-target>target</a></code> attribute is <span | ||
| 143 | apache | 1.4 | class=big-issue>...</span> then raise an <code>INVALID_ACCESS_ERR</code> |
| 144 | exception and abort these steps. | ||
| 145 | #ja | ||
| 146 | 当該 <code title=event-DOMActivate>DOMActivate</code> 事象が<span title=concept-events-trusted>信用でき</span>ない場合 (つまり、 | ||
| 147 | wakaba | 1.24 | <code title=dom-click><a href=#dom-click>click()</a></code> |
| 148 | apache | 1.4 | メソッド呼び出しが事象の発送の理由である場合) で、 <code><a |
| 149 | wakaba | 1.24 | href=#the-a-element>a</a></code> 要素の <code title=attr-hyperlink-target><a |
| 150 | href=#attr-fs-target>target</a></code> 属性が <span | ||
| 151 | apache | 1.4 | class=big-issue>...</span> である場合、 <code>INVALID_ACCESS_ERR</code> |
| 152 | 例外を発生させ、これらの段階を停止します。 | ||
| 153 | |||
| 154 | #en | ||
| 155 | If the target of the <code title=event-DOMActivate>DOMActivate</code> | ||
| 156 | wakaba | 1.24 | event is an <code><a href=#the-img-element>img</a></code> element with an <code |
| 157 | title=attr-img-ismap><a href=#attr-img-ismap>ismap</a></code> attribute | ||
| 158 | apache | 1.4 | specified, then server-side image map processing must be performed, as |
| 159 | follows: | ||
| 160 | #ja | ||
| 161 | <code title=event-DOMActivate>DOMActivate</code> 事象の対象が | ||
| 162 | wakaba | 1.24 | <code><a href=#the-img-element>img</a></code> 要素で、その <code |
| 163 | title=attr-img-ismap><a href=#attr-img-ismap>ismap</a></code> 属性が指定されている場合、 | ||
| 164 | apache | 1.4 | 鯖側画像写像処理を次のように行わなければ[[MUST:なりません]]。 |
| 165 | |||
| 166 | #en | ||
| 167 | If the <code title=event-DOMActivate>DOMActivate</code> event was | ||
| 168 | dispatched as the result of a real pointing-device-triggered <code | ||
| 169 | title=event-click>click</code> event on the <code><a | ||
| 170 | wakaba | 1.24 | href=#the-img-element>img</a></code> element, then let <var title="">x</var> be |
| 171 | apache | 1.4 | the distance in CSS pixels from the left edge of the image to the |
| 172 | location of the click, and let <var title="">y</var> be the distance in | ||
| 173 | CSS pixels from the top edge of the image to the location of the click. | ||
| 174 | Otherwise, let <var title="">x</var> and <var title="">y</var> be zero. | ||
| 175 | #ja | ||
| 176 | apache | 1.8 | <code title=event-DOMActivate>DOMActivate</code> 事象が、現実に指示装置が誘発した |
| 177 | apache | 1.4 | <code><a |
| 178 | wakaba | 1.24 | href=#the-img-element>img</a></code> 要素上の <code |
| 179 | apache | 1.4 | title=event-click>click</code> 事象の結果として発送された場合、 |
| 180 | <var title="">x</var> を画像の左辺からクリックの位置までの CSS 画素による距離とし、 | ||
| 181 | <var title="">y</var> を画像の上辺からクリックの位置までの CSS 画素による距離とします。 | ||
| 182 | それ以外の場合、 <var title="">x</var> と <var title="">y</var> | ||
| 183 | を零とします。 | ||
| 184 | |||
| 185 | #en | ||
| 186 | wakaba | 1.24 | Let the <dfn id=hyperlink-suffix><var>hyperlink suffix</var></dfn> be a |
| 187 | apache | 1.4 | U+003F QUESTION MARK character, the value of <var title="">x</var> |
| 188 | |||
| 189 | expressed as a base-ten integer using ASCII digits (U+0030 DIGIT ZERO | ||
| 190 | to U+0039 DIGIT NINE), a U+002C COMMA character, and the value of <var | ||
| 191 | title="">y</var> expressed as a base-ten integer using ASCII digits. | ||
| 192 | #ja | ||
| 193 | wakaba | 1.24 | <dfn id=hyperlink-suffix><var>ハイパーリンク接尾辞</var></dfn>をU+003F QUESTION MARK |
| 194 | apache | 1.4 | 文字、 <var title="">x</var> の値の ASCII 数字 (U+0030 DIGIT ZERO |
| 195 | から U+0039 DIGIT NINE) を使った十進整数表現、 U+002C COMMA | ||
| 196 | 文字、 <var | ||
| 197 | title="">y</var> の値の ASCII 数字を使った十進整数表現とします。 | ||
| 198 | |||
| 199 | #en | ||
| 200 | wakaba | 1.24 | Finally, the user agent must <a href=#following-hyperlinks title="following |
| 201 | apache | 1.4 | hyperlinks">follow the hyperlink</a> defined by the <code><a |
| 202 | wakaba | 1.24 | href=#the-a-element>a</a></code> element. If the steps above defined a <var><a |
| 203 | href=#hyperlink-suffix>hyperlink suffix</a></var>, then take that into | ||
| 204 | apache | 1.4 | account when following the hyperlink. |
| 205 | #ja | ||
| 206 | 最後に、利用者エージェントは <code><a | ||
| 207 | wakaba | 1.24 | href=#the-a-element>a</a></code> 要素で定義される<a href=#following-hyperlinks title="following |
| 208 | apache | 1.4 | hyperlinks">ハイパーリンクをたどら</a>なければ[[MUST:なりません]]。 |
| 209 | 先の段階が<var><a | ||
| 210 | wakaba | 1.24 | href=#hyperlink-suffix>ハイパーリンク接尾辞</a></var>を定義している場合、 |
| 211 | apache | 1.4 | これをハイパーリンクをたどる時に考慮に入れます。 |
| 212 | |||
| 213 | #en | ||
| 214 | One way that a user agent can enable users to follow | ||
| 215 | wakaba | 1.24 | hyperlinks is by allowing <code><a href=#the-a-element>a</a></code> elements to be |
| 216 | apache | 1.4 | clicked, or focussed and activated by the keyboard. This <span |
| 217 | title="interactive elements">will cause</span> the aforementioned <a | ||
| 218 | wakaba | 1.24 | href=#activation-behavior>activation behavior</a> to be invoked. |
| 219 | apache | 1.4 | #ja |
| 220 | 利用者がハイパーテキストをたどることができるように利用者エージェントがする1つの方法は、 | ||
| 221 | wakaba | 1.24 | <code><a href=#the-a-element>a</a></code> をクリックできるようにするか、 |
| 222 | apache | 1.4 | 鍵盤から焦点を当て、活性化できるようにすることです。これによって先述の<a |
| 223 | wakaba | 1.24 | href=#activation-behavior>活性化動作</a>が呼び出される<span |
| 224 | apache | 1.4 | title="interactive elements">ことになります</span>。 |
| 225 | |||
| 226 | #en | ||
| 227 | wakaba | 1.24 | The DOM attributes <dfn id=dom-a-href |
| 228 | title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping | ||
| 229 | title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target | ||
| 230 | title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel | ||
| 231 | title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media | ||
| 232 | title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang | ||
| 233 | title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=attr-script-type | ||
| 234 | apache | 1.4 | title=dom-a-type><code>type</code></dfn>, must each <a |
| 235 | wakaba | 1.24 | href=#reflect>reflect</a> the respective content attributes of the same |
| 236 | apache | 1.4 | name. |
| 237 | #ja | ||
| 238 | wakaba | 1.24 | DOM 属性 <dfn id=dom-a-href |
| 239 | title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping | ||
| 240 | title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target | ||
| 241 | title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel | ||
| 242 | title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media | ||
| 243 | title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang | ||
| 244 | title=dom-a-hreflang><code>hreflang</code></dfn>, <dfn id=attr-script-type | ||
| 245 | apache | 1.4 | title=dom-a-type><code>type</code></dfn> |
| 246 | は、それぞれ同じ名前の内容属性を<a | ||
| 247 | wakaba | 1.24 | href=#reflect>反映</a>しなければ[[MUST:なりません]]。 |
| 248 | apache | 1.4 | |
| 249 | #en | ||
| 250 | wakaba | 1.24 | The DOM attribute <dfn id=dom-a-rellist |
| 251 | apache | 1.4 | title=dom-a-rellist><code>relList</code></dfn> must <a |
| 252 | wakaba | 1.24 | href=#reflect>reflect</a> the <code title=attr-hyperlink-rel><a |
| 253 | href=#attr-hyperlink-rel>rel</a></code> content attribute. | ||
| 254 | apache | 1.4 | #ja |
| 255 | wakaba | 1.24 | DOM 属性 <dfn id=dom-a-rellist |
| 256 | apache | 1.4 | title=dom-a-rellist><code>relList</code></dfn> は <code title=attr-hyperlink-rel><a |
| 257 | wakaba | 1.24 | href=#attr-hyperlink-rel>rel</a></code> 内容属性を<a |
| 258 | href=#reflect>反映</a>しなければ[[MUST:なりません]]。 | ||
| 259 | apache | 1.4 | |
| 260 | |||
| 261 | |||
| 262 | apache | 1.2 | |
| 263 | #en | ||
| 264 | wakaba | 1.24 | One or more groups of: <a href=#phrasing-content-0>phrasing content</a> |
| 265 | apache | 1.2 | |
| 266 | wakaba | 1.24 | followed either by a single <code><a href=#the-rt-element>rt</a></code> element, or |
| 267 | an <code><a href=#the-rp-element>rp</a></code> element, an <code><a | ||
| 268 | href=#the-rt-element>rt</a></code> element, and another <code><a | ||
| 269 | href=#the-rp-element>rp</a></code> element. | ||
| 270 | apache | 1.2 | #ja |
| 271 | wakaba | 1.24 | 次の群を1つ以上: <a href=#phrasing-content-0>語句付け内容</a>の後に、 |
| 272 | <code><a href=#the-rt-element>rt</a></code> 要素が1つか、または | ||
| 273 | <code><a href=#the-rp-element>rp</a></code> 要素と <code><a | ||
| 274 | href=#the-rt-element>rt</a></code> 要素と別の <code><a | ||
| 275 | href=#the-rp-element>rp</a></code> 要素、のいずれかが続く。 | ||
| 276 | apache | 1.2 | |
| 277 | #en | ||
| 278 | wakaba | 1.24 | The <code><a href=#the-ruby-element>ruby</a></code> element allows one or more |
| 279 | apache | 1.2 | spans of phrasing content to be marked with ruby annotations. |
| 280 | #ja | ||
| 281 | wakaba | 1.24 | <code><a href=#the-ruby-element>ruby</a></code> 要素は、 |
| 282 | apache | 1.2 | 1つ以上の語句付け内容の範囲にルビ注釈を付すことができます。 |
| 283 | |||
| 284 | #en | ||
| 285 | wakaba | 1.24 | A <code><a href=#the-ruby-element>ruby</a></code> element represents the spans of |
| 286 | apache | 1.2 | phrasing content it contains, ignoring all the child <code><a |
| 287 | wakaba | 1.24 | href=#the-rt-element>rt</a></code> and <code><a href=#the-rp-element>rp</a></code> elements |
| 288 | apache | 1.2 | and their descendants. Those spans of phrasing content have associated |
| 289 | wakaba | 1.24 | annotations created using the <code><a href=#the-rt-element>rt</a></code> element. |
| 290 | apache | 1.2 | #ja |
| 291 | wakaba | 1.24 | <code><a href=#the-ruby-element>ruby</a></code> 要素は、すべての子供 <code><a |
| 292 | href=#the-rt-element>rt</a></code> 要素・<code><a href=#the-rp-element>rp</a></code> 要素とその子孫を無視したときの、 | ||