Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a448d83598f290d8cb989762f574375c667b7970
      
https://github.com/WebKit/WebKit/commit/a448d83598f290d8cb989762f574375c667b7970
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-10-08 (Thu, 08 Oct 2026)

  Changed paths:
    M Source/WebCore/accessibility/AXObjectCache.cpp

  Log Message:
  -----------
  AX: Changes to CSS `content` alt text are not reflected in the accessibility 
isolated tree
https://bugs.webkit.org/show_bug.cgi?id=326872
rdar://189552878

Reviewed by Dominic Mazzoni.

PR 76072 runs the rendering update ahead of the AX cache update timer, which 
makes
accessibility/isolated-tree/css-content-alt-text.html fail. Unlike an alt 
attribute change, a change
to CSS `content` alt text never updated the isolated object's accessibility 
text. The test only
passed because the new SVG image usually loaded before the queued children 
update ran, refreshing
the object as a side effect. With the new ordering, the children update runs 
before the image loads.

Handle `content` alt text changes like alt attribute changes, deferred until 
the new renderer exists.

* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::onStyleChange):

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



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

Reply via email to