@@ -433,6 +433,39 @@ Issue: The UA stylesheet needs to specify that ''::scroll-button()''s
433
433
are styled identically to the <{button}> element.
434
434
435
435
436
+ <h3 id=focus-order>
437
+ Focus Navigation Order</h3>
438
+
439
+ The above features generate several focusable pseudo-elements.
440
+ While these pseudo-elements have a defined position in the element tree,
441
+ this isn't an optimal position for focus navigation
442
+ (aka "tab order")
443
+ for these controls.
444
+
445
+ Instead,
446
+ focus navigation between a [=scroll container=]
447
+ and the various pseudo-elements defined in this section
448
+ goes in the following order:
449
+
450
+ 1. The '' ::scroll-marker-group'' pseudo-elements of the [=scroll container=],
451
+ if it is set to '' scroll-marker-group: before''.
452
+
453
+ Note: The individual '' ::scroll-marker'' pseudo-elements
454
+ generated by the [=scroll containers=] descendants
455
+ are reparented underneath this '' ::scroll-marker-group'',
456
+ and navigated together as a "focus group".
457
+
458
+ 2. The '' ::scroll-button()'' pseudo-elements,
459
+ in the order they're defined as existing in.
460
+
461
+ 3. The [=scroll container=] itself,
462
+ and its contents,
463
+ in the normal focus order they would be in.
464
+
465
+ 4. The '' ::scroll-marker-group'' pseudo-elements of the [=scroll container=],
466
+ if it is set to '' scroll-marker-group: after''.
467
+
468
+
436
469
<h2 id="fragmentation" class=no-num>
437
470
Appendix A: Redirection of Overflow</h2>
438
471
0 commit comments