Add feature and about_flags entry to disable KeyboardFocusableScrollers [chromium/src : main]

0 views
Skip to first unread message

Mason Freed (Gerrit)

unread,
May 6, 2024, 7:14:32 PM5/6/24
to Di Zhang, Chromium Metrics Reviews, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, abigailbk...@google.com, aleventhal...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-rev...@chromium.org, blink-re...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, blundell+...@chromium.org, chromiumme...@microsoft.com, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, jmedle...@chromium.org, josiah...@chromium.org, kinuko...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Di Zhang

Mason Freed added 10 comments

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Mason Freed . resolved

Nice! Looks good, just some comments.

File chrome/browser/about_flags.cc
Line 5615, Patchset 2 (Latest): flag_descriptions::kKeyboardFocusableScrollersOptOutName,
Mason Freed . unresolved

So it's a lot easier to understand this if you link the `about:flags` flag to the main `KeyboardFocusableScrollers` feature. Then "enabled" means enabled and "disabled" means disabled.

File chrome/browser/flag-metadata.json
Line 5245, Patchset 2 (Latest): "expiry_milestone": 140
Mason Freed . unresolved

That's a long time. I'd maybe shoot for something shorter, like 134 or 135?

File chrome/browser/flag_descriptions.cc
Line 1830, Patchset 2 (Latest): "When disabled, scrollers are not focusable by default. This should be "
Mason Freed . unresolved

e.g. "disabled" here happens when this feature is "enabled", which is confusing to users.

File third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom
Line 4365, Patchset 2 (Latest): kKeyboardFocusableScrollersOptOut = 4968,
Mason Freed . unresolved

Thanks for going to the trouble to add a use counter, but I'm not sure it's necessary. Was there a reason you wanted to add one?

File third_party/blink/renderer/core/dom/element.cc
Line 6380, Patchset 2 (Latest): if (!RuntimeEnabledFeatures::KeyboardFocusableScrollersEnabled()) {
return false;
}
if (ExecutionContext* context = GetExecutionContext()) {
if (RuntimeEnabledFeatures::KeyboardFocusableScrollersOptOutEnabled(
context)) {
UseCounter::Count(context, WebFeature::kKeyboardFocusableScrollersOptOut);
return false;
}
}
Mason Freed . unresolved

See my comment below, but this whole chunk would be `{insert logic here}`.

File third_party/blink/renderer/modules/accessibility/ax_object.cc
Line 7784, Patchset 1: GetDocument()->GetExecutionContext())) &&
Di Zhang . unresolved

This change feels awkward. I am not sure how necessary it is to guard this A11Y code behind the opt out flag.

Mason Freed

I think you definitely need to guard this code with the flag. This isn't terrible as-is, but perhaps it would be better to pull this logic out into something like

```
Document::KeyboardFocusableScrollersEnabled() {
return {insert logic here};
}
```
and then use that here and above?
File third_party/blink/renderer/platform/runtime_enabled_features.json5
Line 2193, Patchset 2 (Latest): // TODO(crbug.com/40113891): Disables KeyboardFocusableScrollers.
Mason Freed . unresolved

nit: please add another sentence that this feature takes precedence over the one above, etc. etc.

Line 2196, Patchset 2 (Latest): origin_trial_type: "deprecation",
Mason Freed . unresolved

Since this isn't a "deprecation", but I do agree you need this to allow the next two flags, you should add a comment about why you're adding this type. This flag is behaving kind of like a deprecation trial, to allow sites to have time to adjust to a breaking change, but the logic is inverted from a normal "deprecation".

File tools/metrics/histograms/histograms_xml_files.gni
Line 1, Patchset 1:histograms_xml_files = [
Di Zhang . unresolved

This file got regenerated by the tools/metrics/histograms/histogram_paths.py script.

Mason Freed

Weird. It looks like it's just alphabetized, right? Did you have to run that script because of some presubmit warning or something?

Open in Gerrit

Related details

Attention is currently required from:
  • Di Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6ff7d3b289d02a2a74502900ea207f02a14f3026
Gerrit-Change-Number: 5519624
Gerrit-PatchSet: 2
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Di Zhang <dizh...@chromium.org>
Gerrit-Comment-Date: Mon, 06 May 2024 23:14:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Di Zhang <dizh...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Di Zhang (Gerrit)

unread,
May 7, 2024, 5:41:39 PM5/7/24
to Mason Freed, Chromium Metrics Reviews, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, abigailbk...@google.com, aleventhal...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-rev...@chromium.org, blink-re...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, blundell+...@chromium.org, chromiumme...@microsoft.com, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, jmedle...@chromium.org, josiah...@chromium.org, kinuko...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Mason Freed

Di Zhang voted and added 9 comments

Votes added by Di Zhang

Commit-Queue+1

9 comments

File chrome/browser/about_flags.cc
Line 5615, Patchset 2: flag_descriptions::kKeyboardFocusableScrollersOptOutName,
Mason Freed . unresolved

So it's a lot easier to understand this if you link the `about:flags` flag to the main `KeyboardFocusableScrollers` feature. Then "enabled" means enabled and "disabled" means disabled.

Di Zhang

I am not sure I know how to link the flag? Do I rename these to:
kKeyboardFocusableScrollersName and kKeyboardFocusableScrollersDescription, but keep blink::features::kKeyboardFocusableScrollersOptOut?

File chrome/browser/flag-metadata.json
Line 5245, Patchset 2: "expiry_milestone": 140
Mason Freed . resolved

That's a long time. I'd maybe shoot for something shorter, like 134 or 135?

Di Zhang

Updated to 135.

File chrome/browser/flag_descriptions.cc
Line 1830, Patchset 2: "When disabled, scrollers are not focusable by default. This should be "
Mason Freed . resolved

e.g. "disabled" here happens when this feature is "enabled", which is confusing to users.

Di Zhang

Done

File third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom
Line 4365, Patchset 2: kKeyboardFocusableScrollersOptOut = 4968,
Mason Freed . resolved

Thanks for going to the trouble to add a use counter, but I'm not sure it's necessary. Was there a reason you wanted to add one?

Di Zhang

As discussed offline, this feature does not need a use counter.

File third_party/blink/renderer/core/dom/element.cc
Line 6380, Patchset 2: if (!RuntimeEnabledFeatures::KeyboardFocusableScrollersEnabled()) {

return false;
}
if (ExecutionContext* context = GetExecutionContext()) {
if (RuntimeEnabledFeatures::KeyboardFocusableScrollersOptOutEnabled(
context)) {
UseCounter::Count(context, WebFeature::kKeyboardFocusableScrollersOptOut);
return false;
}
}
Mason Freed . resolved

See my comment below, but this whole chunk would be `{insert logic here}`.

Di Zhang

Done

File third_party/blink/renderer/modules/accessibility/ax_object.cc
Line 7784, Patchset 1: GetDocument()->GetExecutionContext())) &&
Di Zhang . resolved

This change feels awkward. I am not sure how necessary it is to guard this A11Y code behind the opt out flag.

Mason Freed

I think you definitely need to guard this code with the flag. This isn't terrible as-is, but perhaps it would be better to pull this logic out into something like

```
Document::KeyboardFocusableScrollersEnabled() {
return {insert logic here};
}
```
and then use that here and above?
Di Zhang

Done

File third_party/blink/renderer/platform/runtime_enabled_features.json5
Line 2193, Patchset 2: // TODO(crbug.com/40113891): Disables KeyboardFocusableScrollers.
Mason Freed . resolved

nit: please add another sentence that this feature takes precedence over the one above, etc. etc.

Di Zhang

Done

Line 2196, Patchset 2: origin_trial_type: "deprecation",
Mason Freed . resolved

Since this isn't a "deprecation", but I do agree you need this to allow the next two flags, you should add a comment about why you're adding this type. This flag is behaving kind of like a deprecation trial, to allow sites to have time to adjust to a breaking change, but the logic is inverted from a normal "deprecation".

Di Zhang

Done

File tools/metrics/histograms/histograms_xml_files.gni
Line 1, Patchset 1:histograms_xml_files = [
Di Zhang . resolved

This file got regenerated by the tools/metrics/histograms/histogram_paths.py script.

Mason Freed

Weird. It looks like it's just alphabetized, right? Did you have to run that script because of some presubmit warning or something?

Di Zhang

Yes, a presubmit warning. Will try to remove it again..

Open in Gerrit

Related details

Attention is currently required from:
  • Mason Freed
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6ff7d3b289d02a2a74502900ea207f02a14f3026
Gerrit-Change-Number: 5519624
Gerrit-PatchSet: 5
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Tue, 07 May 2024 21:41:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Di Zhang <dizh...@chromium.org>
Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Mason Freed (Gerrit)

unread,
May 9, 2024, 5:17:21 PM5/9/24
to Di Zhang, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, abigailbk...@google.com, aleventhal...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-rev...@chromium.org, blink-re...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, blundell+...@chromium.org, chromiumme...@microsoft.com, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, jmedle...@chromium.org, josiah...@chromium.org, kinuko...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Di Zhang

Mason Freed added 3 comments

File chrome/browser/about_flags.cc
Line 5615, Patchset 2: flag_descriptions::kKeyboardFocusableScrollersOptOutName,
Mason Freed . unresolved

So it's a lot easier to understand this if you link the `about:flags` flag to the main `KeyboardFocusableScrollers` feature. Then "enabled" means enabled and "disabled" means disabled.

Di Zhang

I am not sure I know how to link the flag? Do I rename these to:
kKeyboardFocusableScrollersName and kKeyboardFocusableScrollersDescription, but keep blink::features::kKeyboardFocusableScrollersOptOut?

Mason Freed

These couple lines right here link them. You've typed this:

```
FEATURE_VALUE_TYPE(blink::features::kKeyboardFocusableScrollersOptOut)},
```
which connects this about:flags entry to the `kKeyboardFocusableScrollersOptOut` feature. But I think you should instead do this:

```
{"keyboard-focusable-scrollers",
flag_descriptions::kKeyboardFocusableScrollersName,
flag_descriptions::kKeyboardFocusableScrollersDescription, kOsAll,
FEATURE_VALUE_TYPE(blink::features::kKeyboardFocusableScrollers)},
```
File chrome/browser/flag_descriptions.cc
Line 1828, Patchset 6 (Latest): "Disable keyboard focusable scrollers";
const char kKeyboardFocusableScrollersOptOutDescription[] =
"By choosing to opt out, we are disabling the feature "
"KeyboardFocusableScrollers. This means scrollers are not focusable by "
"default. This option should be used to diagnose any issue with the "
"feature.";
Mason Freed . unresolved

These will need to change to match the change in feature above.

File third_party/blink/renderer/modules/accessibility/ax_object.cc
Line 7779, Patchset 6 (Latest): // TODO(accessibility) Scrollables are currently allowed here in order
Mason Freed . unresolved

Please move this comment down to 7787.

Open in Gerrit

Related details

Attention is currently required from:
  • Di Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6ff7d3b289d02a2a74502900ea207f02a14f3026
Gerrit-Change-Number: 5519624
Gerrit-PatchSet: 6
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Di Zhang <dizh...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 21:17:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Di Zhang (Gerrit)

unread,
May 9, 2024, 6:03:59 PM5/9/24
to Chromium LUCI CQ, Mason Freed, Chromium Metrics Reviews, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, abigailbk...@google.com, aleventhal...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-rev...@chromium.org, blink-re...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, blundell+...@chromium.org, chromiumme...@microsoft.com, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, jmedle...@chromium.org, josiah...@chromium.org, kinuko...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Mason Freed

Di Zhang voted and added 3 comments

Votes added by Di Zhang

Commit-Queue+1

3 comments

File chrome/browser/about_flags.cc
Line 5615, Patchset 2: flag_descriptions::kKeyboardFocusableScrollersOptOutName,
Mason Freed . resolved

So it's a lot easier to understand this if you link the `about:flags` flag to the main `KeyboardFocusableScrollers` feature. Then "enabled" means enabled and "disabled" means disabled.

Di Zhang

I am not sure I know how to link the flag? Do I rename these to:
kKeyboardFocusableScrollersName and kKeyboardFocusableScrollersDescription, but keep blink::features::kKeyboardFocusableScrollersOptOut?

Mason Freed

These couple lines right here link them. You've typed this:

```
FEATURE_VALUE_TYPE(blink::features::kKeyboardFocusableScrollersOptOut)},
```
which connects this about:flags entry to the `kKeyboardFocusableScrollersOptOut` feature. But I think you should instead do this:

```
{"keyboard-focusable-scrollers",
flag_descriptions::kKeyboardFocusableScrollersName,
flag_descriptions::kKeyboardFocusableScrollersDescription, kOsAll,
FEATURE_VALUE_TYPE(blink::features::kKeyboardFocusableScrollers)},
```
Di Zhang

Done

File chrome/browser/flag_descriptions.cc
Line 1828, Patchset 6: "Disable keyboard focusable scrollers";

const char kKeyboardFocusableScrollersOptOutDescription[] =
"By choosing to opt out, we are disabling the feature "
"KeyboardFocusableScrollers. This means scrollers are not focusable by "
"default. This option should be used to diagnose any issue with the "
"feature.";
Mason Freed . resolved

These will need to change to match the change in feature above.

Di Zhang

Done

File third_party/blink/renderer/modules/accessibility/ax_object.cc
Line 7779, Patchset 6: // TODO(accessibility) Scrollables are currently allowed here in order
Mason Freed . resolved

Please move this comment down to 7787.

Di Zhang

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Mason Freed
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6ff7d3b289d02a2a74502900ea207f02a14f3026
Gerrit-Change-Number: 5519624
Gerrit-PatchSet: 7
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 22:03:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Mason Freed (Gerrit)

unread,
May 9, 2024, 6:40:33 PM5/9/24
to Di Zhang, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, abigailbk...@google.com, aleventhal...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-rev...@chromium.org, blink-re...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, blundell+...@chromium.org, chromiumme...@microsoft.com, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, jmedle...@chromium.org, josiah...@chromium.org, kinuko...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Di Zhang

Mason Freed voted and added 1 comment

Votes added by Mason Freed

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Mason Freed . resolved

LGTM!

Open in Gerrit

Related details

Attention is currently required from:
  • Di Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6ff7d3b289d02a2a74502900ea207f02a14f3026
Gerrit-Change-Number: 5519624
Gerrit-PatchSet: 7
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Di Zhang <dizh...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 22:40:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Di Zhang (Gerrit)

unread,
May 9, 2024, 7:50:09 PM5/9/24
to Mason Freed, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, abigailbk...@google.com, aleventhal...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-rev...@chromium.org, blink-re...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, blundell+...@chromium.org, chromiumme...@microsoft.com, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, jmedle...@chromium.org, josiah...@chromium.org, kinuko...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org

Di Zhang voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6ff7d3b289d02a2a74502900ea207f02a14f3026
Gerrit-Change-Number: 5519624
Gerrit-PatchSet: 8
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 23:49:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
May 9, 2024, 8:41:49 PM5/9/24
to Di Zhang, Mason Freed, Akihiro Ota, Chromium Metrics Reviews, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, abigailbk...@google.com, aleventhal...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-rev...@chromium.org, blink-re...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, blundell+...@chromium.org, chromiumme...@microsoft.com, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, jmedle...@chromium.org, josiah...@chromium.org, kinuko...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org

Chromium LUCI CQ submitted the change with unreviewed changes

Unreviewed changes

7 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:

```
The name of the file: tools/metrics/histograms/enums.xml
Insertions: 2, Deletions: 2.

@@ -17948,6 +17948,7 @@
<int value="-1469555275"
label="VmCameraMicIndicatorsAndNotifications:enabled"/>
<int value="-1469536698" label="ChromeHomeDoodle:enabled"/>
+ <int value="-1469234511" label="KeyboardFocusableScrollers:disabled"/>
<int value="-1469228683" label="QuickUnlockPinSignin:disabled"/>
<int value="-1469116522" label="Floss:disabled"/>
<int value="-1468126425" label="ResourceLoadScheduler:disabled"/>
@@ -19726,6 +19727,7 @@
<int value="-686788480" label="OsSettingsAppNotificationsPage:enabled"/>
<int value="-686761381" label="UseHDRTransferFunction:enabled"/>
<int value="-686617279" label="WebAppEnableLaunchHandler:enabled"/>
+ <int value="-685128769" label="KeyboardFocusableScrollers:enabled"/>
<int value="-685107150" label="FilesConflictDialog:enabled"/>
<int value="-684900739" label="disable-merge-key-char-events"/>
<int value="-684503292"
@@ -23008,7 +23010,6 @@
<int value="752939691" label="disable-tab-for-desktop-share"/>
<int value="756018202" label="CCTMinimized:enabled"/>
<int value="756897997" label="PaintHoldingCrossOrigin:disabled"/>
- <int value="756944411" label="KeyboardFocusableScrollers:enabled"/>
<int value="757645375" label="AndroidDarkSearch:disabled"/>
<int value="757912345" label="SnapGroup:disabled"/>
<int value="758299873" label="OmniboxSuggestionHoverFillShape:enabled"/>
@@ -25485,7 +25486,6 @@
<int value="1840892133" label="StylusWritingToInput:enabled"/>
<int value="1841051176" label="WindowsScrollingPersonality:disabled"/>
<int value="1841793150" label="TwoPanesStartSurfaceAndroid:enabled"/>
- <int value="1841920885" label="KeyboardFocusableScrollers:disabled"/>
<int value="1841976850" label="FeedLoadingPlaceholder:enabled"/>
<int value="1841993231"
label="AutofillRemoveCardExpirationAndTypeTitles:enabled"/>
```

Change information

Commit message:
Add feature and about_flags entry to disable KeyboardFocusableScrollers

We are starting an Origin Trial for KeyboardFocusableScrollers. We add
the feature KeyboardFocusableScrollersOptOut to allow individual sites
to opt-out of the feature.

An enterprise policy will be added in a follow-up patch.
Change-Id: I6ff7d3b289d02a2a74502900ea207f02a14f3026
Bug: 40113891
Bug: 336490037
Bug: 337158524
Reviewed-by: Mason Freed <mas...@chromium.org>
Commit-Queue: Di Zhang <dizh...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1299008}
Files:
  • M chrome/browser/about_flags.cc
  • M chrome/browser/flag-metadata.json
  • M chrome/browser/flag_descriptions.cc
  • M chrome/browser/flag_descriptions.h
  • M third_party/blink/renderer/core/dom/document.cc
  • M third_party/blink/renderer/core/dom/document.h
  • M third_party/blink/renderer/core/dom/element.cc
  • M third_party/blink/renderer/modules/accessibility/ax_object.cc
  • M third_party/blink/renderer/platform/runtime_enabled_features.json5
  • M third_party/blink/web_tests/VirtualTestSuites
  • A third_party/blink/web_tests/virtual/keyboard-focusable-scrollers-opt-out/README.md
  • A third_party/blink/web_tests/virtual/keyboard-focusable-scrollers-opt-out/shadow-dom/focus-navigation/focus-navigation-scroller-delegatesFocus-expected.txt
  • A third_party/blink/web_tests/virtual/keyboard-focusable-scrollers-opt-out/shadow-dom/focus-navigation/focus-navigation-scroller-interactive-child-expected.txt
  • A third_party/blink/web_tests/virtual/keyboard-focusable-scrollers-opt-out/shadow-dom/focus-navigation/focus-navigation-scroller-tabindex-expected.txt
  • A third_party/blink/web_tests/virtual/keyboard-focusable-scrollers-opt-out/shadow-dom/focus-navigation/focus-scroller-layout-update-expected.txt
  • M tools/metrics/histograms/enums.xml
Change size: M
Delta: 16 files changed, 89 insertions(+), 5 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Mason Freed
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I6ff7d3b289d02a2a74502900ea207f02a14f3026
Gerrit-Change-Number: 5519624
Gerrit-PatchSet: 9
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages