fix a bunch of accessibility ids

pull/891/head
Ryan ZHAO 10 months ago
parent fea940c69d
commit 45d9718ef8

@ -25,8 +25,7 @@ struct InviteAFriendScreen: View {
.foregroundColor(themeColor: .textPrimary)
.accessibility(
Accessibility(
identifier: "Your account ID",
label: "Your account ID"
identifier: "Account ID"
)
)
.frame(

@ -105,6 +105,12 @@ struct RecoveryPasswordScreen: View {
Text(mnemonic)
.font(.spaceMono(size: Values.verySmallFontSize))
.multilineTextAlignment(.center)
.accessibility(
Accessibility(
identifier: "Recovery password container",
label: mnemonic
)
)
.foregroundColor(themeColor: .sessionButton_text)
.frame(
maxWidth: .infinity,

@ -293,7 +293,7 @@ class SettingsViewModel: SessionTableViewModel, NavigationItemSource, Navigatabl
backgroundStyle: .noBackground
),
accessibility: Accessibility(
identifier: "Session ID",
identifier: "Account ID",
label: state.profile.id
)
),

Loading…
Cancel
Save