From 8ca991b322b10d57d8224e3fe96b1c2629c7a12e Mon Sep 17 00:00:00 2001 From: panxi Date: Wed, 1 May 2019 11:40:29 -0400 Subject: [PATCH] bug fix --- MVMCoreUI/Containers/TabBarController/TopTabbar.m | 1 + 1 file changed, 1 insertion(+) diff --git a/MVMCoreUI/Containers/TabBarController/TopTabbar.m b/MVMCoreUI/Containers/TabBarController/TopTabbar.m index 18131d53..b69fc233 100644 --- a/MVMCoreUI/Containers/TabBarController/TopTabbar.m +++ b/MVMCoreUI/Containers/TabBarController/TopTabbar.m @@ -411,6 +411,7 @@ static NSString * const COLLECTION_CELL_ID = @"cell"; } //setup selected tab accessibility + NSString *string = label.text; NSString *accLabel = [string stringByAppendingString:[MVMCoreUIUtility hardcodedStringWithKey:@"toptabbar_tab_selected"]]; NSString *accString = [accLabel stringByAppendingString:[NSString stringWithFormat:[MVMCoreUIUtility hardcodedStringWithKey:@"AccTabIndex"], self.selectedIndex + 1, [self.datasource numberOfTopTabbarItems:self]]]; cell.contentView.accessibilityLabel = accString;