Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f1653cda09d79f83de08cfc662fd4a0fa600f2e
      
https://github.com/WebKit/WebKit/commit/7f1653cda09d79f83de08cfc662fd4a0fa600f2e
  Author: Joshua Hoffman <josh_hoff...@apple.com>
  Date:   2025-08-13 (Wed, 13 Aug 2025)

  Changed paths:
    A LayoutTests/accessibility/mac/iframe-hit-testing-expected.txt
    A LayoutTests/accessibility/mac/iframe-hit-testing.html
    M LayoutTests/platform/mac-wk1/TestExpectations
    M Source/WebCore/accessibility/AccessibilityObject.cpp

  Log Message:
  -----------
  AX: Scrolled iframe content cannot be hit tested
https://bugs.webkit.org/show_bug.cgi?id=297296
rdar://155985059

Reviewed by Tyler Wilcock.

When hit testing the main frame/page via WKAccessibilityWebPageObjectMac,
we account for the scroll position of that page. But, when an iframe is
hit tested, we are not adjusting for that frame's scroll position as
well. This fixes that issue, resolving several hit testing issues across ATs.

* LayoutTests/accessibility/mac/iframe-hit-testing-expected.txt: Added.
* LayoutTests/accessibility/mac/iframe-hit-testing.html: Added.
* LayoutTests/platform/mac-wk1/TestExpectations:
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::elementAccessibilityHitTest const):

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



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

Reply via email to