Skip to content

Commit 11a46df

Browse files
committed
Set UIAccessibilityTraitButton for QButtonElement.
1 parent 4f19449 commit 11a46df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

quickdialog/QButtonElement.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ - (UITableViewCell *)getCellForTableView:(QuickDialogTableView *)tableView contr
4444
cell.textLabel.textAlignment = self.appearance.buttonAlignment;
4545
cell.textLabel.font = self.appearance.labelFont;
4646
cell.textLabel.textColor = self.enabled ? self.appearance.actionColorEnabled : self.appearance.actionColorDisabled;
47+
cell.accessibilityTraits = UIAccessibilityTraitButton;
4748
return cell;
4849
}
4950

0 commit comments

Comments
 (0)