From 95ce9d5197debdc3ebfc2903f635af117600ea4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Dus=CC=8Cek?= Date: Sun, 31 Mar 2013 16:28:48 +0200 Subject: [PATCH] Post AXValueChanged when changing selected tab If this is on, then VoiceOver reads the name of the new tab being switched to, enabling easier navigation between open tabs. --- Frameworks/OakAppKit/src/OakTabBarView.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/OakAppKit/src/OakTabBarView.mm b/Frameworks/OakAppKit/src/OakTabBarView.mm index c9527b14..94469aa2 100644 --- a/Frameworks/OakAppKit/src/OakTabBarView.mm +++ b/Frameworks/OakAppKit/src/OakTabBarView.mm @@ -721,6 +721,7 @@ static id SafeObjectAtIndex (NSArray* array, NSUInteger index) if(selectedTab == anIndex) return; selectedTab = anIndex; + NSAccessibilityPostNotification(self, NSAccessibilityValueChangedNotification); self.layoutNeedsUpdate = YES; }