[webkit-changes] [WebKit/WebKit] c726e3: AX: The accessibility tree doesn't update when sel...

Tyler Wilcock noreply at github.com
Wed Sep 11 15:42:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c726e39c4422ee5635c91936773212032cc1c2e7
      https://github.com/WebKit/WebKit/commit/c726e39c4422ee5635c91936773212032cc1c2e7
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    A LayoutTests/accessibility/mac/dynamic-selection-expected.txt
    A LayoutTests/accessibility/mac/dynamic-selection.html
    M LayoutTests/resources/accessibility-helper.js
    M Source/WebCore/editing/mac/FrameSelectionMac.mm

  Log Message:
  -----------
  AX: The accessibility tree doesn't update when selection is cleared
https://bugs.webkit.org/show_bug.cgi?id=279484
rdar://135768164

Reviewed by Andres Gonzalez.

Prior to this patch, we never updated the isolated tree when selection
was cleared, only when it was changed from one node to another. This
meant that we would serve stale data for the AXSelectedTextMarkerRangeAttribute
API.

* LayoutTests/accessibility/mac/dynamic-selection-expected.txt: Added.
* LayoutTests/accessibility/mac/dynamic-selection.html: Added.
* LayoutTests/resources/accessibility-helper.js:
* Source/WebCore/editing/mac/FrameSelectionMac.mm:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):

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



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


More information about the webkit-changes mailing list