Include hidden objects in accessible tree. [chromium/src : main]

0 views
Skip to first unread message

Jacobo Aragunde Pérez (Gerrit)

unread,
Oct 12, 2021, 5:13:26 AM10/12/21
to Nektarios Paisios, Aaron Leventhal, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org

Attention is currently required from: Nektarios Paisios, Aaron Leventhal.

Jacobo Aragunde Pérez would like Nektarios Paisios and Aaron Leventhal to review this change.

View Change

Include hidden objects in accessible tree.

Include display:none, visibility:hidden and aria-hidden elements in
the accessible tree.

We plan to use them to streamline the calculation of accessible names,
so it does not require additional DOM or layout tree traversals. We
previously attempted to include only those hidden nodes which were
required for accname calculation, but there were complications to
keep the tree up-to-date. This is much easier to maintain and it
doesn't seem to have a noticeable performance impact.

A sizeable number of DumpAccessibilityTreeTest expectations were
updated to include the newly included hidden nodes.

Original author was aleve...@chromium.org in:
http://crrev.com/c/3197971

Bug: 1255036
Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
---
M content/test/data/accessibility/css/content-visibility-hidden-check-failure-expected-blink.txt
M content/test/data/accessibility/html/custom-element-expected-blink.txt
M content/test/data/accessibility/css/content-visibility-to-hidden-expected-blink.txt
M content/test/data/accessibility/html/generated-content-after-hidden-input-expected-blink.txt
M content/test/data/accessibility/aria/hidden-described-by-expected-blink.txt
M content/test/data/accessibility/html/select-in-canvas-expected-blink.txt
M content/test/data/accessibility/regression/add-child-of-not-included-in-tree-chain-expected-blink.txt
M content/test/data/accessibility/html/modal-dialog-closed-expected-blink.txt
M content/test/data/accessibility/html/wbr-expected-blink.txt
M content/test/data/accessibility/html/accordion-expected-blink.txt
M content/test/data/accessibility/css/display-none-expected-blink.txt
M content/test/data/accessibility/css/dom-element-css-alternative-text-expected-blink.txt
M content/test/data/accessibility/html/svg-desc-in-group-expected-blink.txt
M content/test/data/accessibility/html/svg-symbol-with-role-expected-blink.txt
M content/test/data/accessibility/css/visibility-to-hidden-expected-blink.txt
M content/test/data/accessibility/display-locking/all-expected-blink.txt
M content/test/data/accessibility/html/details-expected-blink.txt
M content/test/data/accessibility/html/svg-elements-not-mapped-expected-blink.txt
M content/test/data/accessibility/aria/table-column-hidden-expected-blink.txt
M content/test/data/accessibility/html/meter-expected-blink.txt
M content/test/data/accessibility/html/svg-text-alternative-computation-expected-blink.txt
M content/test/data/accessibility/aria/hidden-labelled-by-expected-blink.txt
M third_party/blink/renderer/modules/accessibility/ax_object.cc
M content/test/data/accessibility/html/custom-element-with-aria-owns-inside-expected-blink.txt
M content/test/data/accessibility/aria/aria-undefined-literal-expected-blink.txt
M content/test/data/accessibility/css/alt-text-expected-blink.txt
M content/test/data/accessibility/html/summary-expected-blink.txt
M content/test/data/accessibility/html/modal-dialog-stack-expected-blink.txt
M content/test/data/accessibility/aria/aria-hidden-expected-blink.txt
M content/test/data/accessibility/aria/aria-hidden-single-descendant-visibility-hidden-expected-blink.txt
M content/test/data/accessibility/aria/hidden-expected-blink.txt
M content/test/data/accessibility/html/svg-title-in-group-expected-blink.txt
M content/test/data/accessibility/aria/aria-empty-string-expected-blink.txt
M content/test/data/accessibility/regression/content-visibility-label-expected-blink.txt
M content/test/data/accessibility/html/input-suggestions-source-element-expected-blink.txt
M content/test/data/accessibility/regression/missing-parent-expected-blink.txt
M content/test/data/accessibility/html/landmark-expected-blink.txt
M content/test/data/accessibility/aria/aria-owns-crash-expected-blink.txt
M content/test/data/accessibility/aria/aria-undefined-expected-blink.txt
M content/test/data/accessibility/css/visibility-expected-blink.txt
M content/test/data/accessibility/css/content-visibility-auto-aria-hidden-expected-blink.txt
M content/test/data/accessibility/regression/title-in-shadow-expected-blink.txt
M content/test/data/accessibility/aria/aria-hidden-single-descendant-display-none-expected-blink.txt
M content/test/data/accessibility/html/input-list-expected-blink.txt
M content/test/data/accessibility/html/table-column-remove-expected-blink.txt
M content/test/data/accessibility/html/custom-element-hidden-expected-blink.txt
M content/test/data/accessibility/display-locking/non-activatable-expected-blink.txt
M content/test/data/accessibility/html/svg-expected-blink.txt
M content/test/data/accessibility/html/svg-with-clickable-rect-expected-blink.txt
M content/test/data/accessibility/html/open-modal-expected-blink.txt
M content/test/data/accessibility/html/ruby-expected-blink.txt
51 files changed, 227 insertions(+), 28 deletions(-)


To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
Gerrit-MessageType: newchange

Jacobo Aragunde Pérez (Gerrit)

unread,
Oct 12, 2021, 5:13:31 AM10/12/21
to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Aaron Leventhal, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Aaron Leventhal.

View Change

1 comment:

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Comment-Date: Tue, 12 Oct 2021 09:13:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Aaron Leventhal (Gerrit)

unread,
Oct 12, 2021, 9:58:55 AM10/12/21
to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Jacobo Aragunde Pérez.

Patch set 3:Code-Review +1

View Change

1 comment:

  • File content/test/data/accessibility/display-locking/non-activatable-expected-blink.txt:

    • An interesting result of this patch is these kinds of empty text nodes getting added. […]

      Normally whitespace nodes like this are removed when they have a layout object, via IsTextRelevantForAccessibility() at (https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.cc;l=258
      However, the layout object is required in order to do a good job determining this.

      I don't think we can easily remove them from the tree in the display:none case, because of the case where an aria-labelledby or aria-describedby point to a subtree that's display:none. We need to use the whitespace to know where to insert a ' ' in the accessible name.

      If you agree, then I would say let's keep them since they aren't doing any real harm either, and are necessary for the accname computation.

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Comment-Date: Tue, 12 Oct 2021 13:58:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-MessageType: comment

Nektarios Paisios (Gerrit)

unread,
Oct 12, 2021, 10:41:59 AM10/12/21
to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Jacobo Aragunde Pérez.

Patch set 3:Code-Review +1

View Change

2 comments:

  • Patchset:

  • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

    • Patch Set #3, Line 2501: if (!GetLayoutObject())

      Nit: Perhaps add a comment above this line to the effect:
      "Nodes in display none subtrees, or nodes that are display locked, lack a layout object."

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Comment-Date: Tue, 12 Oct 2021 14:41:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

Aaron Leventhal (Gerrit)

unread,
Oct 12, 2021, 11:31:03 AM10/12/21
to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Jacobo Aragunde Pérez.

Aaron Leventhal removed a vote from this change.

View Change

Removed Code-Review+1 by Aaron Leventhal <aleve...@chromium.org>

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-MessageType: deleteVote

Aaron Leventhal (Gerrit)

unread,
Oct 12, 2021, 11:31:30 AM10/12/21
to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Jacobo Aragunde Pérez.

View Change

2 comments:

  • Patchset:

    • Patch Set #3:

      Removing my +1 until we handle the content-visibility:auto case as described in my reply to Nektarios.

  • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

    • Nit: Perhaps add a comment above this line to the effect: […]

      Nektarios' request for comment made me realize we need special handling for content-visibility:auto here.

      First, note that There are 4 ways to use CSS to hide something (we should add this as a comment to IsHiddenViaStyle()).

      • display none is "destroy rendering state and don't do anything in the subtree"
      • visibility hidden and visibility collapse are "don't visually show things, but still keep all of the rendering up to date"
      • content-visibility: hidden is "don't show anything, skip all of the work, but don't destroy the work that was already there"

      Then there's content-visibility:auto, which is painted when it's scrolled into the viewport, but its layout information is not updated when it isn't. In fact, it can have a layout object that is stale, if the node came into the viewport, and then leaves the viewport. See https://bugs.chromium.org/p/chromium/issues/detail?id=1259179

      We want to include all content-visibility:auto elements in the accessibility tree, and we want to protect ourselves from making calls on their layout object in case the layout object is stale.

      ```
      bool is_content_visibility_auto = DisplayLockUtilities::LockedAncestorPreventingLayout(node) && DisplayLockUtilities::ShouldIgnoreNodeDueToDisplayLock(
      *GetNode(), DisplayLockActivationReason::kAccessibility) == false)
      if (is_content_visibility_auto)
      return true;
      ```

      I suggest we add that before !GetLayoutObject() block. Note that content-visibility: auto subtrees are treated as visible in IsHiddenViaStyle(), as we must make a guess since computed style is not available.

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Comment-Date: Tue, 12 Oct 2021 15:31:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>
Gerrit-MessageType: comment

Jacobo Aragunde Pérez (Gerrit)

unread,
Oct 15, 2021, 2:28:22 AM10/15/21
to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Aaron Leventhal.

View Change

1 comment:

  • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

    • Nektarios' request for comment made me realize we need special handling for content-visibility:auto […]

      I wrote some tests in https://crrev.com/c/3225679, trying to break this code in combination with a patch to do accessible tree traversal for accname I haven't submitted yet. Unfortunately, they all pass.

      I can still move forward with these modifications for content-visibility:auto, but I would have preferred to have a failing test to detect this problem...

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Comment-Date: Fri, 15 Oct 2021 06:28:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>
Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>
Gerrit-MessageType: comment

Aaron Leventhal (Gerrit)

unread,
Oct 15, 2021, 11:32:56 AM10/15/21
to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Jacobo Aragunde Pérez.

Patch set 3:Code-Review +1

View Change

2 comments:

  • Patchset:

    • Patch Set #3:

      LGTM assuming we add the content-visibility changes

  • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

    • I wrote some tests in https://crrev. […]

      Please move forward with the suggested modifications. @vmpstr/jarhar/etc. will work on improvements to make sure we never get/use a stale layout object.

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Comment-Date: Fri, 15 Oct 2021 15:32:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>
Comment-In-Reply-To: Jacobo Aragunde Pérez <jara...@igalia.com>

Aaron Leventhal (Gerrit)

unread,
Oct 15, 2021, 11:33:51 AM10/15/21
to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Jacobo Aragunde Pérez.

View Change

1 comment:

  • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

    • Please move forward with the suggested modifications. @vmpstr/jarhar/etc. […]

      (They will be adding a DCHECK that triggers if GetLayoutObject() retrieves a stale layout object).

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 3
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Comment-Date: Fri, 15 Oct 2021 15:33:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>
Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>
Comment-In-Reply-To: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-MessageType: comment

Jacobo Aragunde Pérez (Gerrit)

unread,
Oct 21, 2021, 7:43:38 AM10/21/21
to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios.

View Change

1 comment:

  • File third_party/blink/web_tests/accessibility/canvas-fallback-content-labels.html:

    • Patch Set #4, Line 92: // Both check_label1 and check_label2 didn't generate any accessibility nodes, now check_label2 does generate one.

      I need to check this case more deeply. The tree generated by check_label2, inside the canvas, used to be:

        ++++++canvas 
      ++++++++staticText name='<newline> '
      ++++++++staticText name='<newline> Checkbox<newline> '
      ++++++++checkBox

      While, after this patch, it's:

        ++++++canvas
      ++++++++staticText name='<newline> '
      ++++++++labelText htmlTag='label'
      ++++++++++staticText name='<newline> Checkbox<newline> '
      ++++++++++checkBox

      The tree generated by check_label1, outside canvas, is like this both before and after the patch:

        ++++++genericContainer htmlTag='div'
      ++++++++staticText name='Checkbox '
      ++++++++checkBox

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 4
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Comment-Date: Thu, 21 Oct 2021 11:43:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Aaron Leventhal (Gerrit)

unread,
Oct 21, 2021, 12:53:41 PM10/21/21
to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Jacobo Aragunde Pérez.

Patch set 4:Code-Review +1

View Change

1 comment:

  • File third_party/blink/web_tests/accessibility/canvas-fallback-content-labels.html:

    • Patch Set #4, Line 92: // Both check_label1 and check_label2 didn't generate any accessibility nodes, now check_label2 does generate one.

      I need to check this case more deeply. […]

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 4
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Comment-Date: Thu, 21 Oct 2021 16:53:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

Jacobo Aragunde Pérez (Gerrit)

unread,
Oct 25, 2021, 6:59:45 AM10/25/21
to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Aaron Leventhal.

View Change

3 comments:

  • Patchset:

    • Patch Set #5:

      Please let me know about this cached_is_canvas_fallback_ idea. Thanks!

  • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

    • Patch Set #4, Line 2501: if (RuntimeEnabledFeatures::AccessibilityExposeDisplayNoneEnabled()) {

      This code used to be hidden under a runtime feature. Now it's always enabled and this is the only use of AccessibilityExposeDisplayNoneEnabled, so we possibly can remove it?

  • File third_party/blink/web_tests/accessibility/canvas-fallback-content-labels.html:

    • Patch Set #4, Line 92: // Both check_label1 and check_label2 didn't generate any accessibility nodes, now check_label2 does generate one.

    • The label on a radio or checkbox can be ignored because of this code: […]

      That's exactly what happens here, because the <label> inside the canvas does not have a layout object it hits the !GetLayoutObject() check we added to include display:none nodes.

      My attempt to fix it was to detect if a node is inside a canvas fallback and save that as a boolean in the AXObject. It works, the test passes because I managed to generate the expected tree:

    •   ++++++canvas 
      ++++++++staticText name='<newline> '
      ++++++++staticText name='<newline> Checkbox<newline> '
      ++++++++checkBox
    • It needs a bit of cleanup, but do you agree with the addition of cached_is_canvas_fallback_ in patchset 5? Could it be useful?

To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
Gerrit-Change-Number: 3217730
Gerrit-PatchSet: 5
Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Alice Boxhall <abox...@chromium.org>
Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
Gerrit-CC: Julie Kim <je_jul...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Comment-Date: Mon, 25 Oct 2021 10:59:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>

Jacobo Aragunde Pérez (Gerrit)

unread,
Oct 25, 2021, 9:25:26 AM10/25/21
to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

Attention is currently required from: Nektarios Paisios, Aaron Leventhal.

Patch set 5:Commit-Queue +2

View Change

    To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
    Gerrit-Change-Number: 3217730
    Gerrit-PatchSet: 5
    Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
    Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
    Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Alice Boxhall <abox...@chromium.org>
    Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
    Gerrit-CC: Julie Kim <je_jul...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
    Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Comment-Date: Mon, 25 Oct 2021 13:25:11 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    Gerrit-MessageType: comment

    Nektarios Paisios (Gerrit)

    unread,
    Oct 25, 2021, 9:39:34 AM10/25/21
    to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

    Attention is currently required from: Jacobo Aragunde Pérez, Aaron Leventhal.

    Patch set 5:Code-Review +1

    View Change

    2 comments:

    • Patchset:

      • Patch Set #5:

        Please let me know about this cached_is_canvas_fallback_ idea. […]

        There is a good reason why we hide label objects: it's because when the label is present, a screen reader will announce both the label and the accessible name of the checkbox or radio button, causing the label to be spoken twice.
        Having said that, we should make all label objects included in the tree, but ignored.
        How about doing that in a followup

    • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

      • This code used to be hidden under a runtime feature. […]

        Yes, we should remove the runtime flag if we are not using it any more.

    To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
    Gerrit-Change-Number: 3217730
    Gerrit-PatchSet: 5
    Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
    Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
    Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Alice Boxhall <abox...@chromium.org>
    Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
    Gerrit-CC: Julie Kim <je_jul...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
    Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Comment-Date: Mon, 25 Oct 2021 13:39:18 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes

    Aaron Leventhal (Gerrit)

    unread,
    Oct 25, 2021, 9:49:41 AM10/25/21
    to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

    Attention is currently required from: Jacobo Aragunde Pérez.

    Patch set 5:Code-Review +1

    View Change

    1 comment:

    • Patchset:

      • Patch Set #5:

        There is a good reason why we hide label objects: it's because when the label is present, a screen r […]

        I prefer the "labels are always included in the tree, even if ignored" approach, over cached_is_canvas_fallback.

    To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
    Gerrit-Change-Number: 3217730
    Gerrit-PatchSet: 5
    Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
    Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
    Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Alice Boxhall <abox...@chromium.org>
    Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
    Gerrit-CC: Julie Kim <je_jul...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
    Gerrit-Comment-Date: Mon, 25 Oct 2021 13:49:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>

    Jacobo Aragunde Pérez (Gerrit)

    unread,
    Oct 25, 2021, 12:28:20 PM10/25/21
    to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

    Attention is currently required from: Jacobo Aragunde Pérez.

    Patch set 6:Commit-Queue +2

    View Change

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 6
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Comment-Date: Mon, 25 Oct 2021 16:28:05 +0000

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Oct 26, 2021, 7:17:59 AM10/26/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      View Change

      1 comment:

      • Patchset:

        • Patch Set #5:

          I prefer the "labels are always included in the tree, even if ignored" approach, over cached_is_canv […]

          Implemented "labels are always included in the tree, even if ignored" at: https://crrev.com/c/3245335. I'm currently reviewing if there are more test expectations needing change.

          We would need to land it before this CL, so it fixes the canvas-fallback-content-labels.html test.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 6
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Comment-Date: Tue, 26 Oct 2021 11:17:43 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>
      Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>

      Nektarios Paisios (Gerrit)

      unread,
      Oct 28, 2021, 4:12:34 AM10/28/21
      to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      Attention is currently required from: Jacobo Aragunde Pérez.

      Patch set 7:Code-Review +1

      View Change

      1 comment:

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 7
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Comment-Date: Thu, 28 Oct 2021 08:12:11 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Gerrit-MessageType: comment

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Oct 28, 2021, 4:13:16 AM10/28/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      View Change

      2 comments:

      • File content/test/data/accessibility/display-locking/non-activatable-expected-blink.txt:

        • Normally whitespace nodes like this are removed when they have a layout object, via IsTextRelevantFo […]

          Ack

      • File third_party/blink/web_tests/accessibility/canvas-fallback-content-labels.html:

        • Patch Set #4, Line 92: // Both check_label1 and check_label2 didn't generate any accessibility nodes, now check_label2 does generate one.

        • That's exactly what happens here, because the <label> inside the canvas does not have a layout objec […]

          I have removed cached_is_canvas_fallback_ in patchset 7, and implemented the suggested alternative "labels are always included in the tree, even if ignored" at https://crrev.com/c/3245335

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 7
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Comment-Date: Thu, 28 Oct 2021 08:13:02 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Oct 28, 2021, 6:06:24 AM10/28/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      View Change

      1 comment:

      • Patchset:

        • Patch Set #7:

          I'll have to explicitly fix the failure in this test: CrossPlatformAccessibilityBrowserTest.NavigateInIframe

          This is caused by (I think) unintentionally broken markup in the test:

            <button>Before iframe</button>
          <iframe src="inner1.html">
          <button>After iframe</button>

          Because the iframe tag is not closed, the button becomes a child of the iframe, and it's never rendered. This patch is exposing that non-existent button in the accessibility tree, overwriting the actual children of the iframe node.

          The markup is wrong but the accessibility tree must reflect what's rendered, in this case it's the iframe contents that's rendered, not the button.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 7
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Comment-Date: Thu, 28 Oct 2021 10:06:08 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Gerrit-MessageType: comment

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Oct 28, 2021, 6:23:42 AM10/28/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      View Change

      1 comment:

      • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

        • (They will be adding a DCHECK that triggers if GetLayoutObject() retrieves a stale layout object).

          Patchset 8 adds the extra comments suggested in this thread.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 8
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Comment-Date: Thu, 28 Oct 2021 10:23:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>

      Aaron Leventhal (Gerrit)

      unread,
      Oct 28, 2021, 9:51:08 AM10/28/21
      to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      Attention is currently required from: Jacobo Aragunde Pérez.

      Patch set 8:Code-Review +1

      View Change

      1 comment:

      • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

        • Patchset 8 adds the extra comments suggested in this thread.

          Right. Some nodes are not in the flat tree, that we reach via LayoutTreeBuilderTraversal. We should never create AXObjects for those nodes in the first place. The IsRelevant* functions in AXObjectCacheImpl should hopefully know how to do that.
          Take a look at Joanie' recent fix here, and Rune's comments:
          https://chromium-review.googlesource.com/c/chromium/src/+/3237246
          I don't think we've done this correctly yet -- avoiding creating AXObjects for nodes that are not in the flat tree.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 8
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Comment-Date: Thu, 28 Oct 2021 13:50:57 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Oct 29, 2021, 10:20:24 AM10/29/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      View Change

      1 comment:

      • Patchset:

        • Patch Set #7:

          I'll have to explicitly fix the failure in this test: CrossPlatformAccessibilityBrowserTest. […]

          A workaround for this issue has been submitted to https://crrev.com/c/3251072. When that's landed, this test won't cause more trouble.

          Meanwhile, there are other test failures I have to take care of.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 8
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Comment-Date: Fri, 29 Oct 2021 14:20:12 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-MessageType: comment

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Nov 1, 2021, 8:12:26 AM11/1/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org

      Jacobo Aragunde Pérez uploaded patch set #10 to this change.

      View Change

      Include hidden objects in accessible tree.

      Include display:none, visibility:hidden and aria-hidden elements in
      the accessible tree.

      We plan to use them to streamline the calculation of accessible names,
      so it does not require additional DOM or layout tree traversals. We
      previously attempted to include only those hidden nodes which were
      required for accname calculation, but there were complications to
      keep the tree up-to-date. This is much easier to maintain and it
      doesn't seem to have a noticeable performance impact.

      A sizeable number of DumpAccessibilityTreeTest expectations were
      updated to include the newly included hidden nodes.

      Original author was aleve...@chromium.org in:
      http://crrev.com/c/3197971

      Bug: 1255036
      Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Cq-Include-Trybots: luci.chromium.try:win7-blink-rel,win7-rel

      ---
      M content/test/data/accessibility/css/content-visibility-hidden-check-failure-expected-blink.txt
      M content/test/data/accessibility/html/custom-element-expected-blink.txt
      M third_party/blink/web_tests/accessibility/element-role-mapping-normal-expected.txt

      M content/test/data/accessibility/css/content-visibility-to-hidden-expected-blink.txt
      M content/test/data/accessibility/html/generated-content-after-hidden-input-expected-blink.txt
      M content/test/data/accessibility/aria/hidden-described-by-expected-blink.txt
      M third_party/blink/web_tests/accessibility/parent-is-included-in-tree.html

      M content/test/data/accessibility/html/select-in-canvas-expected-blink.txt
      M content/test/data/accessibility/regression/add-child-of-not-included-in-tree-chain-expected-blink.txt
      M content/test/data/accessibility/html/modal-dialog-closed-expected-blink.txt
      M content/test/data/accessibility/html/wbr-expected-blink.txt
      M content/test/data/accessibility/html/accordion-expected-blink.txt
      M content/test/data/accessibility/html/selectmenu-expected-blink.txt
      M third_party/blink/renderer/modules/accessibility/ax_selection_test.cc

      M content/test/data/accessibility/aria/aria-owns-crash-expected-blink.txt
      M content/test/data/accessibility/aria/aria-undefined-expected-blink.txt
      M content/test/data/accessibility/css/visibility-expected-blink.txt
      M content/test/data/accessibility/css/content-visibility-auto-aria-hidden-expected-blink.txt
      M content/test/data/accessibility/regression/title-in-shadow-expected-blink.txt
      M content/test/data/accessibility/aria/aria-hidden-single-descendant-display-none-expected-blink.txt
      M content/test/data/accessibility/html/input-list-expected-blink.txt
      M content/test/data/accessibility/html/table-column-remove-expected-blink.txt
      M content/test/data/accessibility/html/custom-element-hidden-expected-blink.txt
      M content/test/data/accessibility/display-locking/non-activatable-expected-blink.txt
      M content/test/data/accessibility/html/svg-expected-blink.txt
      M content/test/data/accessibility/html/svg-with-clickable-rect-expected-blink.txt
      M content/test/data/accessibility/html/open-modal-expected-blink.txt
      M content/test/data/accessibility/html/ruby-expected-blink.txt
      55 files changed, 303 insertions(+), 49 deletions(-)

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 10
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-MessageType: newpatchset

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Nov 3, 2021, 8:16:51 AM11/3/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      View Change

      2 comments:

      • Patchset:

        • Patch Set #12:

          With the latest patchset, 12, there should be only some ChromeOS-specific tests failing.

      • File third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-001.html:

        • Patch Set #12, Line 79:

          This is exposing an interesting behavior change: when whitespace text nodes are created as children of an AXNodeObject (because the parent node does not have layout yet), and later the parent node becomes an AXLayoutObject, the whitespace text nodes are kept in the tree, marked as ignored.

          This is different from creating an AXLayoutObject in first place, where these whitespace nodes never come to exist in first place.

          It doesn't seem to have consequences for accname or platform accessibility tree, outside of altered test expectations.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 12
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Comment-Date: Wed, 03 Nov 2021 12:16:38 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Gerrit-MessageType: comment

      Aaron Leventhal (Gerrit)

      unread,
      Nov 3, 2021, 11:59:24 AM11/3/21
      to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Tricium, Alice Boxhall, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      Attention is currently required from: Jacobo Aragunde Pérez.

      Patch set 12:Code-Review +1

      View Change

      1 comment:

      • File third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-001.html:

        • This is exposing an interesting behavior change: when whitespace text nodes are created as children […]

          Good find. That's a bug. Will you file an issue and address it for us?

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 12
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Comment-Date: Wed, 03 Nov 2021 15:59:15 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Nov 4, 2021, 3:10:12 PM11/4/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      View Change

      1 comment:

      • Patchset:

        • Patch Set #12:

          This is a WIP update, I'm trying to fix the browser test SelectToSpeakKeystrokeSelectionTest.textFieldWithComboBoxSimple, which is only run in ChromeOS: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/resources/chromeos/accessibility/select_to_speak/select_to_speak_keystroke_selection_test.js;l=524;bpv=1;bpt=0;drc=f7dd12db4aef82c41589b0f77aea5390f96d1d6a

          The test loads the following HTML+JS in the browser, then triggers the keypresses that enable "read selected" in ChromeVox, then checks if the TTS is speaking, that's when it fails:
          <!doctype html>
          <script type="text/javascript">
          function doSelection() {
          let selection = window.getSelection();
          let range = document.createRange();
          selection.removeAllRanges();
          let body = document.getElementsByTagName("body")[0];
          range.setStart(body, 0);
          range.setEnd(body, 1);
          selection.addRange(range);
          }
          </script>
          <body onload="doSelection()">
          <input list="list" value="one"></label><datalist id="list">
          <option value="one"></datalist></body>

          The difference in the accessibility tree generated before and after the patch is that our patch makes the ignored nodes for the datalist and option DOM nodes be included in the tree. Apparently, that's enough to make the test fail, I don't know yet how this change can affect the selection code.

          The wrong markup </label> doesn't seem to affect.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 12
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Comment-Date: Thu, 04 Nov 2021 19:09:57 +0000

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Nov 6, 2021, 12:46:44 PM11/6/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      View Change

      1 comment:

      • Patchset:

        • Patch Set #12:

          This is a WIP update, I'm trying to fix the browser test SelectToSpeakKeystrokeSelectionTest. […]

          The patchset 13 includes a fix for this: the test above will pass if the accessible nodes for datalist and option nodes are kept ignored and not included in the tree.

          How this relates with this test, is a bit mysterious; I have several guesses:

          1. The test is wrong, the selection is sets is actually empty and that's why TTS doesn't speak. I have this impression because, if you run that piece of HTML+JS in a browser, nothing will be visibly selected.

          2. There is an underlying problem with selections when there are "ignored but included" nodes in the tree. We know how AXPosition behaves in relation to these kinds of nodes, it takes them into account like they were unignored. Maybe we are making asumptions about ignored nodes elsewhere.

          I would rather land this CL with the workaround in patchset 13, and get back to the problem later. Mind you, there are still two other tests failing that I need to take a look, and I must redo some DumpTree test expectations due to this workaround.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 13
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Comment-Date: Sat, 06 Nov 2021 16:46:30 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Nov 8, 2021, 7:27:50 AM11/8/21
      to Jonathan Ross, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Nektarios Paisios, Aaron Leventhal

      Attention is currently required from: Jonathan Ross.

      Jacobo Aragunde Pérez would like Jonathan Ross to review this change.

      View Change

      Include hidden objects in accessible tree.

      Include display:none, visibility:hidden and aria-hidden elements in
      the accessible tree.

      We plan to use them to streamline the calculation of accessible names,
      so it does not require additional DOM or layout tree traversals. We
      previously attempted to include only those hidden nodes which were
      required for accname calculation, but there were complications to
      keep the tree up-to-date. This is much easier to maintain and it
      doesn't seem to have a noticeable performance impact.

      A sizeable number of DumpAccessibilityTreeTest expectations were
      updated to include the newly included hidden nodes.

      Original author was aleve...@chromium.org in:
      http://crrev.com/c/3197971

      Bug: 1255036
      Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Cq-Include-Trybots: luci.chromium.try:win7-blink-rel,win7-rel
      ---
      M content/test/data/accessibility/css/content-visibility-hidden-check-failure-expected-blink.txt
      M content/test/data/accessibility/html/custom-element-expected-blink.txt
      M third_party/blink/web_tests/accessibility/element-role-mapping-normal-expected.txt
      M content/test/data/accessibility/css/content-visibility-to-hidden-expected-blink.txt
      M content/test/data/accessibility/html/generated-content-after-hidden-input-expected-blink.txt
      M content/test/data/accessibility/html/iframe-with-invalid-children-added-expected-blink.txt
      M content/test/data/accessibility/html/svg-elements-not-mapped-expected-blink-cros.txt
      M content/test/data/accessibility/aria/hidden-described-by-expected-blink.txt
      M third_party/blink/web_tests/accessibility/parent-is-included-in-tree.html
      M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-004.html

      M content/test/data/accessibility/html/select-in-canvas-expected-blink.txt
      M content/test/data/accessibility/regression/add-child-of-not-included-in-tree-chain-expected-blink.txt
      M content/test/data/accessibility/html/modal-dialog-closed-expected-blink.txt
      M content/test/data/accessibility/html/wbr-expected-blink.txt
      M content/test/data/accessibility/event/add-dialog-expected-uia-win7.txt
      M content/test/data/accessibility/html/accordion-expected-blink.txt

      M content/test/data/accessibility/css/display-none-expected-blink.txt
      M content/test/data/accessibility/css/dom-element-css-alternative-text-expected-blink.txt
      M content/test/data/accessibility/html/svg-desc-in-group-expected-blink.txt
      M content/test/data/accessibility/html/svg-symbol-with-role-expected-blink.txt
      M content/test/data/accessibility/css/visibility-to-hidden-expected-blink.txt
      M content/test/data/accessibility/display-locking/all-expected-blink.txt
      M content/test/data/accessibility/html/details-expected-blink.txt
      M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-005.html
      M content/test/data/accessibility/event/add-dialog-no-info-expected-win.txt
      M content/test/data/accessibility/html/svg-elements-not-mapped-expected-blink.txt
      M content/browser/renderer_host/render_widget_host_view_mac.mm

      M content/test/data/accessibility/aria/table-column-hidden-expected-blink.txt
      M content/test/data/accessibility/html/meter-expected-blink.txt
      M content/test/data/accessibility/html/svg-text-alternative-computation-expected-blink.txt
      M content/test/data/accessibility/aria/hidden-labelled-by-expected-blink.txt
      M content/test/data/accessibility/event/aria-hidden-single-descendant-visibility-hidden-expected-auralinux.txt
      M third_party/blink/renderer/modules/accessibility/ax_object.cc
      M content/test/data/accessibility/event/add-dialog-no-info-expected-uia-win7.txt
      M content/test/data/accessibility/html/custom-element-with-aria-owns-inside-expected-blink.txt
      M content/test/data/accessibility/aria/aria-undefined-literal-expected-blink.txt
      M third_party/blink/web_tests/http/tests/inspector-protocol/accessibility/accessibility-query-axtree-expected.txt
      M content/test/data/accessibility/css/alt-text-expected-blink.txt
      M content/test/data/accessibility/event/add-dialog-described-by-expected-uia-win.txt

      M content/test/data/accessibility/html/summary-expected-blink.txt
      M content/test/data/accessibility/html/modal-dialog-stack-expected-blink.txt
      M content/test/data/accessibility/aria/aria-hidden-expected-blink.txt
      M content/test/data/accessibility/event/add-dialog-expected-win.txt

      M content/test/data/accessibility/aria/aria-hidden-single-descendant-visibility-hidden-expected-blink.txt
      M content/test/data/accessibility/aria/hidden-expected-blink.txt
      M content/test/data/accessibility/html/svg-title-in-group-expected-blink.txt
      M content/test/data/accessibility/aria/aria-empty-string-expected-blink.txt
      M content/test/data/accessibility/regression/content-visibility-label-expected-blink.txt
      M content/test/data/accessibility/html/input-suggestions-source-element-expected-blink.txt
      M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-001.html
      M content/test/data/accessibility/regression/missing-parent-expected-blink.txt
      M content/test/data/accessibility/html/landmark-expected-blink.txt
      M content/test/data/accessibility/event/add-dialog-expected-uia-win.txt
      M third_party/blink/renderer/modules/accessibility/ax_selection_test.cc
      M content/test/data/accessibility/aria/aria-owns-crash-expected-blink.txt
      M content/test/data/accessibility/event/add-dialog-no-info-expected-uia-win.txt
      M content/test/data/accessibility/aria/aria-undefined-expected-blink.txt
      M content/test/data/accessibility/event/add-dialog-described-by-expected-uia-win7.txt
      M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-002.html
      M content/test/data/accessibility/css/visibility-expected-blink.txt
      M content/test/data/accessibility/html/combobox-item-visibility-expected-blink.txt
      M content/test/data/accessibility/css/content-visibility-auto-aria-hidden-expected-blink.txt
      M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-008.html

      M content/test/data/accessibility/regression/title-in-shadow-expected-blink.txt
      M content/test/data/accessibility/aria/aria-hidden-single-descendant-display-none-expected-blink.txt
      M content/test/data/accessibility/html/input-list-expected-blink.txt
      M content/test/data/accessibility/html/table-column-remove-expected-blink.txt
      M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-003.html
      M content/test/data/accessibility/regression/slot-creation-crash-expected-blink.txt
      M content/test/data/accessibility/html/custom-element-hidden-expected-blink.txt
      M content/test/data/accessibility/display-locking/non-activatable-expected-blink.txt
      M content/test/data/accessibility/html/modal-dialog-opened-expected-blink.txt
      M content/test/data/accessibility/html/svg-expected-blink.txt
      M content/test/data/accessibility/html/svg-with-clickable-rect-expected-blink.txt
      M content/test/data/accessibility/event/add-dialog-described-by-expected-win.txt
      M content/test/data/accessibility/html/open-modal-expected-blink.txt
      M content/test/data/accessibility/html/ruby-expected-blink.txt
      77 files changed, 417 insertions(+), 96 deletions(-)


      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 15
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
      Gerrit-MessageType: newchange

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Nov 8, 2021, 7:27:55 AM11/8/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      Attention is currently required from: Jonathan Ross.

      View Change

      1 comment:

      • Patchset:

        • Patch Set #15:

          @jonross: Hi, we need a reviewer for render_widget_host_view_mac.mm. Thanks in advance!

          Basically, the purpose if this CL is including hidden text nodes in the accessibility tree (as "ignored but included"). The goal is to be able to calculate accessible names and descriptions only from the information available in the accessibility tree.

          This Mac change is necessary because of a problem detected by this test: RenderWidgetHostViewMacTest.GetPageTextForSpeech. A piece of hidden text was being included in the string returned by GetPageTextForSpeech(). Apparently, it was traversing all children, including ignored ones.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 15
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
      Gerrit-Comment-Date: Mon, 08 Nov 2021 12:27:45 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Gerrit-MessageType: comment

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Nov 8, 2021, 12:30:28 PM11/8/21
      to David Tseng, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, Nektarios Paisios, Aaron Leventhal

      Attention is currently required from: David Tseng, Jonathan Ross.

      Jacobo Aragunde Pérez would like David Tseng to review this change.

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 15
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: David Tseng <dts...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Attention: David Tseng <dts...@chromium.org>

      Jacobo Aragunde Pérez (Gerrit)

      unread,
      Nov 8, 2021, 12:30:34 PM11/8/21
      to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      Attention is currently required from: David Tseng, Jonathan Ross.

      View Change

      1 comment:

      • Patchset:

        • Patch Set #15:

          @dtseng: Hi, sorry to disturb you! I wonder if you can explain this failure, the test fails due to excessive output, there's a message appearing over and over again.

          The bot failure: https://ci.chromium.org/ui/p/chromium/builders/try/linux-chromeos-rel/1029201/overview

          The test: ChromeVoxTutorialTest.ResourcesTest

          The message: WARNING browser_tests[81628:1]: [logging_native_handler.cc(72)] Got parentChanged event on unknown node: 1353; this: 72

          I have the same abundant output when running the test locally, both on the main branch and my CL branch, so I'm not certain if it's a problem with my CL or, if it were, how to reproduce it.

          Thanks in advance for your time!

      To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
      Gerrit-Change-Number: 3217730
      Gerrit-PatchSet: 15
      Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: David Tseng <dts...@chromium.org>
      Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
      Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
      Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Alice Boxhall <abox...@chromium.org>
      Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
      Gerrit-CC: Julie Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Attention: David Tseng <dts...@chromium.org>
      Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
      Gerrit-Comment-Date: Mon, 08 Nov 2021 17:30:21 +0000

      David Tseng (Gerrit)

      unread,
      Nov 8, 2021, 1:58:45 PM11/8/21
      to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

      Attention is currently required from: Jonathan Ross, Jacobo Aragunde Pérez.

      Hi Jacobo,

      No problem.

      I patched in your change on top of origin/main as of ~1 hour ago and don't see the failure.

      To try and reproduce locally, build with the same gn args as the bot. The important bit is
      target_os = "chromeos"

      and build the browser_tests target / run the ChromeVox test.

      The parentChange event comes from ui/accessibility/ax_event_generator.cc and the errors seem to indicate that we're getting nodes that don't exist. I'd have to dig a bit further to see what's happening. It's plausible this change causes something to trigger that error.

      View Change

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 15
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
        Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Comment-Date: Mon, 08 Nov 2021 18:58:33 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        Gerrit-MessageType: comment

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Nov 9, 2021, 8:06:35 AM11/9/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Jonathan Ross.

        View Change

        1 comment:

        • Patchset:

          • Patch Set #16:

            Thanks, David!

            It makes sense, since we are dealing with the conditions to ignore nodes, that the problem happens more often. I've verified that there are twice as many error lines after my CL, that must be the reason for the "excessive output" failure. I'll dig further.

            Before:
            $ autoninja -C out/ChrOS/ browser_tests && \
            out/ChrOS/browser_tests --gtest_filter=ChromeVoxTutorialTest.ResourcesTest 2>&1 \
            | grep logging_native_handler | wc -l
            1145
            After:
            $ autoninja -C out/ChrOS/ browser_tests && \
            out/ChrOS/browser_tests --gtest_filter=ChromeVoxTutorialTest.ResourcesTest 2>&1 \
            | grep logging_native_handler | wc -l
            2446

            (marking unresolved for my own tracking)

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 16
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
        Gerrit-Comment-Date: Tue, 09 Nov 2021 13:06:23 +0000

        Jonathan Ross (Gerrit)

        unread,
        Nov 9, 2021, 5:31:36 PM11/9/21
        to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Jacobo Aragunde Pérez.

        View Change

        2 comments:

        • Patchset:

          • Patch Set #16:

            Sorry for the delay in replying, a bit behind past few days.

            Conceptually SGTM. A question about this solution vs other platforms. I'm not familiar with the RequestAXTreeSnapshop path to know if Mac is the exception. Or if we are lacking test coverage on other platforms, and they too need an update.

        • File content/browser/renderer_host/render_widget_host_view_mac.mm:

          • Patch Set #16, Line 862: GetWebContents()->RequestAXTreeSnapshot

            This path seems to be shared cross platform:
            WebContentsImpl::RequestAXTreeSnapshot -> RenderFrameHostImpl::RequestAXTreeSnapshot

            Do we need similar logic to skip the newly indexed, but ignored, elements on other platforms?

            From the linux-rel run it appears that some blink_web_tests are failing.

            I'm not familiar with those tests to know if they need updated expectations, like part of the rest of this change. Or if non-mac callsites need similar updates.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 16
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Comment-Date: Tue, 09 Nov 2021 22:31:15 +0000

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Nov 11, 2021, 7:08:59 AM11/11/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        View Change

        1 comment:

        • Patchset:

          • Patch Set #16:

            Thanks, David! […]

            An update (mostly to myself!):

            • The warning message is like: [logging_native_handler.cc(72)] Got parentChanged event on unknown node: 401; this: 72
            • The parentChanged event is produced at AXEventGenerator::OnNodeReparented(). The node ids are the ones that would be reported as "unknown nodes" later.
            • Not all the parentChanged events result in warning messages later, according with the printed IDs.
            • The number of times that AXEventGenerator::OnNodeReparented() is run is constant during the test, but it results in different amounts of warning messages. It seems that timing plays a role in this problem.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 17
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Comment-Date: Thu, 11 Nov 2021 12:08:47 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Nov 11, 2021, 11:48:55 AM11/11/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        View Change

        1 comment:

        • Patchset:

          • Patch Set #12:

            The patchset 13 includes a fix for this: the test above will pass if the accessible nodes for datali […]

            In patchset 16, I changed the code to ignore datalist/option a bit, to affect less of the existing tests. And after patchset 20, I think the expectations of all tests are updated, except for the other open comment threads.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 20
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Comment-Date: Thu, 11 Nov 2021 16:48:41 +0000

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Nov 12, 2021, 5:24:38 AM11/12/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        View Change

        1 comment:

          • The number of times that AXEventGenerator::OnNodeReparented() is run is constant during the test, but it results in different amounts of warning messages. It seems that timing plays a role in this problem.

          • This is not true, sorry. I was using a reduced version of the test. The unmodified test always produces 2370 parentChanged warnings with the CL applied, and 1120 warnings without it.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 20
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Comment-Date: Fri, 12 Nov 2021 10:24:26 +0000

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Nov 15, 2021, 11:42:04 AM11/15/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        View Change

        1 comment:

        • Patchset:

          • Patch Set #16:

            > The number of times that AXEventGenerator::OnNodeReparented() is run is constant during the test, […]

            I think that ignored nodes, which are unknown to platform accessibility, are producing events anyway and that's the reason for these error messages.

            This change to stop producing parent changed events on ignored nodes removes all the error messages in that test: https://chromium-review.googlesource.com/c/chromium/src/+/3281980

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 20
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Comment-Date: Mon, 15 Nov 2021 16:41:50 +0000

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Nov 29, 2021, 7:34:56 AM11/29/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Jonathan Ross, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Jonathan Ross.

        View Change

        3 comments:

        • Patchset:

          • Patch Set #16:

            Sorry for the delay in replying, a bit behind past few days. […]

            See other reply.

          • Patch Set #16:

            I think that ignored nodes, which are unknown to platform accessibility, are producing events anyway […]

            Actually, it wasn't that ignored nodes were "producing events anyway", they generally did not and it only happened with specially convoluted trees. In the mentioned CL, this would be fixed and a test added to detect regressions.

        • File content/browser/renderer_host/render_widget_host_view_mac.mm:

          • This path seems to be shared cross platform: […]

            I tried to follow other code paths that use this, but it's quite a lot of code. The most interesting one I found was the code that generates the thumbnails for tabs in Android Chrome, they seem to have accessibility information attached.

            In patchset 17, I modified the HTML used in some Android tests to try to break them, and they passed. Which doesn't mean we are clear, tests could not be covering that case...

            After discussing with Aaron, he suggested to add a DCHECK in the entry points to get the node name, to detect situations where we are trying to use the name of an ignored node. In patchsets 21-22, I tried to add such a check and undo the Mac fix to verify that it triggered the check. I got the condition wrong a couple times, so I ended up trying in a different CL to avoid noise here: https://chromium-review.googlesource.com/c/chromium/src/+/3304055

            The DCHECK, unfortunately, is hit in debug/test code. I can't see a reasonable way to code when it's ok or not getting the name of an ignored node, and DCHECK might not be the way to do this: they should probably be "impossible" situations, also in test conditions.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 22
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
        Gerrit-Comment-Date: Mon, 29 Nov 2021 12:34:38 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Jonathan Ross <jon...@chromium.org>

        Jonathan Ross (Gerrit)

        unread,
        Nov 29, 2021, 5:35:43 PM11/29/21
        to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, David Tseng, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Jacobo Aragunde Pérez.

        Patch set 22:Code-Review +1

        View Change

        2 comments:

        • Patchset:

          • Patch Set #22:

            content/browser/renderer_host LGTM, once the debugging is removed.

            Full comments in RenderWidgetHostViewMac, but thanks for doing a deeper dive into how this change affects other AX lookup, and tests. Worth considering a future update to make ignore element handling cleaner. But I'll leave that to the experts in the AX owners list.

        • File content/browser/renderer_host/render_widget_host_view_mac.mm:

          • I tried to follow other code paths that use this, but it's quite a lot of code. […]

            Taking a brief look at some of the failures for the patch you linked, there seems to be a mix of test verification (DumpUnfilteredAccessibilityTreeAsString) which likely wants all the `ignored` string. As well as some update paths (ui::AXPlatformNodeAuraLinux::OnNameChanged) which also likely want to update the `ignored` strings.

            Thank you for taking the time to look into that further. It does seem quite complex, and I lack the familiarity with the AX code to understand the impact outside of the test failures/expectations you've addressed.

            I'd recommend discussing with the third_party/blink/renderer/modules/accessibility/OWNERS about potential ways to improve this. However that shouldn't block this particular fix.

            I'll LGTM renderer_host, and feel free to revert the debugging to land.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 22
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Comment-Date: Mon, 29 Nov 2021 22:35:22 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Dec 1, 2021, 6:27:31 AM12/1/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Jacobo Aragunde Pérez.

        View Change

        1 comment:

          • Patch Set #16, Line 862: GetWebContents()->RequestAXTreeSnapshot

            I tried to follow other code paths that use this, but it's quite a lot of code. […]

          • As a recap, the main problem is the usage of AXNode->children() for tree traversal, which includes ignored nodes. Nektarios marked it as deprecated and created a bunch of more explicit accessors.

            I tried to track down the uses of AXNode->children() but they are very numerous... Fortunately, there are fewer uses of WebContentsImpl::RequestAXTreeSnapshot according to the code search site. They may, or may not, traverse nodes in a way that includes ignored nodes. These are the matches and my assessment of them:

              content/browser/renderer_host/render_widget_host_view_mac.mm
            * Exposes hidden content, breaking a test. Already fixed.
              content/browser/accessibility/snapshot_ax_tree_browsertest.cc
            * I think it's fine to access ignored nodes from tests.
              chrome/browser/ui/ash/assistant/assistant_context_util.cc
            * From here, it ends walking the tree using GetUnignoredChild* functions, so there's no problem.
              chrome/browser/paint_preview/services/paint_preview_tab_service.cc
            * It runs ax::mojom::AXTreeUpdate::Serialize(&ax_tree_update), apparently it will serialize to a file to be recovered later (https://crbug.com/1179326). It makes sense that the tree includes everything, as long as ignored nodes are dealt with later. I couldn't try this feature first hand.
              chrome/browser/ui/webui/read_later/side_panel/reader_mode/reader_mode_page_handler.cc
            * Problematic, it calls ->children(), traversing also ignored nodes and exposing them in reader mode. I'm sending a fix.
              components/translate/content/browser/per_frame_content_translate_driver.cc
            * Here it's used for language detection. It shouldn't be a problem to include ignored content.
              content/browser/web_contents/web_contents_android.cc
            * No problem, it walks the tree using GetUnignoredChild* functions.

            I'm following up these changes in a new CL: https://chromium-review.googlesource.com/c/chromium/src/+/3309188

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 22
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Comment-Date: Wed, 01 Dec 2021 11:27:15 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Dec 2, 2021, 7:36:02 AM12/2/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Aaron Leventhal.

        View Change

        1 comment:

          • As a recap, the main problem is the usage of AXNode->children() for tree traversal, which includes i […]

            @Aaron, I've updated this CL to set a DCHECK whenever someone tries to access the name of a hidden node, and added exceptions to use it in some tests: https://chromium-review.googlesource.com/c/chromium/src/+/3304055

            The results are quite interesting:

            • Dump tests in content_browsertests failed. This is expected, as they seem to print the entire tree before narrowing it down to match the test expectations. I added an exception for these tests.
            • PDFExtensionTests in browser_tests failed, too. These are suspicious because there were /linux tests failing, which shouldn't be dealing with hidden nodes. The backtraces indicate access through atk_object::GetName(). I added an exception for them, too, but it should be investigated...
            • A couple of blink_web_tests failed, too, the backtraces are like in the previous case, see below. I don't know how to add an exception for them, because these kinds of tests harness the content_shell, if I'm not wrong, adding an exception there would probably be too broad.
              #6 0x564d0f1a6eab ui::AXPlatformNodeBase::GetName()
            #7 0x564d0f1bbcbb ui::(anonymous namespace)::atk_object::GetName()
            #8 0x564d0f1bbbe0 ui::AXPlatformNodeAuraLinux::OnNameChanged()
            #9 0x564d0f699f16 content::BrowserAccessibilityManager::OnAccessibilityEvents()
            #10 0x564d0fca5def content::RenderFrameHostImpl::HandleAXEvents()

            All in all, this DCHECK seems to expose cases of ignored nodes getting their names accessed that we should investigate. That's even before landing this CL to include hidden nodes.

            The purpose of the DCHECK was to detect breakage caused by this CL, but either we investigate the hits we already found or it won't be useful. My proposal, right now, would be to land this change without the DCHECK. We have already tracked down and evaluated/fixed the uses of RequestAXTreeSnapshot to minimize impact.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 23
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Comment-Date: Thu, 02 Dec 2021 12:35:48 +0000

        Aaron Leventhal (Gerrit)

        unread,
        Dec 2, 2021, 12:07:19 PM12/2/21
        to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Chromium LUCI CQ, Nektarios Paisios, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Jonathan Ross, Jacobo Aragunde Pérez.

        Patch set 23:Code-Review +1

        View Change

        3 comments:

          • @Aaron, I've updated this CL to set a DCHECK whenever someone tries to access the name of a hidden n […]

            Yes, let's land asap without the DCHECK. Thanks for investigating. I don't think it's worth follow-ups to pursue investigation of the above tests usage of GetName() on invisible objects.

        • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

          • Patch Set #23, Line 2853: // naming and including them seems to have side effects, so we don't.

            Can you comment on the side effects here?

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 23
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
        Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Comment-Date: Thu, 02 Dec 2021 17:07:01 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes

        Nektarios Paisios (Gerrit)

        unread,
        Dec 6, 2021, 8:44:59 AM12/6/21
        to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Chromium LUCI CQ, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Jonathan Ross, Jacobo Aragunde Pérez.

        Patch set 23:Code-Review +1

        View Change

        9 comments:

        • Patchset:

          • Patch Set #23:

            LGTM
            In order to speed things up I am approving this patch, but would you mind looking at some comments I left.

        • File third_party/blink/renderer/modules/accessibility/ax_object.cc:

          • Patch Set #23, Line 2849: IsHiddenViaStyle()) {

            Is the IsHiddenViaStyle()method still needed, or can we get rid of it as well with this change?

          • Patch Set #23, Line 2854: if (!node->HasTagName(html_names::kDatalistTag) &&

            That's not how we usually check if a node is of a particular HTML element type. We often do:
            IsA<HTMLDataListElement>(node)
            IsA<HTMLOptionElement>(node)
            I think that we should avoid explicitly checking for tag names everywhere. Can someone search through our code for other instances?
            I believe that a widget could be created that has a different tag name but which behaves like a built-in element, that's why an element (IsA<...>) check is safer.

          • Patch Set #23, Line 2855: !node->HasTagName(html_names::kOptionTag))

            Nit: Add braces because the condition spans two lines.

          • Patch Set #23, Line 2856: return true;

            Couldn't we make this method virtual and handle returning false from the special subclasses we have for datalist / <select> and <option>.
            Look in ax_list_box.cc and ax_listbox_option.cc.

          • Patch Set #23, Line 2857:

            Should we return false here and get rid of the "} else {" line?
            I don't think that objects that have a node but lack a layout object and which are either a data list element or an option element should be further processed, should they? Isn't that what the above "if" conditions ensure that we have at this stage.

          • Patch Set #23, Line 2858: } else {

            Nit: else { // GetLayoutObject() != nullptr.
            Or get rid of the else completely as pointed above.

        • File third_party/blink/renderer/modules/accessibility/ax_selection_test.cc:

          • Patch Set #23, Line 485: // will adjust positions to point to the first character of the text object.

            It is not the browser process that performs the adjustment, it is the AXPosition class in Blink. When a particular platform asks for the selection in the browser process, it is adjusted so that it doesn't point to ignored nodes, but I assume we could omit saying this here, could we?

        • File third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-002.html:

          • Patch Set #23, Line 48: // Note that it's still the same 5 children, but the whitespace nodes are marked ignored

            I don't understand this: The nodes were unignored when the subtree was display locked, but when it is unlocked they become ignored. Why? Shouldn't they always be ignored, both when the subtree is locked and when it is unlocked?
            Also, this comment applies to similar web tests in other files.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 23
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
        Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Comment-Date: Mon, 06 Dec 2021 13:44:47 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Gerrit-MessageType: comment

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Dec 7, 2021, 10:28:03 AM12/7/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Nektarios Paisios, Jonathan Ross.

        View Change

        10 comments:

          • Patch Set #23, Line 2849: IsHiddenViaStyle()) {

            Is the IsHiddenViaStyle()method still needed, or can we get rid of it as well with this change?

          • It's still used to decide if a node should contribute to accname.

          • Patch Set #23, Line 2853: // naming and including them seems to have side effects, so we don't.

            Can you comment on the side effects here?

          • I hope it's more clear now.

          • Now the condition is only one line 😊

          • Couldn't we make this method virtual and handle returning false from the special subclasses we have […]

            That would affect some tests and this CL is pretty big, let me consider this for a separate CL.

          • Should we return false here and get rid of the "} else {" line? […]

            This affects a number of tests. I think I'd rather do it separately, we already have a lot of changes in this CL.

          • Nit: else { // GetLayoutObject() != nullptr. […]

            Done

        • File third_party/blink/renderer/modules/accessibility/ax_selection_test.cc:

          • It is not the browser process that performs the adjustment, it is the AXPosition class in Blink. […]

            Done

        • File third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-002.html:

          • I don't understand this: The nodes were unignored when the subtree was display locked, but when it i […]

            I've modified the test comments and strings to make it hopefully easier to understand:

            1. When the subtree was display locked, all 5 children were ignored.
            2. When the subtree is unlocked, the non-whitespace nodes become unignored.

            As a side note, the non-whitespace nodes would not exist if the subtree was unlocked in first place.

        To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
        Gerrit-Change-Number: 3217730
        Gerrit-PatchSet: 24
        Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
        Gerrit-Reviewer: David Tseng <dts...@chromium.org>
        Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
        Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
        Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
        Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
        Gerrit-CC: Alice Boxhall <abox...@chromium.org>
        Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
        Gerrit-CC: Julie Kim <je_jul...@chromium.org>
        Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
        Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
        Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
        Gerrit-Comment-Date: Tue, 07 Dec 2021 15:27:45 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>
        Comment-In-Reply-To: Jonathan Ross <jon...@chromium.org>
        Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>

        Jacobo Aragunde Pérez (Gerrit)

        unread,
        Dec 7, 2021, 10:28:49 AM12/7/21
        to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

        Attention is currently required from: Nektarios Paisios, Jonathan Ross.

        Patch set 24:Commit-Queue +2

        View Change

          To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
          Gerrit-Change-Number: 3217730
          Gerrit-PatchSet: 24
          Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
          Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
          Gerrit-Reviewer: David Tseng <dts...@chromium.org>
          Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
          Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
          Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
          Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
          Gerrit-CC: Alice Boxhall <abox...@chromium.org>
          Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
          Gerrit-CC: Julie Kim <je_jul...@chromium.org>
          Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
          Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
          Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
          Gerrit-Comment-Date: Tue, 07 Dec 2021 15:28:32 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          Gerrit-MessageType: comment

          Jacobo Aragunde Pérez (Gerrit)

          unread,
          Dec 7, 2021, 11:27:30 PM12/7/21
          to abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Chromium LUCI CQ, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

          Attention is currently required from: Nektarios Paisios, Jonathan Ross, Jacobo Aragunde Pérez.

          Patch set 24:Commit-Queue +2

          View Change

            To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
            Gerrit-Change-Number: 3217730
            Gerrit-PatchSet: 24
            Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
            Gerrit-Reviewer: David Tseng <dts...@chromium.org>
            Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
            Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
            Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
            Gerrit-CC: Alice Boxhall <abox...@chromium.org>
            Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
            Gerrit-CC: Julie Kim <je_jul...@chromium.org>
            Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
            Gerrit-Attention: Nektarios Paisios <nek...@chromium.org>
            Gerrit-Attention: Jonathan Ross <jon...@chromium.org>
            Gerrit-Attention: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Comment-Date: Wed, 08 Dec 2021 04:27:15 +0000

            Chromium LUCI CQ (Gerrit)

            unread,
            Dec 7, 2021, 11:31:42 PM12/7/21
            to Jacobo Aragunde Pérez, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Nektarios Paisios, Aaron Leventhal, Tricium, Akihiro Ota, chromium...@chromium.org, Julie Kim, Kevin Babbitt

            Chromium LUCI CQ submitted this change.

            View Change



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

            ```
            The name of the file: content/test/data/accessibility/html/modal-dialog-stack.html
            Insertions: 2, Deletions: 2.

            The diff is too large to show. Please review the diff.
            ```
            ```
            The name of the file: third_party/blink/renderer/modules/accessibility/ax_selection_test.cc
            Insertions: 2, Deletions: 2.

            The diff is too large to show. Please review the diff.
            ```
            ```
            The name of the file: third_party/blink/renderer/modules/accessibility/ax_object.cc
            Insertions: 10, Deletions: 6.

            The diff is too large to show. Please review the diff.
            ```
            ```
            The name of the file: content/test/data/accessibility/html/modal-dialog-stack-expected-blink.txt
            Insertions: 2, Deletions: 2.

            The diff is too large to show. Please review the diff.
            ```
            ```
            The name of the file: third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-002.html
            Insertions: 8, Deletions: 7.

            The diff is too large to show. Please review the diff.
            ```

            Approvals: Jonathan Ross: Looks good to me Nektarios Paisios: Looks good to me Aaron Leventhal: Looks good to me Jacobo Aragunde Pérez: Commit
            Include hidden objects in accessible tree.

            Include display:none, visibility:hidden and aria-hidden elements in
            the accessible tree.

            We plan to use them to streamline the calculation of accessible names,
            so it does not require additional DOM or layout tree traversals. We
            previously attempted to include only those hidden nodes which were
            required for accname calculation, but there were complications to
            keep the tree up-to-date. This is much easier to maintain and it
            doesn't seem to have a noticeable performance impact.

            A sizeable number of DumpAccessibilityTreeTest expectations were
            updated to include the newly included hidden nodes.

            Original author was aleve...@chromium.org in:
            http://crrev.com/c/3197971

            Bug: 1255036
            Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
            Cq-Include-Trybots: luci.chromium.try:win7-blink-rel,win7-rel
            Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3217730
            Reviewed-by: Jonathan Ross <jon...@chromium.org>
            Reviewed-by: Aaron Leventhal <aleve...@chromium.org>
            Reviewed-by: Nektarios Paisios <nek...@chromium.org>
            Commit-Queue: Jacobo Aragunde Pérez <jara...@igalia.com>
            Cr-Commit-Position: refs/heads/main@{#949376}
            M content/test/data/accessibility/aria/table-column-hidden-expected-blink.txt
            M content/test/data/accessibility/html/meter-expected-blink.txt
            M content/test/data/accessibility/html/svg-text-alternative-computation-expected-blink.txt
            M content/test/data/accessibility/aria/hidden-labelled-by-expected-blink.txt
            M content/test/data/accessibility/event/aria-hidden-single-descendant-visibility-hidden-expected-auralinux.txt
            M third_party/blink/renderer/modules/accessibility/ax_object.cc
            M content/test/data/accessibility/event/add-dialog-no-info-expected-uia-win7.txt
            M content/test/data/accessibility/html/custom-element-with-aria-owns-inside-expected-blink.txt
            M content/test/data/accessibility/aria/aria-undefined-literal-expected-blink.txt
            M third_party/blink/web_tests/http/tests/inspector-protocol/accessibility/accessibility-query-axtree-expected.txt
            M content/test/data/accessibility/css/alt-text-expected-blink.txt
            M content/test/data/accessibility/event/add-dialog-described-by-expected-uia-win.txt
            M content/test/data/accessibility/html/summary-expected-blink.txt
            M content/test/data/accessibility/html/modal-dialog-stack-expected-blink.txt
            M content/test/data/accessibility/aria/aria-hidden-expected-blink.txt
            M content/test/data/accessibility/event/add-dialog-expected-win.txt
            M content/test/data/accessibility/aria/aria-hidden-single-descendant-visibility-hidden-expected-blink.txt
            M content/test/data/accessibility/aria/hidden-expected-blink.txt
            M third_party/blink/web_tests/http/tests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt
            M content/test/data/accessibility/html/svg-title-in-group-expected-blink.txt
            M third_party/blink/web_tests/http/tests/inspector-protocol/accessibility/accessibility-getFullAXTree-display-locked-expected.txt

            M content/test/data/accessibility/aria/aria-empty-string-expected-blink.txt
            M content/test/data/accessibility/regression/content-visibility-label-expected-blink.txt
            M content/test/data/accessibility/html/input-suggestions-source-element-expected-blink.txt
            M content/test/data/accessibility/html/modal-dialog-stack.html

            M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-001.html
            M content/test/data/accessibility/regression/missing-parent-expected-blink.txt
            M content/test/data/accessibility/html/landmark-expected-blink.txt
            M content/test/data/accessibility/event/add-dialog-expected-uia-win.txt
            M third_party/blink/renderer/modules/accessibility/ax_selection_test.cc
            M content/test/data/accessibility/aria/aria-owns-crash-expected-blink.txt
            M content/test/data/accessibility/event/add-dialog-no-info-expected-uia-win.txt
            M content/test/data/accessibility/aria/aria-undefined-expected-blink.txt
            M content/test/data/accessibility/event/add-dialog-described-by-expected-uia-win7.txt
            M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-002.html
            M content/test/data/accessibility/css/visibility-expected-blink.txt
            M content/test/data/accessibility/css/content-visibility-auto-aria-hidden-expected-blink.txt
            M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-008.html
            M content/test/data/accessibility/regression/title-in-shadow-expected-blink.txt
            M content/test/data/accessibility/aria/aria-hidden-single-descendant-display-none-expected-blink.txt
            M content/test/data/accessibility/html/input-list-expected-blink.txt
            M content/test/data/accessibility/html/table-column-remove-expected-blink.txt
            M third_party/blink/web_tests/wpt_internal/display-lock/css-content-visibility/accessibility/content-visibility-accessibility-003.html
            M content/test/data/accessibility/regression/slot-creation-crash-expected-blink.txt
            M content/test/data/accessibility/html/custom-element-hidden-expected-blink.txt
            M content/test/data/accessibility/display-locking/non-activatable-expected-blink.txt
            M content/test/data/accessibility/html/svg-expected-blink.txt
            M content/test/data/accessibility/html/svg-with-clickable-rect-expected-blink.txt
            M content/test/data/accessibility/event/add-dialog-described-by-expected-win.txt
            M content/test/data/accessibility/html/open-modal-expected-blink.txt
            M content/test/data/accessibility/html/ruby-expected-blink.txt
            77 files changed, 440 insertions(+), 97 deletions(-)


            To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
            Gerrit-Change-Number: 3217730
            Gerrit-PatchSet: 25
            Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
            Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
            Gerrit-Reviewer: David Tseng <dts...@chromium.org>
            Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
            Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
            Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
            Gerrit-CC: Alice Boxhall <abox...@chromium.org>
            Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
            Gerrit-CC: Julie Kim <je_jul...@chromium.org>
            Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
            Gerrit-MessageType: merged

            Jacobo Aragunde Pérez (Gerrit)

            unread,
            Dec 8, 2021, 9:00:50 AM12/8/21
            to Chromium LUCI CQ, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

            Jacobo Aragunde Pérez has created a revert of this change.

            View Change

            To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
            Gerrit-Change-Number: 3217730
            Gerrit-PatchSet: 25
            Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
            Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
            Gerrit-Reviewer: David Tseng <dts...@chromium.org>
            Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
            Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
            Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
            Gerrit-CC: Alice Boxhall <abox...@chromium.org>
            Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
            Gerrit-CC: Julie Kim <je_jul...@chromium.org>
            Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
            Gerrit-MessageType: revert

            Jacobo Aragunde Pérez (Gerrit)

            unread,
            Jan 28, 2022, 11:21:25 AM1/28/22
            to Chromium LUCI CQ, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

            View Change

            1 comment:

            Gerrit-Comment-Date: Fri, 28 Jan 2022 16:21:10 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Nektarios Paisios <nek...@chromium.org>

            Jacobo Aragunde Pérez (Gerrit)

            unread,
            Feb 2, 2022, 4:06:01 AM2/2/22
            to Chromium LUCI CQ, abigailbk...@google.com, aboxhal...@chromium.org, aleventhal...@chromium.org, blink-...@chromium.org, dmazzon...@chromium.org, dtseng...@chromium.org, hirokisa...@chromium.org, josiah...@chromium.org, nektar...@chromium.org, sarakat...@chromium.org, yuzo+...@chromium.org, Jonathan Ross, David Tseng, Nektarios Paisios, Aaron Leventhal, Tricium, chromium...@chromium.org, Julie Kim, Kevin Babbitt

            View Change

            2 comments:

              • That would affect some tests and this CL is pretty big, let me consider this for a separate CL.

            To view, visit change 3217730. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I899781b654dd2b1dd97473b92e26d95fa54376bc
            Gerrit-Change-Number: 3217730
            Gerrit-PatchSet: 25
            Gerrit-Owner: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
            Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
            Gerrit-Reviewer: David Tseng <dts...@chromium.org>
            Gerrit-Reviewer: Jacobo Aragunde Pérez <jara...@igalia.com>
            Gerrit-Reviewer: Jonathan Ross <jon...@chromium.org>
            Gerrit-Reviewer: Nektarios Paisios <nek...@chromium.org>
            Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
            Gerrit-CC: Alice Boxhall <abox...@chromium.org>
            Gerrit-CC: Dominic Mazzoni <dmaz...@chromium.org>
            Gerrit-CC: Julie Kim <je_jul...@chromium.org>
            Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
            Gerrit-Comment-Date: Wed, 02 Feb 2022 09:05:48 +0000
            Reply all
            Reply to author
            Forward
            0 new messages