order fix
This commit is contained in:
parent
a51079b601
commit
884b18a8ef
@ -197,9 +197,9 @@ static NSString * const COLLECTION_CELL_ID = @"cell";
|
||||
cell.isAccessibilityElement = NO;
|
||||
cell.contentView.isAccessibilityElement = YES;
|
||||
|
||||
NSString *titleString = [label.text stringByAppendingString:[NSString stringWithFormat:[MVMCoreUIUtility hardcodedStringWithKey:@"AccTabIndex"], self.selectedIndex + 1, [self.datasource numberOfTopTabbarItems:self]]];
|
||||
NSString *accLabel = [titleString stringByAppendingString:[MVMCoreUIUtility hardcodedStringWithKey:@"AccTab"]];
|
||||
cell.contentView.accessibilityLabel = accLabel;
|
||||
NSString *accLabel = [label.text stringByAppendingString:[MVMCoreUIUtility hardcodedStringWithKey:@"AccTab"]];
|
||||
NSString *accString = [accLabel stringByAppendingString:[NSString stringWithFormat:[MVMCoreUIUtility hardcodedStringWithKey:@"AccTabIndex"], self.selectedIndex + 1, [self.datasource numberOfTopTabbarItems:self]]];
|
||||
cell.contentView.accessibilityLabel = accString;
|
||||
[cell.contentView setAccessibilityHint:[MVMCoreUIUtility hardcodedStringWithKey:@"AccTabHint"]];
|
||||
|
||||
if (indexPath.row == self.selectedIndex) {
|
||||
@ -411,9 +411,9 @@ static NSString * const COLLECTION_CELL_ID = @"cell";
|
||||
}
|
||||
|
||||
//setup selected tab accessibility
|
||||
NSString *string = [label.text stringByAppendingString:[NSString stringWithFormat:[MVMCoreUIUtility hardcodedStringWithKey:@"AccTabIndex"], self.selectedIndex + 1, [self.datasource numberOfTopTabbarItems:self]]];
|
||||
NSString *accLabel = [string stringByAppendingString:[MVMCoreUIUtility hardcodedStringWithKey:@"toptabbar_tab_selected"]];
|
||||
cell.contentView.accessibilityLabel = accLabel;
|
||||
NSString *accString = [accLabel stringByAppendingString:[NSString stringWithFormat:[MVMCoreUIUtility hardcodedStringWithKey:@"AccTabIndex"], self.selectedIndex + 1, [self.datasource numberOfTopTabbarItems:self]]];
|
||||
cell.contentView.accessibilityLabel = accString;
|
||||
[cell.contentView setAccessibilityHint:nil];
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user