Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3eabf14c578214563ad10ede0248a00fa851aa1a
      
https://github.com/WebKit/WebKit/commit/3eabf14c578214563ad10ede0248a00fa851aa1a
  Author: Joshua Hoffman <[email protected]>
  Date:   2026-01-09 (Fri, 09 Jan 2026)

  Changed paths:
    A 
LayoutTests/accessibility/ios-simulator/live-regions/live-region-removal-expected.txt
    A 
LayoutTests/accessibility/ios-simulator/live-regions/live-region-removal.html
    M 
LayoutTests/accessibility/mac/live-regions/live-region-removals-expected.txt
    M Source/WebCore/accessibility/AXLiveRegionManager.cpp
    M Source/WebCore/platform/LocalizedStrings.cpp
    M Source/WebCore/platform/LocalizedStrings.h

  Log Message:
  -----------
  AX: expose live region "removals" using new attribute
https://bugs.webkit.org/show_bug.cgi?id=305151
rdar://167662802

Reviewed by Tyler Wilcock.

Before this change, for IsLiveRegionManagementEnabled=On, WebKit would prepend 
"removed" to
the announcement string for live regions. For various reasons, it makes more 
sense for ATs
to decide how they wants to handle removals (pitch change, braille labels, 
etc.). So instead
of adding this string in webkit, expose a new attribute on iOS and macOS that 
can be
consumed by ATs.

Test: accessibility/ios-simulator/live-regions/live-region-removal.html

* 
LayoutTests/accessibility/ios-simulator/live-regions/live-region-removal-expected.txt:
 Added.
* 
LayoutTests/accessibility/ios-simulator/live-regions/live-region-removal.html: 
Added.
* LayoutTests/accessibility/mac/live-regions/live-region-removals-expected.txt:
* Source/WebCore/accessibility/AXLiveRegionManager.cpp:
(WebCore::AXLiveRegionManager::computeAnnouncement const):
* Source/WebCore/platform/LocalizedStrings.cpp:
(WebCore::AXRemovedText): Deleted.
* Source/WebCore/platform/LocalizedStrings.h:

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



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

Reply via email to