From 383e1a95fa6615d1ed9c0a0c5f3d11794cfccc4c Mon Sep 17 00:00:00 2001
From: Domenic Denicola 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:other
"), run the first
+ matching set of steps from the following list:
area
element with one or more shapes that are
@@ -75022,28 +75023,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 @@ -75058,6 +75059,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