Skip to content

Commit f61cec5

Browse files
committed
[css-overflow-5] Define an initial focus order for the scrolling pseudo-elements. #10912
1 parent eb71cd2 commit f61cec5

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

css-overflow-5/Overview.bs

+33
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,39 @@ Issue: The UA stylesheet needs to specify that ''::scroll-button()''s
433433
are styled identically to the <{button}> element.
434434
435435
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+
436469
<h2 id="fragmentation" class=no-num>
437470
Appendix A: Redirection of Overflow</h2>
438471

0 commit comments

Comments
 (0)