Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ceed1b6b79e820afac817dd8bd4f0dd751476818
      
https://github.com/WebKit/WebKit/commit/ceed1b6b79e820afac817dd8bd4f0dd751476818
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-09-04 (Fri, 04 Sep 2026)

  Changed paths:
    A 
LayoutTests/accessibility/isolated-tree/list-marker-content-renderers-text-expected.txt
    A 
LayoutTests/accessibility/isolated-tree/list-marker-content-renderers-text.html
    M LayoutTests/accessibility/list-marker-content-renderers-text-expected.txt
    M LayoutTests/accessibility/list-marker-content-renderers-text.html

  Log Message:
  -----------
  AX: list-marker-content-renderers-text.html fails in ITM because it queries 
focus synchronously after changing it (prior to a notification, thus not acting 
like an AT)
https://bugs.webkit.org/show_bug.cgi?id=323365
rdar://186604502

Reviewed by Dominic Mazzoni.

nameOf() focused a button and then read accessibilityController.focusedElement 
in
the same turn. With the isolated tree that returns the previously focused 
button,
because setFocusedNodeID() writes into the tree's working changes and the new
focus isn't visible to the accessibility thread until the next commit is applied
(which happens before the focused-element-changed notification is sent out to 
the AT).

Every name after the first came out one button behind:

    FAIL nameOf('counter-button') should be Reply Item B. Was Reply Item A.

Change the test to wait for the notification before reading the AX
focused element, mirroring actual AT behavior and allowing the test to
pass in ITM.

* 
LayoutTests/accessibility/isolated-tree/list-marker-content-renderers-text-expected.txt:
 Copied from 
LayoutTests/accessibility/list-marker-content-renderers-text-expected.txt.
* 
LayoutTests/accessibility/isolated-tree/list-marker-content-renderers-text.html:
 Added.
* LayoutTests/accessibility/list-marker-content-renderers-text-expected.txt:
* LayoutTests/accessibility/list-marker-content-renderers-text.html:

Canonical link: https://commits.webkit.org/320541@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to