From f2d2f9eb2b6c940f835fdb64308b7d203fba661b Mon Sep 17 00:00:00 2001 From: Cameron Sabol Date: Mon, 27 Jan 2020 15:02:06 -0800 Subject: [PATCH] Mark Payment Option Cells as buttons for accessibility --- Stripe/STPPaymentOptionTableViewCell.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Stripe/STPPaymentOptionTableViewCell.m b/Stripe/STPPaymentOptionTableViewCell.m index 2ec3759b105..eea9b6e4ef4 100644 --- a/Stripe/STPPaymentOptionTableViewCell.m +++ b/Stripe/STPPaymentOptionTableViewCell.m @@ -78,6 +78,7 @@ - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(nulla [self.titleLabel.centerYAnchor constraintEqualToAnchor:self.contentView.centerYAnchor], ]]; + self.accessibilityTraits |= UIAccessibilityTraitButton; self.isAccessibilityElement = YES; } return self;