Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cba49fa3cb9892ba98026665997eae10dd3213d1
      
https://github.com/WebKit/WebKit/commit/cba49fa3cb9892ba98026665997eae10dd3213d1
  Author: Dominic Mazzoni <[email protected]>
  Date:   2025-10-07 (Tue, 07 Oct 2025)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.mm

  Log Message:
  -----------
  AX: page sometimes points to wrong isolated tree with 
ENABLE_ACCESSIBILITY_LOCAL_FRAME=1
https://bugs.webkit.org/show_bug.cgi?id=299705
rdar://161522668

Reviewed by Tyler Wilcock.

An isolated tree is registering itself with
WKAccessibilityWebPageObjectBase, but if there's more than one
isolated tree (when ENABLE_ACCESSIBILITY_LOCAL_FRAME=1, which will be
needed for site isolation) then only the main frame should be
registered. Without this fix, VoiceOver sometimes lands on an iframe with no
way to get to the main page.

Not covered by tests because they seem to go through 
_WKAccessibilityRootObjectForTesting
instead.

* Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.mm:
(-[WKAccessibilityWebPageObjectBase setIsolatedTree:]):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to