Skip to content

Commit d72454d

Browse files
committed
Group the campaign schedule section
1 parent e35c405 commit d72454d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

WooCommerce/Classes/ViewRelated/Blaze/BudgetSetting/BlazeBudgetSettingView.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ private extension BlazeBudgetSettingView {
9393
.tertiaryTitleStyle()
9494
}
9595
.frame(maxWidth: .infinity, alignment: .leading)
96+
.accessibilityElement(children: .combine)
97+
.accessibilityAddTraits(.isButton)
98+
.accessibilityHint(Localization.scheduleAccessibilityHint)
9699

97100
// Estimated impressions - grouped for accessibility
98101
VStack(alignment: .leading) {
@@ -274,6 +277,11 @@ private extension BlazeBudgetSettingView {
274277
value: "Tap for more information about estimated impressions",
275278
comment: "Accessibility hint for the estimated impression button on the Blaze campaign budget setting screen"
276279
)
280+
static let scheduleAccessibilityHint = NSLocalizedString(
281+
"blazeBudgetSettingView.scheduleAccessibilityHint",
282+
value: "Opens campaign schedule settings",
283+
comment: "Accessibility hint for the schedule section on the Blaze budget setting screen"
284+
)
277285
}
278286
}
279287

0 commit comments

Comments
 (0)