From 12731e8c5ffde7150635c534145b3a7fa59576eb Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Wed, 2 Nov 2022 16:58:52 -0400 Subject: [PATCH 1/4] Add "user attention" definition to top-level traversable. --- source | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source b/source index b52c88d8e48..e0433fc104c 100644 --- a/source +++ b/source @@ -76045,8 +76045,13 @@ partial interface Navigator { system, possibly targeted at one of its active document's descendant navigables.

-

System focus is lost when a browser window loses focus, but might also be lost to - other system widgets in the browser window such as a URL bar.

+

A top-level traversable has user attention when its system visibility state is + "visible", and it either has system focus or user agent + widgets directly related to it can receive keyboard input channeled from the operating system.

+ +

User attention is lost when a browser window loses focus, whereas system focus might + also be lost to other system widgets in the browser window such as a URL bar.

The term focusable area is used to refer to regions of the interface that can further become the target of such keyboard input. Focusable areas can be elements, parts of elements, or other regions From dc525e7884c5d28d19374429d434c816a38ed4ae Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Tue, 28 Feb 2023 14:15:44 -0500 Subject: [PATCH 2/4] Export the user attention algorithm on Document instead. --- source | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source b/source index e0433fc104c..6138f26e1d7 100644 --- a/source +++ b/source @@ -76045,7 +76045,7 @@ partial interface Navigator { system, possibly targeted at one of its active document's descendant navigables.

-

A top-level traversable has A top-level traversable has user attention when its system visibility state is "visible", and it either has system focus or user agent widgets directly related to it can receive keyboard input channeled from the operating system.

@@ -76053,6 +76053,11 @@ partial interface Navigator {

User attention is lost when a browser window loses focus, whereas system focus might also be lost to other system widgets in the browser window such as a URL bar.

+

A Document d is a fully active descendant of a + top-level traversible with user attention when d is fully active and + d's relevant global object's navigable's + top-level traversable has user attention.

+

The term focusable area is used to refer to regions of the interface that can further become the target of such keyboard input. Focusable areas can be elements, parts of elements, or other regions managed by the user agent.

From 808e93c64096389c6f4e49b7096f786e0fa18c85 Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Tue, 4 Apr 2023 11:33:26 -0400 Subject: [PATCH 3/4] Use node navigable, s/URL/location/ bar, add comment, remove unused id. --- source | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source b/source index 6138f26e1d7..6ed1ed5c1b2 100644 --- a/source +++ b/source @@ -76045,17 +76045,18 @@ partial interface Navigator { system, possibly targeted at one of its active document's descendant navigables.

-

A top-level traversable has user attention when its system visibility state is "visible", and it either has system focus or user agent widgets directly related to it can receive keyboard input channeled from the operating system.

+

User attention is lost when a browser window loses focus, whereas system focus might - also be lost to other system widgets in the browser window such as a URL bar.

+ also be lost to other system widgets in the browser window such as a location bar.

A Document d is a fully active descendant of a top-level traversible with user attention when d is fully active and - d's relevant global object's navigable's + d's node navigable's top-level traversable has user attention.

The term focusable area is used to refer to regions of the interface that can further become From 6877e6e100916a8f24061d7d44cdfce0748a34e1 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 28 Apr 2023 10:08:20 +0200 Subject: [PATCH 4/4] wrapping --- source | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source b/source index 6ed1ed5c1b2..44de7082418 100644 --- a/source +++ b/source @@ -76045,19 +76045,19 @@ partial interface Navigator { system, possibly targeted at one of its active document's descendant navigables.

-

A top-level traversable has user attention when its system visibility state is - "visible", and it either has system focus or user agent - widgets directly related to it can receive keyboard input channeled from the operating system.

+

A top-level traversable has user attention + when its system visibility state is "visible", and it either + has system focus or user agent widgets directly related to it can receive keyboard + input channeled from the operating system.

-

User attention is lost when a browser window loses focus, whereas system focus might - also be lost to other system widgets in the browser window such as a location bar.

+

User attention is lost when a browser window loses focus, whereas system focus + might also be lost to other system widgets in the browser window such as a location bar.

-

A Document d is a fully active descendant of a - top-level traversible with user attention when d is fully active and - d's node navigable's - top-level traversable has user attention.

+

A Document d is a fully active descendant of + a top-level traversible with user attention when d is fully active + and d's node navigable's top-level + traversable has user attention.

The term focusable area is used to refer to regions of the interface that can further become the target of such keyboard input. Focusable areas can be elements, parts of elements, or other regions