diff --git a/source b/source index 324d5e9f76f..2b5eab5f9aa 100644 --- a/source +++ b/source @@ -2974,6 +2974,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
To get the focusable area for a focus target that is either an element that is not a focusable area, or is a browsing context, given an - optional string focus trigger, run the first matching set of steps from the following - list:
+ optional string focus trigger (default "other
"), run the first
+ matching set of steps from the following list:
area
element with one or more shapes that are
@@ -74993,28 +74994,28 @@ END:VCARD
If focus target is a shadow-including inclusive ancestor of the currently focused area of a top-level browsing context's DOM anchor, - then return null.
Otherwise:
+Let autofocus delegate be the autofocus delegate for focus + target given focus trigger.
click
", then let possible
- focus delegates be the list of all click focusable focusable areas whose DOM anchor is a descendant
- of focus target in the flat tree.If autofocus delegate is not null, then return autofocus + delegate.
If focus trigger is "click
", then let possible
+ focus delegates be the list of all click focusable focusable areas whose DOM anchor is a descendant
+ of focus target in the flat tree.
Otherwise, let possible focus delegates be the list of all focusable areas whose DOM anchor is a descendant + of focus target in the flat tree.
Return the first focusable area in tree order of who their + DOM anchors are in possible focus delegates, or + null if possible focus delegates is empty.
For sequential focusability, the @@ -75029,6 +75030,36 @@ END:VCARD
Return null.
The autofocus delegate for a focus target given a focus + trigger is given by the following steps:
+ +For each descendant descendant of focus target, in + tree order:
+ +If descendant does not have an autofocus
content attribute, then
+ continue.
Let focusable area be descendant, if descendant is a + focusable area; otherwise let focusable area be the result of getting the focusable area for descendant + given focus trigger.
If focusable area is null, then continue.
If focusable area is not click focusable and focus
+ trigger is "click
", then continue.
Return focusable area.
Return null.
The focusing steps for an object new focus target that is either a focusable area, or an element that is not a focusable area, or a browsing context, are as follows. They can optionally be run with a fallback