Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d12f2a54db14500217af6fc6373bf67865f8d73a
      
https://github.com/WebKit/WebKit/commit/d12f2a54db14500217af6fc6373bf67865f8d73a
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-01-12 (Mon, 12 Jan 2026)

  Changed paths:
    A LayoutTests/accessibility/dynamic-aria-hidden-inside-button-expected.txt
    A LayoutTests/accessibility/dynamic-aria-hidden-inside-button.html
    A 
LayoutTests/platform/glib/accessibility/dynamic-aria-hidden-inside-button-expected.txt
    M LayoutTests/platform/ios/TestExpectations
    A 
LayoutTests/platform/ios/accessibility/dynamic-aria-hidden-inside-button-expected.txt
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/AXObjectCache.h

  Log Message:
  -----------
  AX: Button label is not updated after dynamic aria-hidden state change of 
descendant
https://bugs.webkit.org/show_bug.cgi?id=305205
rdar://167848026

Reviewed by Joshua Hoffman.

With this commit, when aria-hidden changes, we now update the cached 
accessibility text of any associated object
(specifically, ancestry and / or labelledby association).

* LayoutTests/accessibility/dynamic-aria-hidden-inside-button-expected.txt: 
Added.
* LayoutTests/accessibility/dynamic-aria-hidden-inside-button.html: Added.
* LayoutTests/platform/ios/TestExpectations:
* 
LayoutTests/platform/ios/accessibility/dynamic-aria-hidden-inside-button-expected.txt:
 Added.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleAttributeChange):
(WebCore::AXObjectCache::updateCachedTextOfAssociatedObjects):
* Source/WebCore/accessibility/AXObjectCache.h:

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



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

Reply via email to