You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More specifically, the user agent will first search for visible and focusable items in the direction indicated within the current spatial navigation container (by default, the root element, scrollable elements, and iframes, but other elements can be made into spatial navigation containers using the spatial-navigation-contain property).
1157
+
will first search for visible and focusable items in the direction indicated within the current spatial navigation container (by default, the root element, scrollable elements, and iframes, but other elements can be made into spatial navigation containers using the spatial-navigation-contain property).
1146
1158
</p>
1147
-
1148
-
<p>
1159
+
<ul>
1160
+
<li>
1149
1161
何かが見出された場合、
1150
-
その方向にある最良な 1 つを選取って,~focusをそこへ移動することになる。
1162
+
その方向にある最良な 1 つを~~選んで,~focusをそこへ移動することになる。
1151
1163
◎
1152
1164
If it finds any, it will pick the best one for that direction, and move the focus there.
If it does not, it will scroll the spatial navigation container in the requested direction instead of moving focus. Doing so may uncover focusable elements which would then be eligible targets to move the focus to next time spatial navigation in the same direction is requested.
1170
+
その結果,~focus可能な要素が可視になり得る
1171
+
— その場合~FN、
1172
+
それ【最初に可視になるもの】が[
1173
+
次回に同じ方向へ空間的~naviが要請されたとき,~focusを移動する適格な~target
1174
+
]になろう。
1163
1175
</p>
1164
1176
1177
+
<pclass="trans-note">【
1178
+
そこへ~scrollするが,まだ~focusを移動しない。
1179
+
】【~FN
1180
+
他の場合、
1181
+
`~scroll境界$に達するまで~scrollすることになろう。
1182
+
】</p>
1183
+
1184
+
◎
1185
+
If it does not, it will scroll the spatial navigation container in the requested direction instead of moving focus. Doing so may uncover focusable elements which would then be eligible targets to move the focus to next time spatial navigation in the same direction is requested.
1186
+
</li>
1187
+
</ul>
1188
+
</li>
1189
+
<li>
1165
1190
<p>
1166
-
[
1191
+
前項において[
1167
1192
~scroll可能な要素でないか,すでにその方向へ~scrollし切った
1168
1193
]ため,`空間的~navi容器$を~scrollできない場合、
1169
-
~UAは先祖上の連鎖~FN を遡って次にある`空間的~navi容器$を選定して,何らかの[
1194
+
先祖上の連鎖~FNを遡って,
1195
+
次に来る`空間的~navi容器$を選定した上で、
1196
+
何らかの[
1170
1197
~focus/~scroll
1171
-
]可能な要素を見出すか,`根~要素$に到達するまで,上の処理-を再帰的に繰返すことになる。
1172
-
◎
1173
-
If the spatial navigation container cannot be scrolled, either because it is not a scrollable element or because it is already scrolled to the maximum in that direction, the user agent will select the next spatial navigation container up the ancestry chain, and recursively repeat the above process until it finds some element to focus or scroll, or reaches the root element.
1198
+
]先になる要素が見出されるまで,前項の処理nを再帰的に
1199
+
— `根~要素$に到達するまで —
1200
+
繰返すことになる。
1174
1201
</p>
1175
1202
1176
1203
<pclass="trans-note">【~FN
1177
1204
この仕様に現れる “先祖” は、
1178
1205
~APIも含め,`~box~tree$に基づく先祖と解釈すべきように思われる。
1179
1206
】</p>
1207
+
◎
1208
+
If the spatial navigation container cannot be scrolled, either because it is not a scrollable element or because it is already scrolled to the maximum in that direction, the user agent will select the next spatial navigation container up the ancestry chain, and recursively repeat the above process until it finds some element to focus or scroll, or reaches the root element.
@@ -3821,24 +3852,39 @@ <h3 title="Controlling the interaction with scrolling: the spatial-navigation-ac
3821
3852
<dl>
3822
3853
<dt>`auto@v</dt>
3823
3854
<dd>
3824
-
`~scroll容器$の中の要請された方向に,可視かつ~focus可能な要素が在る場合、
3855
+
当の`~scroll容器$の中に,要請された方向において可視かつ~focus可能な要素が在る場合、
3825
3856
それらのうち最も近いものが~focusされるようになる。
3826
3857
他の場合、
3827
-
`~scroll容器$は要請された方向へ~scrollされる。
3858
+
当の`~scroll容器$は要請された方向へ~scrollされる。
3828
3859
◎
3829
3860
If there are visible focusable elements within the scroll container in the direction requested, the closest one becomes focused. Otherwise, the scroll container is scrolled in the direction requested.
The focus is moved to the nearest focusable element within the scroll container, regardless of whether it is visible. If there are none, the scroll container is not scrolled, and the search continues up the ancestry chain instead.
3887
+
The focus is moved to the nearest focusable element within the scroll container if it can be manually scrolled in that direction, regardless of whether it is visible. If there are none or it can’t be scrolled in that direction, the scroll container is not scrolled, and the search continues up the ancestry chain instead.
3842
3888
</dd>
3843
3889
<ddclass="note">注記:
3844
3890
`~scroll容器$は、
@@ -3858,16 +3904,18 @@ <h3 title="Controlling the interaction with scrolling: the spatial-navigation-ac
3858
3904
<dt>`scroll@v</dt>
3859
3905
<dd>
3860
3906
現在~focusされている要素が`~scroll容器$でない場合、
3861
-
先祖`~scroll容器$上のこの値は `auto$v と同じ効果になる。
3907
+
先祖`~scroll容器$に対する この値は `auto$v と同じ効果になる。
3862
3908
◎
3863
3909
If the currently focused element is not itself a scroll container, this value on an ancestor scroll container has the same effect as auto.
3864
3910
</dd>
3865
3911
<dd>
3866
-
現在~focusされている要素が`~scroll容器$である場合、
3867
-
~focus可能な子孫の有無に関わらず,要請された方向に~scrollされ、
3912
+
現在~focusされている要素が[
3913
+
`~scroll容器$であって,要請された方向へ`手動で~scrollできる$
3914
+
]場合、
3915
+
~focus可能な子孫の有無を問わず,要請された方向に~scrollされ、
3868
3916
どの要素が~focusされているかは変更しない。
3869
3917
◎
3870
-
If the currently focused element is a scroll container, it is scrolled in the direction requested without changing which element is in focus, regardless of the presence of focusable descendants.
3918
+
If the currently focused element is a scroll container and can be manually scrolled in the direction requested, it is scrolled in the direction requested without changing which element is in focus, regardless of the presence of focusable descendants.
3871
3919
</dd>
3872
3920
<ddclass="note">注記:
3873
3921
このことは、[
@@ -4112,20 +4160,24 @@ <h2 title="Appendix A. Scroll extensions">付録 A. ~scroll拡張</h2>
4112
4160
</p>
4113
4161
4114
4162
<p>
4115
-
~AND↓ を満たす要素 %要素 は、
4116
-
所与の方向 %方向 へ
4163
+
所与の
4164
+
( 要素 %要素, 方向 %方向 )
4165
+
に対し,
4166
+
%要素 を %方向 へ
4117
4167
`手動で~scrollできる@
4118
-
( `can be manually scrolled^en )とされる:
4168
+
( `can be manually scrolled^en )
4169
+
とは、
4170
+
%要素 が確立する`首要~box$ %~box に関して,
4171
+
~AND↓ が満たされることをいう:
4119
4172
◎
4120
4173
An element e can be manually scrolled in a given direction d if:
4121
4174
</p>
4122
-
4123
4175
<ul>
4124
4176
<li>
4125
-
%要素 が確立する`首要~box$ %~box は、
4126
-
`~scroll容器$である
4177
+
<p>
4178
+
%~box は`~scroll容器$である
4127
4179
◎
4128
-
The principal box established by e is a scroll container, and
4180
+
The principal box established by e is a scroll container\
4129
4181
</li>
4130
4182
<li>
4131
4183
<p>
@@ -4135,22 +4187,32 @@ <h2 title="Appendix A. Scroll extensions">付録 A. ~scroll拡張</h2>
4135
4187
<li>
4136
4188
`up^l / `down^l
4137
4189
⇒
4190
+
[
4191
+
`縦~軸$は %~box の`~scroll可能な軸$である【!d’s axis】
4192
+
]~AND[
4138
4193
%要素 の `overflow-y$p ~propの算出d値 ~NEQ `hidden$v
4139
-
◎
4140
-
if d is up or down, the computed value of the overflow-y property is not hidden, and
4194
+
]
4141
4195
</li>
4142
4196
<li>
4143
4197
`left^l / `right^l
4144
4198
⇒
4199
+
[
4200
+
`横~軸$は %~box の`~scroll可能な軸$である【!d’s axis】
4201
+
]~AND[
4145
4202
%要素 の `overflow-x$p ~propの算出d値 ~NEQ `hidden$v
4203
+
]
4204
+
</li>
4205
+
</ul>
4206
+
◎
4207
+
in d’s axis, and
4208
+
◎
4209
+
if d is up or down, the computed value of the overflow-y property is not hidden, and
4146
4210
◎
4147
4211
if d is left or right, the computed value of the overflow-x property is not hidden, and
4148
4212
</li>
4149
-
</ul>
4150
-
</li>
4151
4213
<li>
4152
4214
%~box は
4153
-
%方向 において`~scroll境界$に来てはいない
4215
+
%方向 において`~scroll境界$に達していない【!not at】
4154
4216
◎
4155
4217
e is not at the scroll boundary in the direction d
0 commit comments