diff --git a/native/Avalonia.Native/src/OSX/automation.mm b/native/Avalonia.Native/src/OSX/automation.mm index 78552f716e..9bc4b0124c 100644 --- a/native/Avalonia.Native/src/OSX/automation.mm +++ b/native/Avalonia.Native/src/OSX/automation.mm @@ -509,8 +509,14 @@ NSAccessibilityPostNotification(self, NSAccessibilitySelectedChildrenChangedNotification); break; case ToggleProvider_ToggleState: + NSAccessibilityPostNotification(self, NSAccessibilityValueChangedNotification); + break; case ExpandCollapseProvider_ExpandCollapseState: NSAccessibilityPostNotification(self, NSAccessibilityValueChangedNotification); + if (_peer->ExpandCollapseProvider_GetIsExpanded()) + NSAccessibilityPostNotification(self, (__bridge NSString *)kAXRowExpandedNotification); + else + NSAccessibilityPostNotification(self, (__bridge NSString *)kAXRowCollapsedNotification); break; default: break;