Skip to content

Commit

Permalink
Merge pull request Tencent#1031 from kimwjc/CellAccessibility
Browse files Browse the repository at this point in the history
[fix][无障碍]修复在旁白开启状态下cell的defaultAccessoryButton无朗读的问题
  • Loading branch information
MoLice authored Jun 29, 2020
2 parents f2fdc21 + ea8bcbf commit 4ec1009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions QMUIKit/QMUIComponents/QMUITableViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ - (void)initDefaultAccessoryButtonIfNeeded {
if (!self.defaultAccessoryButton) {
self.defaultAccessoryButton = [[QMUIButton alloc] init];
[self.defaultAccessoryButton addTarget:self action:@selector(handleAccessoryButtonEvent:) forControlEvents:UIControlEventTouchUpInside];
self.defaultAccessoryButton.accessibilityLabel = @"更多信息";
}
}

Expand Down

0 comments on commit 4ec1009

Please sign in to comment.