Skip to content

Commit 4d33c0f

Browse files
authored
Merge pull request #6634 from woocommerce/issue/6595-settings-button-label
Hub Menu: Add accessibility label to Settings button
2 parents 4eedf82 + 248ff21 commit 4d33c0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WooCommerce/Classes/ViewRelated/Hub Menu/HubMenu.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ struct HubMenu: View {
178178
}
179179
}
180180
}
181+
.accessibilityLabel(Localization.settings)
181182
.accessibilityIdentifier("dashboard-settings-button")
182183
Spacer()
183184
}
@@ -206,6 +207,7 @@ struct HubMenu: View {
206207
private enum Localization {
207208
static let switchStore = NSLocalizedString("Switch store",
208209
comment: "Switch store option in the hub menu")
210+
static let settings = NSLocalizedString("Settings", comment: "Settings button in the hub menu")
209211
}
210212
}
211213

0 commit comments

Comments
 (0)