[Interop] Orphaned listitems should be exposed as generic role [chromium/src : main]

0 views
Skip to first unread message

Aaron Leventhal (Gerrit)

unread,
Apr 15, 2024, 8:37:12 AMApr 15
to Jocelyn Tran, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Jocelyn Tran

Aaron Leventhal added 1 comment

Patchset-level comments
File-level comment, Patchset 15 (Latest):
Aaron Leventhal . resolved

IIRC we tried to change this before and it broke something in Slack where there was an intervening element between the list ancestor and the list item. I haven't looked yet, but does this CL address that case?

Open in Gerrit

Related details

Attention is currently required from:
  • Jocelyn Tran
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
Gerrit-Change-Number: 5426593
Gerrit-PatchSet: 15
Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
Gerrit-CC: Zijie He <zij...@google.com>
Gerrit-Attention: Jocelyn Tran <jocel...@google.com>
Gerrit-Comment-Date: Mon, 15 Apr 2024 12:36:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Aaron Leventhal (Gerrit)

unread,
Apr 15, 2024, 12:21:11 PMApr 15
to Jocelyn Tran, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Jocelyn Tran

Aaron Leventhal added 3 comments

File content/test/data/accessibility/aria/aria-directory-children-expected-blink.txt
Line 5, Patchset 15 (Latest):++++++++genericContainer htmlTag='div'
Aaron Leventhal . unresolved

This test was added here: https://issues.chromium.org/issues/40815275 via this CL: https://chromium-review.googlesource.com/c/chromium/src/+/3398126 in order to address a regression.

Specifically, the CL says, 'the children of the "directory" role are also expected to be listitems.

Investigate a bit more and let me know what you think.

File content/test/data/accessibility/html/list-item-level.html
Line 9, Patchset 15 (Latest): <li>
Aaron Leventhal . unresolved

My concern is that the former is the way many authors have written lists over the years, even though it's wrong.

I remember fixing an issue with this back in the Firefox days where we needed to make things less restrictive and accept this case.

Is there a way we can pass the test and still allow the old structure? We should be testing both ways.

File third_party/blink/renderer/modules/accessibility/ax_object.cc
Line 2702, Patchset 15 (Latest): AXObject* ancestor = CachedParentObject();
Aaron Leventhal . unresolved

Let's switch this to using ParentObjectUnignored(). That way, if there is an intervening object with role=none (which is a legal way to remove something from the a11y tree), it will not break the content's expectation that there is a list with listitems.

Open in Gerrit

Related details

Attention is currently required from:
  • Jocelyn Tran
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
    Gerrit-Change-Number: 5426593
    Gerrit-PatchSet: 15
    Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
    Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
    Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
    Gerrit-CC: Zijie He <zij...@google.com>
    Gerrit-Attention: Jocelyn Tran <jocel...@google.com>
    Gerrit-Comment-Date: Mon, 15 Apr 2024 16:21:00 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Aaron Leventhal (Gerrit)

    unread,
    Apr 15, 2024, 1:59:58 PMApr 15
    to Jocelyn Tran, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Jocelyn Tran

    Aaron Leventhal added 2 comments

    Commit Message
    Line 13, Patchset 15 (Latest):This CL also fixes aria-level.html, list-item-level.html, and
    Aaron Leventhal . unresolved

    I would rather have us test both the incorrect and correct authoring approach, since I've definitely seen content do nested lists the incorrect way.

    File third_party/blink/renderer/modules/accessibility/ax_object.cc
    Line 2702, Patchset 15 (Latest): AXObject* ancestor = CachedParentObject();
    Aaron Leventhal . unresolved

    Let's switch this to using ParentObjectUnignored(). That way, if there is an intervening object with role=none (which is a legal way to remove something from the a11y tree), it will not break the content's expectation that there is a list with listitems.

    Aaron Leventhal

    Actually (if we need to continue pursuing this change), please add a new method ParentObjectNonGeneric() that works like ParentObjectUnignored() but also skips kGenericContainer. See Scott's comment here which shows an intervening div: https://github.com/web-platform-tests/wpt/issues/45715#issuecomment-2057463585

    Gerrit-Comment-Date: Mon, 15 Apr 2024 17:59:46 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Jocelyn Tran (Gerrit)

    unread,
    Apr 23, 2024, 4:24:22 PMApr 23
    to Aaron Leventhal, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Aaron Leventhal

    Jocelyn Tran voted and added 4 comments

    Votes added by Jocelyn Tran

    Commit-Queue+1

    4 comments

    Commit Message
    Line 13, Patchset 15:This CL also fixes aria-level.html, list-item-level.html, and
    Aaron Leventhal . resolved

    I would rather have us test both the incorrect and correct authoring approach, since I've definitely seen content do nested lists the incorrect way.

    Jocelyn Tran

    Done

    File content/test/data/accessibility/aria/aria-directory-children-expected-blink.txt
    Line 5, Patchset 15:++++++++genericContainer htmlTag='div'
    Aaron Leventhal . resolved

    This test was added here: https://issues.chromium.org/issues/40815275 via this CL: https://chromium-review.googlesource.com/c/chromium/src/+/3398126 in order to address a regression.

    Specifically, the CL says, 'the children of the "directory" role are also expected to be listitems.

    Investigate a bit more and let me know what you think.

    Jocelyn Tran

    Marking as resolved as this file is no longer in this CL.

    File content/test/data/accessibility/html/list-item-level.html
    Line 9, Patchset 15: <li>
    Aaron Leventhal . resolved

    My concern is that the former is the way many authors have written lists over the years, even though it's wrong.

    I remember fixing an issue with this back in the Firefox days where we needed to make things less restrictive and accept this case.

    Is there a way we can pass the test and still allow the old structure? We should be testing both ways.

    Jocelyn Tran

    Done

    File third_party/blink/renderer/modules/accessibility/ax_object.cc
    Line 2702, Patchset 15: AXObject* ancestor = CachedParentObject();
    Aaron Leventhal . resolved

    Let's switch this to using ParentObjectUnignored(). That way, if there is an intervening object with role=none (which is a legal way to remove something from the a11y tree), it will not break the content's expectation that there is a list with listitems.

    Aaron Leventhal

    Actually (if we need to continue pursuing this change), please add a new method ParentObjectNonGeneric() that works like ParentObjectUnignored() but also skips kGenericContainer. See Scott's comment here which shows an intervening div: https://github.com/web-platform-tests/wpt/issues/45715#issuecomment-2057463585

    Jocelyn Tran

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Aaron Leventhal
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
    Gerrit-Change-Number: 5426593
    Gerrit-PatchSet: 21
    Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
    Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
    Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
    Gerrit-CC: Zijie He <zij...@google.com>
    Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
    Gerrit-Comment-Date: Tue, 23 Apr 2024 20:24:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Aaron Leventhal (Gerrit)

    unread,
    Apr 23, 2024, 4:54:38 PMApr 23
    to Jocelyn Tran, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
    Attention needed from Jocelyn Tran

    Aaron Leventhal added 4 comments

    Patchset-level comments
    File-level comment, Patchset 21 (Latest):
    Aaron Leventhal . resolved

    Looks good except for tests that are no longer testing what they meant to test.

    File content/test/data/accessibility/aria/aria-expanded-roles-supported-expected-blink.txt
    Line 40, Patchset 21 (Latest):++++++genericContainer
    Aaron Leventhal . unresolved

    Probably should put the listitem inside of a list for this test, because it's supposed to test whether expanded is supported on listitem, but it's now only testing whether expanded is supported on generic.

    File content/test/data/accessibility/aria/aria-level-expected-auralinux.txt
    Line 41, Patchset 21 (Latest):++[section]
    Aaron Leventhal . unresolved

    We should put these list items in a list so that we test the same thing as before.

    File content/test/data/accessibility/css/display-list-item-expected-blink.txt
    Line 4, Patchset 21 (Latest):++++++genericContainer
    Aaron Leventhal . unresolved

    For this test, I think we should have one display:list-item inside of a list, and one outside, so we test both situations.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Jocelyn Tran
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
      Gerrit-Change-Number: 5426593
      Gerrit-PatchSet: 21
      Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
      Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Zijie He <zij...@google.com>
      Gerrit-Attention: Jocelyn Tran <jocel...@google.com>
      Gerrit-Comment-Date: Tue, 23 Apr 2024 20:54:29 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Jocelyn Tran (Gerrit)

      unread,
      Apr 24, 2024, 11:32:28 AMApr 24
      to Aaron Leventhal, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
      Attention needed from Aaron Leventhal

      Jocelyn Tran added 3 comments

      File content/test/data/accessibility/aria/aria-expanded-roles-supported-expected-blink.txt
      Line 40, Patchset 21:++++++genericContainer
      Aaron Leventhal . resolved

      Probably should put the listitem inside of a list for this test, because it's supposed to test whether expanded is supported on listitem, but it's now only testing whether expanded is supported on generic.

      Jocelyn Tran

      Done

      File content/test/data/accessibility/aria/aria-level-expected-auralinux.txt
      Aaron Leventhal . unresolved

      We should put these list items in a list so that we test the same thing as before.

      Jocelyn Tran

      We already have listitems in a list right below this. Should we keep these listitems outside of a list so that we can test that they are correctly exposed?

      File content/test/data/accessibility/css/display-list-item-expected-blink.txt
      Line 4, Patchset 21:++++++genericContainer
      Aaron Leventhal . resolved

      For this test, I think we should have one display:list-item inside of a list, and one outside, so we test both situations.

      Jocelyn Tran

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Aaron Leventhal
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
      Gerrit-Change-Number: 5426593
      Gerrit-PatchSet: 22
      Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
      Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Zijie He <zij...@google.com>
      Gerrit-Attention: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Comment-Date: Wed, 24 Apr 2024 15:32:13 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Aaron Leventhal (Gerrit)

      unread,
      Apr 25, 2024, 6:00:00 AMApr 25
      to Jocelyn Tran, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
      Attention needed from Jocelyn Tran

      Aaron Leventhal voted and added 2 comments

      Votes added by Aaron Leventhal

      Code-Review+1

      2 comments

      Patchset-level comments
      File-level comment, Patchset 22 (Latest):
      Aaron Leventhal . resolved

      LGTM

      File content/test/data/accessibility/aria/aria-level-expected-auralinux.txt
      Aaron Leventhal . resolved

      We should put these list items in a list so that we test the same thing as before.

      Jocelyn Tran

      We already have listitems in a list right below this. Should we keep these listitems outside of a list so that we can test that they are correctly exposed?

      Aaron Leventhal

      Acknowledged

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Jocelyn Tran
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
      Gerrit-Change-Number: 5426593
      Gerrit-PatchSet: 22
      Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
      Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
      Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Zijie He <zij...@google.com>
      Gerrit-Attention: Jocelyn Tran <jocel...@google.com>
      Gerrit-Comment-Date: Thu, 25 Apr 2024 09:59:45 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Jocelyn Tran <jocel...@google.com>
      Comment-In-Reply-To: Aaron Leventhal <aleve...@chromium.org>
      satisfied_requirement
      open
      diffy

      Jocelyn Tran (Gerrit)

      unread,
      Apr 25, 2024, 10:45:45 AMApr 25
      to Akihiro Ota, Aaron Leventhal, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
      Attention needed from Akihiro Ota

      Jocelyn Tran added 1 comment

      Patchset-level comments
      Jocelyn Tran . resolved

      Hi Aki, could you please take a look at this CL? I'm looking for owners approval for `chrome/browser/resources/chromeos/accessibility/switch_access/ switch_access_predicate_test.js`.

      For context, I made the listitem in the test the child of a list so that it would be treated as a listitem. Otherwise, the listitem would not be treated as a listitem (and it would not pass the clickable listitem test on line 276).

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Akihiro Ota
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
      Gerrit-Change-Number: 5426593
      Gerrit-PatchSet: 22
      Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Akihiro Ota <akihi...@chromium.org>
      Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
      Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Zijie He <zij...@google.com>
      Gerrit-Attention: Akihiro Ota <akihi...@chromium.org>
      Gerrit-Comment-Date: Thu, 25 Apr 2024 14:45:23 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Akihiro Ota (Gerrit)

      unread,
      Apr 25, 2024, 12:51:03 PMApr 25
      to Jocelyn Tran, Aaron Leventhal, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
      Attention needed from Jocelyn Tran

      Akihiro Ota voted and added 1 comment

      Votes added by Akihiro Ota

      Code-Review+1

      1 comment

      Patchset-level comments
      Akihiro Ota . resolved

      Thanks Jocelyn, `switch_access_predicate_test.js` LGTM - didn't look too closely at the other files 😊

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Jocelyn Tran
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
      Gerrit-Change-Number: 5426593
      Gerrit-PatchSet: 22
      Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Akihiro Ota <akihi...@chromium.org>
      Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
      Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Zijie He <zij...@google.com>
      Gerrit-Attention: Jocelyn Tran <jocel...@google.com>
      Gerrit-Comment-Date: Thu, 25 Apr 2024 16:50:49 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Jocelyn Tran (Gerrit)

      unread,
      Apr 25, 2024, 1:04:29 PMApr 25
      to Aaron Leventhal, Zijie He, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org

      Jocelyn Tran voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
      Gerrit-Change-Number: 5426593
      Gerrit-PatchSet: 22
      Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Akihiro Ota <akihi...@chromium.org>
      Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
      Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
      Gerrit-CC: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-CC: Nektarios Paisios <nek...@chromium.org>
      Gerrit-CC: Zijie He <zij...@google.com>
      Gerrit-Comment-Date: Thu, 25 Apr 2024 17:04:09 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Apr 25, 2024, 1:55:44 PMApr 25
      to Jocelyn Tran, Akihiro Ota, Aaron Leventhal, Zijie He, AyeAye, chromium...@chromium.org, (Julie)Jeongeun Kim, Kevin Babbitt, Nektarios Paisios, anastas...@google.com, shannc...@chromium.org, alemat...@chromium.org, oshima...@chromium.org, rrsilva+wat...@google.com, katie...@chromium.org, blundell+...@chromium.org, fuchsia...@chromium.org, abigailbk...@google.com, aleventhal...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dtseng...@chromium.org, francisjp...@google.com, hirokisa...@chromium.org, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org

      Chromium LUCI CQ submitted the change with unreviewed changes

      Unreviewed changes

      22 is the latest approved patch-set.
      No files were changed between the latest approved patch-set and the submitted one.

      Change information

      Commit message:
      [Interop] Orphaned listitems should be exposed as generic role

      According to [1], if a listitem is not a child of ol, menu, or ul, or if
      the containing list element is no longer exposed with a list role, then
      the listitem element should be exposed with a generic role.

      This CL adds ParentObjectUnignoredNonGeneric() which skips intervening
      divs when looking for the parent of a listitem. See [2] for context.

      These changes make the following web platform subtests pass:
      el-li-orphaned in html-aam/roles-generic.html
      orphan div with listitem role in wai-aria/role/list-roles.html

      [1]https://w3c.github.io/html-aam/#el-li
      [2]https://github.com/web-platform-tests/wpt/issues/45715#issuecomment-2057463585
      Bug: 325975937, 41490744, 337035247, 337037595
      Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
      Reviewed-by: Aaron Leventhal <aleve...@chromium.org>
      Commit-Queue: Jocelyn Tran <jocel...@google.com>
      Reviewed-by: Akihiro Ota <akihi...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1292557}
      Files:
      • M chrome/browser/resources/chromeos/accessibility/switch_access/switch_access_predicate_test.js
      • M content/test/data/accessibility/aria/aria-expanded-roles-supported-expected-blink.txt
      • M content/test/data/accessibility/aria/aria-expanded-roles-supported.html
      • M content/test/data/accessibility/aria/aria-level-expected-auralinux.txt
      • M content/test/data/accessibility/aria/aria-level-expected-blink.txt
      • M content/test/data/accessibility/aria/aria-level-expected-uia-win.txt
      • M content/test/data/accessibility/aria/aria-level-expected-win.txt
      • M content/test/data/accessibility/aria/aria-level.html
      • M content/test/data/accessibility/aria/aria-owns-expected-android-assist-data.txt
      • M content/test/data/accessibility/aria/aria-owns-expected-android-external.txt
      • M content/test/data/accessibility/aria/aria-owns-expected-auralinux.txt
      • M content/test/data/accessibility/aria/aria-owns-expected-blink.txt
      • M content/test/data/accessibility/css/display-list-item-expected-blink.txt
      • M content/test/data/accessibility/css/display-list-item.html
      • M content/test/data/accessibility/html/list-item-level-expected-blink.txt
      • M content/test/data/accessibility/html/list-item-level.html
      • M content/test/data/accessibility/html/reparent-crash-expected-blink.txt
      • M third_party/blink/renderer/modules/accessibility/ax_object.cc
      • M third_party/blink/renderer/modules/accessibility/ax_object.h
      • M third_party/blink/web_tests/platform/linux-chrome/external/wpt/html-aam/roles-generic-expected.txt
      • M third_party/blink/web_tests/platform/linux-chrome/external/wpt/wai-aria/role/list-roles-expected.txt
      Change size: M
      Delta: 21 files changed, 57 insertions(+), 38 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Akihiro Ota, +1 by Aaron Leventhal
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9be6fa394f705c5fdbf8d0458c02f75026e3303e
      Gerrit-Change-Number: 5426593
      Gerrit-PatchSet: 24
      Gerrit-Owner: Jocelyn Tran <jocel...@google.com>
      Gerrit-Reviewer: Aaron Leventhal <aleve...@chromium.org>
      Gerrit-Reviewer: Akihiro Ota <akihi...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Jocelyn Tran <jocel...@google.com>
      Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages