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
- Replace reference to focus section of HTML 4.01 spec with reference to
focus section of the HTML living standard in non-normative documents
- correct uses of lists to be either unordered or ordered as appropriate
- correct relative links
---------
Co-authored-by: Patrick H. Lauke
Co-authored-by: Alastair Campbell
Co-authored-by: Mike Gower
Co-authored-by: Wilco Fiers
Co-authored-by: Mike Gower
Co-authored-by: Giacomo Petri
Co-authored-by: Bruce Bailey
Copy file name to clipboardExpand all lines: understanding/20/focus-order.html
+23-73Lines changed: 23 additions & 73 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,6 @@
In brief
21
21
<sectionid="intent">
22
22
<h2>Intent of Focus Orderh2>
23
23
24
-
25
24
<p>The intent of this Success Criterion is to ensure that when users navigate sequentially
26
25
through content, they encounter information in an order that is consistent with the
27
26
meaning of the content and can be operated from the keyboard. This reduces confusion
@@ -34,10 +33,9 @@
Intent of Focus Order
34
33
<p>The way that sequential navigation order is determined in Web content is defined by
35
34
the technology of the content. For example, simple HTML defines sequential navigation
36
35
via the notion of tabbing order. Dynamic HTML may modify the navigation sequence using
37
-
scripting along with the addition of a tabindex attribute to allow focus to additional
38
-
elements. If no scripting or tabindex attributes are used, the navigation order is
39
-
the order that components appear in the content stream. (See HTML 4.01 Specification,
40
-
section 17.11, "Giving focus to an element").
36
+
scripting along with the addition of a <codeclass="language-html">tabindexcode> attribute to allow focus to additional
37
+
elements. If no scripting or <codeclass="language-html">tabindexcode> attributes are used, the navigation order is
38
+
the order that components appear in the content stream. (See <ahref="https://html.spec.whatwg.org/multipage/interaction.html#focus"><cite>Focuscite> in the HTML Living Standarda>).
41
39
p>
42
40
43
41
<p>An example of keyboard navigation that is not the sequential navigation addressed
@@ -50,7 +48,7 @@
Intent of Focus Order
50
48
p>
51
49
52
50
<p>The focus order may not be identical to the programmatically determined reading order
53
-
(see Success Criterion 1.3.2) as long as the user can still understand and operate
51
+
(see <ahref="meaningful-sequence.html">Success Criterion 1.3.2a>) as long as the user can still understand and operate
54
52
the Web page. Since there may be several possible logical reading orders for the content,
55
53
the focus order may match any of them. However, when the order of a particular presentation
56
54
differs from the programmatically determined reading order, users of one of these
@@ -145,7 +143,7 @@
Examples of Focus Order
145
143
<p>An HTML Web page is created with the left hand navigation occurring in the HTML after
146
144
the main body content, and styled with CSS to appear on the left hand side of the
147
145
page. This is done to allow focus to move to the main body content first without requiring
148
-
tabIndex attributes or JavaScript.
146
+
<codeclass="language-html">tabindexcode> attributes or JavaScript.
149
147
p>
150
148
151
149
<divclass="note">
@@ -186,110 +184,62 @@
Resources for Focus Order
186
184
<sectionid="techniques">
187
185
<h2>Techniques for Focus Orderh2>
188
186
189
-
190
187
<sectionid="sufficient">
191
188
<h3>Sufficient Techniques for Focus Orderh3>
192
189
193
-
194
190
<ul>
195
-
196
-
<li>
197
-
198
-
<ahref="../Techniques/general/G59" class="general">Placing the interactive elements in an order that follows sequences and relationships
199
-
within the content
200
-
a>
201
-
191
+
<li>
192
+
<ahref="../Techniques/general/G59">Placing the interactive elements in an order that follows sequences and relationships within the contenta>
202
193
li>
203
-
204
194
<li>
205
-
206
-
<p>Giving focus to elements in an order that follows sequences and relationships within
207
-
the content using one of the following techniques:
195
+
<p>Giving focus to elements in an order that follows sequences and relationships within the content using one of the following techniques:
208
196
p>
209
-
210
197
<ul>
211
-
212
-
<li>
213
-
214
-
<ahref="../Techniques/css/C27" class="css">Making the DOM order match the visual ordera>
215
-
198
+
<li>
199
+
<ahref="../Techniques/css/C27">Making the DOM order match the visual ordera>
216
200
li>
217
-
218
201
<li>
219
-
220
-
<ahref="../Techniques/pdf/PDF3" class="pdf">a>
221
-
202
+
<ahref="../Techniques/pdf/PDF3">a>
222
203
li>
223
-
224
204
ul>
225
-
226
205
li>
227
-
228
206
<li>
229
-
230
207
<p>Changing a Web page dynamically using one of the following techniques:p>
231
-
232
208
<ul>
233
-
234
-
<li>
235
-
236
-
<ahref="../Techniques/client-side-script/SCR26" class="script">Inserting dynamic content into the Document Object Model immediately following its
237
-
trigger element
209
+
<li>
210
+
<ahref="../Techniques/client-side-script/SCR26">Inserting dynamic content into the Document Object Model immediately following its trigger element
238
211
a>
239
-
240
212
li>
241
-
242
-
<li>
243
-
244
-
<ahref="../Techniques/HTML/H102" class="script">Creating modal dialogs with the HTML dialog elementa>
245
-
213
+
<li>
214
+
<ahref="../Techniques/HTML/H102" class="script">Creating modal dialogs with the HTML dialog elementa>
246
215
li>
247
-
248
-
<li>
249
-
250
-
<ahref="../Techniques/client-side-script/SCR27" class="script">Reordering page sections using the Document Object Modela>
251
-
216
+
<li>
217
+
<ahref="../Techniques/client-side-script/SCR27" class="script">Reordering page sections using the Document Object Modela>
252
218
li>
253
-
254
219
ul>
255
-
256
220
li>
257
-
258
-
ul>
259
-
221
+
ul>
260
222
section>
261
223
262
224
<sectionid="advisory">
263
225
<h3>Additional Techniques (Advisory) for Focus Orderh3>
264
-
265
226
section>
266
227
267
228
<sectionid="failure">
268
229
<h3>Failures for Focus Orderh3>
269
230
270
-
271
231
<ul>
272
-
273
-
<li>
274
-
275
-
<ahref="../Techniques/failures/F44" class="failure">Failure of 2.4.3 due to using tabindex to create a tab order that does not preserve
276
-
meaning and operability
232
+
<li>
233
+
<ahref="../Techniques/failures/F44" class="failure">Failure of 2.4.3 due to using <codeclass="language-html">tabindexcode> to create a tab order that does not preserve meaning and operability
277
234
a>
278
-
279
235
li>
280
-
281
-
<li>
282
-
283
-
<ahref="../Techniques/failures/F85" class="failure">Failure of Success Criterion 2.4.3 due to using dialogs or menus that are not adjacent
284
-
to their trigger control in the sequential navigation order
285
-
a>
286
-
236
+
<li>
237
+
<ahref="../Techniques/failures/F85" class="failure">Failure of Success Criterion 2.4.3 due to using dialogs or menus that are not adjacent to their trigger control in the sequential navigation order
0 commit comments