From ad0c69a8e3d83c70498c1c2a5721462550f90470 Mon Sep 17 00:00:00 2001 From: olgeni Date: Sun, 28 Sep 2014 19:08:57 +0200 Subject: [PATCH] Set UIAccessibilityTraitButton for QButtonElement. --- quickdialog/QButtonElement.m | 1 + 1 file changed, 1 insertion(+) diff --git a/quickdialog/QButtonElement.m b/quickdialog/QButtonElement.m index c002b9ac..1bc29a12 100644 --- a/quickdialog/QButtonElement.m +++ b/quickdialog/QButtonElement.m @@ -42,6 +42,7 @@ - (UITableViewCell *)getCellForTableView:(QuickDialogTableView *)tableView contr cell.textLabel.textAlignment = self.appearance.buttonAlignment; cell.textLabel.font = self.appearance.labelFont; cell.textLabel.textColor = self.enabled ? self.appearance.actionColorEnabled : self.appearance.actionColorDisabled; + cell.accessibilityTraits = UIAccessibilityTraitButton; return cell; }