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.
This commit is contained in:
Boris Dušek
2013-03-31 16:28:48 +02:00
committed by Allan Odgaard
parent 65ae6a22b4
commit 95ce9d5197

View File

@@ -721,6 +721,7 @@ static id SafeObjectAtIndex (NSArray* array, NSUInteger index)
if(selectedTab == anIndex)
return;
selectedTab = anIndex;
NSAccessibilityPostNotification(self, NSAccessibilityValueChangedNotification);
self.layoutNeedsUpdate = YES;
}