diff --git a/Stripe/STPSectionHeaderView.m b/Stripe/STPSectionHeaderView.m index 79fb8c42758..50e2457c7db 100644 --- a/Stripe/STPSectionHeaderView.m +++ b/Stripe/STPSectionHeaderView.m @@ -23,6 +23,7 @@ - (instancetype)initWithFrame:(CGRect)frame { UILabel *label = [UILabel new]; label.numberOfLines = 0; label.lineBreakMode = NSLineBreakByWordWrapping; + label.accessibilityTraits |= UIAccessibilityTraitHeader; [self addSubview:label]; _label = label; UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem];