[webkit-changes] [WebKit/WebKit] c47810: AX: Expose accessibilityRowRange for the first chi...

Tyler Wilcock noreply at github.com
Sat Jan 11 16:15:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c47810c96653e409246f47ca21e5d8dcd548b9e2
      https://github.com/WebKit/WebKit/commit/c47810c96653e409246f47ca21e5d8dcd548b9e2
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2025-01-11 (Sat, 11 Jan 2025)

  Changed paths:
    A LayoutTests/accessibility/ios-simulator/list-item-row-range-expected.txt
    A LayoutTests/accessibility/ios-simulator/list-item-row-range.html
    M Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm

  Log Message:
  -----------
  AX: Expose accessibilityRowRange for the first child of list items
https://bugs.webkit.org/show_bug.cgi?id=285762
rdar://142699051

Reviewed by Chris Fleizach.

This allows assistive technologies to provide positional information for list items (e.g. "foo, 1 of 3"), matching macOS.
Only expose a valid row range for the first child of a list item so that ATs don't repeatedly output this information
when there are lots of things packed into the list item.

* LayoutTests/accessibility/ios-simulator/list-item-row-range-expected.txt: Added.
* LayoutTests/accessibility/ios-simulator/list-item-row-range.html: Added.
* Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper tableCellParent]):
(-[WebAccessibilityObjectWrapper accessibilityRowRange]):

Canonical link: https://commits.webkit.org/288767@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