Adjust accessibility delay [chromium/src : main]

0 views
Skip to first unread message

chromeperf@appspot.gserviceaccount.com (Gerrit)

unread,
Jun 17, 2025, 3:11:18 PMJun 17
to Philip Rogers, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Philip Rogers

Message from chrom...@appspot.gserviceaccount.com

📍 Job mac-m1_mini_2020-perf/speedometer3 complete.

See results at: https://pinpoint-dot-chromeperf.appspot.com/job/1458aae4110000

Open in Gerrit

Related details

Attention is currently required from:
  • Philip Rogers
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: Idc81594b55929f3ccb68dd499fed1d3f3cd58e4f
Gerrit-Change-Number: 6652989
Gerrit-PatchSet: 1
Gerrit-Owner: Philip Rogers <p...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Philip Rogers <p...@chromium.org>
Gerrit-Comment-Date: Tue, 17 Jun 2025 19:11:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Aaron Leventhal (Gerrit)

unread,
Jun 17, 2025, 3:33:04 PMJun 17
to Philip Rogers, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Philip Rogers

Aaron Leventhal added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Aaron Leventhal . unresolved

This is a great start, thanks for working on it.

  • In this CL, let's focus on before page load.
  • I think it's fair to wait at least 3, maybe even 4 seconds between updates before page load. I think this will really help speed up first paint.
  • For now, I don't think we should adjust the delay after page load, because I've been told that by a screen reader user that even the 150ms delay sometimes shows when they are operating in their screen reader's virtual buffer. Also, I don't think that it will have as much benefit as the before-page load, when the renderer is hyper-busy.
  • In a future CL, if we want, we can use the presence of a screen reader via `GetAXMode().has_mode(ui::AXMode::kScreenReader)`. This is something that became accurate in the last month or so. We didn't have access to this info before and are only now starting to optimize based on it.

So my suggestion for now is to just change the before page load to something like 3500.

Open in Gerrit

Related details

Attention is currently required from:
  • Philip Rogers
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: Idc81594b55929f3ccb68dd499fed1d3f3cd58e4f
    Gerrit-Change-Number: 6652989
    Gerrit-PatchSet: 2
    Gerrit-Owner: Philip Rogers <p...@chromium.org>
    Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
    Gerrit-CC: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Comment-Date: Tue, 17 Jun 2025 19:32:59 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Aaron Leventhal (Gerrit)

    unread,
    Jun 17, 2025, 3:33:47 PMJun 17
    to Philip Rogers, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Philip Rogers

    Aaron Leventhal added 1 comment

    Patchset-level comments
    Aaron Leventhal . unresolved

    This is a great start, thanks for working on it.

    • In this CL, let's focus on before page load.
    • I think it's fair to wait at least 3, maybe even 4 seconds between updates before page load. I think this will really help speed up first paint.
    • For now, I don't think we should adjust the delay after page load, because I've been told that by a screen reader user that even the 150ms delay sometimes shows when they are operating in their screen reader's virtual buffer. Also, I don't think that it will have as much benefit as the before-page load, when the renderer is hyper-busy.
    • In a future CL, if we want, we can use the presence of a screen reader via `GetAXMode().has_mode(ui::AXMode::kScreenReader)`. This is something that became accurate in the last month or so. We didn't have access to this info before and are only now starting to optimize based on it.

    So my suggestion for now is to just change the before page load to something like 3500.

    Aaron Leventhal

    Also, do you think it's worth finching it so we can see the benefit clearly?

    Gerrit-Comment-Date: Tue, 17 Jun 2025 19:33:42 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Jun 17, 2025, 3:45:13 PMJun 17
    to Philip Rogers, Aaron Leventhal, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m1_mini_2020-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/1110269d110000

    Gerrit-Comment-Date: Tue, 17 Jun 2025 19:45:02 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Philip Rogers (Gerrit)

    unread,
    Jun 17, 2025, 3:55:46 PMJun 17
    to Aaron Leventhal, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Aaron Leventhal

    Philip Rogers added 1 comment

    Patchset-level comments
    Aaron Leventhal . unresolved

    This is a great start, thanks for working on it.

    • In this CL, let's focus on before page load.
    • I think it's fair to wait at least 3, maybe even 4 seconds between updates before page load. I think this will really help speed up first paint.
    • For now, I don't think we should adjust the delay after page load, because I've been told that by a screen reader user that even the 150ms delay sometimes shows when they are operating in their screen reader's virtual buffer. Also, I don't think that it will have as much benefit as the before-page load, when the renderer is hyper-busy.
    • In a future CL, if we want, we can use the presence of a screen reader via `GetAXMode().has_mode(ui::AXMode::kScreenReader)`. This is something that became accurate in the last month or so. We didn't have access to this info before and are only now starting to optimize based on it.

    So my suggestion for now is to just change the before page load to something like 3500.

    Aaron Leventhal

    Also, do you think it's worth finching it so we can see the benefit clearly?

    Philip Rogers

    Sorry to waste your time; this is just a test to see if we have any headroom on speedometer. I noticed we run a11y updates during the scoring phase, and I am wondering if we can avoid that in a way that would benefit both speedometer and real users. Speedometer has an iframe where the real test runs, so it may be possible to adjust the delay parameter to be based on if any frame is loading, rather than just the top frame. Another idea is to use idle time signals.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Aaron Leventhal
    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: Idc81594b55929f3ccb68dd499fed1d3f3cd58e4f
    Gerrit-Change-Number: 6652989
    Gerrit-PatchSet: 2
    Gerrit-Owner: Philip Rogers <p...@chromium.org>
    Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
    Gerrit-CC: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
    Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Comment-Date: Tue, 17 Jun 2025 19:55:37 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Aaron Leventhal (Gerrit)

    unread,
    Jun 17, 2025, 4:08:08 PMJun 17
    to Philip Rogers, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Philip Rogers

    Aaron Leventhal added 1 comment

    Patchset-level comments
    Aaron Leventhal . unresolved

    This is a great start, thanks for working on it.

    • In this CL, let's focus on before page load.
    • I think it's fair to wait at least 3, maybe even 4 seconds between updates before page load. I think this will really help speed up first paint.
    • For now, I don't think we should adjust the delay after page load, because I've been told that by a screen reader user that even the 150ms delay sometimes shows when they are operating in their screen reader's virtual buffer. Also, I don't think that it will have as much benefit as the before-page load, when the renderer is hyper-busy.
    • In a future CL, if we want, we can use the presence of a screen reader via `GetAXMode().has_mode(ui::AXMode::kScreenReader)`. This is something that became accurate in the last month or so. We didn't have access to this info before and are only now starting to optimize based on it.

    So my suggestion for now is to just change the before page load to something like 3500.

    Aaron Leventhal

    Also, do you think it's worth finching it so we can see the benefit clearly?

    Philip Rogers

    Sorry to waste your time; this is just a test to see if we have any headroom on speedometer. I noticed we run a11y updates during the scoring phase, and I am wondering if we can avoid that in a way that would benefit both speedometer and real users. Speedometer has an iframe where the real test runs, so it may be possible to adjust the delay parameter to be based on if any frame is loading, rather than just the top frame. Another idea is to use idle time signals.

    Aaron Leventhal

    Oh, not a waste of time at all. This is low hanging fruit we haven't gotten to. Would love your help.

    IMO for any child document we can set the delay as high as you want, e.g. MAX_INT . This won't actually delay it forever -- once load complete occurs it will force an immediate serialization anyway. That happens here: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.cc;l=5021;drc=38d9cb6a0e0827c80d56549450d84a621480a5af

    I love the idea of using idle time signals. I didn't really know about them when I implemented this. I suppose if we see there is idle time we can commence doing our work, which means less work later when we might not be idle. How would that implementation look?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Philip Rogers
    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: Idc81594b55929f3ccb68dd499fed1d3f3cd58e4f
    Gerrit-Change-Number: 6652989
    Gerrit-PatchSet: 3
    Gerrit-Owner: Philip Rogers <p...@chromium.org>
    Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
    Gerrit-CC: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Comment-Date: Tue, 17 Jun 2025 20:08:00 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Philip Rogers <p...@chromium.org>
    Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Jun 17, 2025, 4:20:16 PMJun 17
    to Philip Rogers, Aaron Leventhal, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m1_mini_2020-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/149caae4110000

    Gerrit-Comment-Date: Tue, 17 Jun 2025 20:20:03 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Jun 17, 2025, 5:05:38 PMJun 17
    to Philip Rogers, Aaron Leventhal, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m1_mini_2020-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/1062aae4110000

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Philip Rogers
    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: Idc81594b55929f3ccb68dd499fed1d3f3cd58e4f
    Gerrit-Change-Number: 6652989
    Gerrit-PatchSet: 4
    Gerrit-Owner: Philip Rogers <p...@chromium.org>
    Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
    Gerrit-CC: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Comment-Date: Tue, 17 Jun 2025 21:05:26 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Jun 17, 2025, 6:34:59 PMJun 17
    to Philip Rogers, Aaron Leventhal, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, lucasrada...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Philip Rogers

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job mac-m1_mini_2020-perf/speedometer3 complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/1472e9ad110000

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Philip Rogers
    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: Idc81594b55929f3ccb68dd499fed1d3f3cd58e4f
    Gerrit-Change-Number: 6652989
    Gerrit-PatchSet: 5
    Gerrit-Owner: Philip Rogers <p...@chromium.org>
    Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
    Gerrit-CC: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Comment-Date: Tue, 17 Jun 2025 22:34:50 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages