Index: ios/chrome/browser/payments/payment_method_selection_view_controller.mm |
diff --git a/ios/chrome/browser/payments/payment_method_selection_view_controller.mm b/ios/chrome/browser/payments/payment_method_selection_view_controller.mm |
index 500bc0a8685185fe8bbee0bb79c4479d2f6c5fa4..f3a169487c787e0f029a05924a10e5b561193bc2 100644 |
--- a/ios/chrome/browser/payments/payment_method_selection_view_controller.mm |
+++ b/ios/chrome/browser/payments/payment_method_selection_view_controller.mm |
@@ -62,6 +62,7 @@ typedef NS_ENUM(NSInteger, ItemType) { |
[ChromeIcon templateBarButtonItemWithImage:[ChromeIcon backIcon] |
target:nil |
action:@selector(onReturn)]; |
+ returnButton.accessibilityLabel = l10n_util::GetNSString(IDS_ACCNAME_BACK); |
[self navigationItem].leftBarButtonItem = returnButton; |
} |
return self; |
@@ -91,6 +92,7 @@ typedef NS_ENUM(NSInteger, ItemType) { |
autofill::CreditCard* paymentMethod = _paymentMethods[i]; |
PaymentMethodItem* paymentMethodItem = [[[PaymentMethodItem alloc] |
initWithType:ItemTypePaymentMethod] autorelease]; |
+ paymentMethodItem.accessibilityTraits |= UIAccessibilityTraitButton; |
paymentMethodItem.methodID = |
base::SysUTF16ToNSString(paymentMethod->TypeAndLastFourDigits()); |
paymentMethodItem.methodDetail = base::SysUTF16ToNSString( |