diff --git a/TemplateApplication/Home.swift b/TemplateApplication/Home.swift index 5359dad..9492c17 100644 --- a/TemplateApplication/Home.swift +++ b/TemplateApplication/Home.swift @@ -65,6 +65,7 @@ struct Home: View { }, label: { Image(systemName: "person.crop.circle") + .accessibilityLabel("Profile View") } ) } diff --git a/TemplateApplication/Instructions/Instructions.swift b/TemplateApplication/Instructions/Instructions.swift index 3c27bc3..be6324f 100644 --- a/TemplateApplication/Instructions/Instructions.swift +++ b/TemplateApplication/Instructions/Instructions.swift @@ -17,6 +17,7 @@ struct Instructions: View { ForEach(steps, id: \.offset) { step in HStack { Image(systemName: "\(step.offset + 1).circle.fill") + .accessibilityHidden(true) .foregroundColor(Color("ButtonColor_light")) .font(.system(size: 45)) .frame(minHeight: 90) diff --git a/TemplateApplication/Onboarding/AccountSetup/AccountSetup.swift b/TemplateApplication/Onboarding/AccountSetup/AccountSetup.swift index e439f54..afc06f5 100644 --- a/TemplateApplication/Onboarding/AccountSetup/AccountSetup.swift +++ b/TemplateApplication/Onboarding/AccountSetup/AccountSetup.swift @@ -77,8 +77,10 @@ struct AccountSetup: View { Group { if account.signedIn { Image(systemName: "person.badge.shield.checkmark.fill") + .accessibilityLabel("You are signed in") } else { Image(systemName: "person.fill.badge.plus") + .accessibilityLabel("You can sign up or sign in") } } .font(.system(size: 150)) diff --git a/TemplateApplication/Onboarding/HealthKitPermissions.swift b/TemplateApplication/Onboarding/HealthKitPermissions.swift index 92db3d1..c2d90e4 100644 --- a/TemplateApplication/Onboarding/HealthKitPermissions.swift +++ b/TemplateApplication/Onboarding/HealthKitPermissions.swift @@ -28,6 +28,7 @@ struct HealthKitPermissions: View { ) Spacer() Image(systemName: "heart.text.square.fill") + .accessibilityHidden(true) .font(.system(size: 150)) .foregroundColor(.accentColor) Text("HEALTHKIT_PERMISSIONS_DESCRIPTION") diff --git a/TemplateApplication/Onboarding/Welcome.swift b/TemplateApplication/Onboarding/Welcome.swift index 61ac211..b67d611 100644 --- a/TemplateApplication/Onboarding/Welcome.swift +++ b/TemplateApplication/Onboarding/Welcome.swift @@ -20,17 +20,17 @@ struct Welcome: View { subtitle: "WELCOME_SUBTITLE", areas: [ .init( - icon: Image(systemName: "folder.badge.plus"), + icon: Image(systemName: "folder.badge.plus"), // swiftlint:disable:this accessibility_label_for_image title: "WELCOME_AREA1_TITLE", description: "WELCOME_AREA1_DESCRIPTION" ), .init( - icon: Image(systemName: "magnifyingglass"), + icon: Image(systemName: "magnifyingglass"), // swiftlint:disable:this accessibility_label_for_image title: "WELCOME_AREA2_TITLE", description: "WELCOME_AREA2_DESCRIPTION" ), .init( - icon: Image(systemName: "square.and.arrow.up"), + icon: Image(systemName: "square.and.arrow.up"), // swiftlint:disable:this accessibility_label_for_image title: "WELCOME_AREA3_TITLE", description: "WELCOME_AREA3_DESCRIPTION" ) diff --git a/TemplateApplication/Overview/InstructionsView.swift b/TemplateApplication/Overview/InstructionsView.swift index f8c15ab..5c4d314 100644 --- a/TemplateApplication/Overview/InstructionsView.swift +++ b/TemplateApplication/Overview/InstructionsView.swift @@ -13,6 +13,7 @@ struct InstructionsView: View { var body: some View { VStack(alignment: .center) { Image(systemName: "doc.text.magnifyingglass") + .accessibilityHidden(true) .font(.system(size: 90)) .foregroundColor(.accentColor) .padding(.vertical, 8) diff --git a/TemplateApplication/Overview/LLMSummaryView.swift b/TemplateApplication/Overview/LLMSummaryView.swift index b2c1961..12ace58 100644 --- a/TemplateApplication/Overview/LLMSummaryView.swift +++ b/TemplateApplication/Overview/LLMSummaryView.swift @@ -23,6 +23,7 @@ struct LLMSummaryView: View { var body: some View { VStack(alignment: .center) { Image(systemName: "magnifyingglass") + .accessibilityHidden(true) .font(.system(size: 90)) .foregroundColor(.accentColor) .padding(.vertical, 8)