Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 97f8688d9dc6398058115337983319ec22a22749
      
https://github.com/WebKit/WebKit/commit/97f8688d9dc6398058115337983319ec22a22749
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-02-26 (Thu, 26 Feb 2026)

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

  Log Message:
  -----------
  AX: Fix iframe aria-hidden propagation with ENABLE(ACCESSIBILITY_LOCAL_FRAME)
https://bugs.webkit.org/show_bug.cgi?id=308664
rdar://171197467

Reviewed by Joshua Hoffman.

When aria-hidden changes from "true" to "false" on an iframe, the
AXLocalFrame transitions from ignored to unignored and calls
childrenChanged on its parent FrameHost ScrollView. However,
handleChildrenChanged hits an early return for objects with no node
and no renderer, so the ancestor chain walk never runs and the
isolated tree is never updated.

Fix this by propagating childrenChanged from the FrameHost ScrollView
up to its parent iframe element, which has both a node and a renderer
and can drive the ancestor chain walk correctly.

Fixes accessibility/mac/iframe-aria-hidden.html with 
ENABLE(ACCESSIBILITY_LOCAL_FRAME).

* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleChildrenChanged):
* Source/WebCore/accessibility/AccessibilityScrollView.h:

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



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

Reply via email to