diff --git a/App/Features/Onboarding/OnboardingCarouselView.swift b/App/Features/Onboarding/OnboardingCarouselView.swift index 4af13c6..0f02df8 100644 --- a/App/Features/Onboarding/OnboardingCarouselView.swift +++ b/App/Features/Onboarding/OnboardingCarouselView.swift @@ -45,6 +45,7 @@ struct OnboardingCarouselView: View { .font(.tenxDisplay) .foregroundStyle(AppColors.textPrimary) .padding(.bottom, 12) + .accessibilityHidden(true) Text(step.title) .font(.tenxTitle) @@ -73,11 +74,15 @@ struct OnboardingCarouselView: View { if stepIndex < steps.count - 1 { Image(systemName: "chevron.right") .font(.tenxTinySemibold) + .accessibilityHidden(true) } } .frame(maxWidth: .infinity) } .buttonStyle(PrimaryButtonStyle()) + .accessibilityHint(stepIndex == steps.count - 1 + ? "Completes onboarding and opens the app" + : "Advances to the next onboarding step") .padding(.horizontal, 24) .padding(.bottom, 32) } @@ -92,6 +97,7 @@ struct OnboardingCarouselView: View { onComplete() } .buttonStyle(GhostButtonStyle()) + .accessibilityHint("Skips the remaining onboarding steps") } .padding(.horizontal, 24) .padding(.top, 12) @@ -104,6 +110,8 @@ struct OnboardingCarouselView: View { .animation(.easeInOut(duration: 0.2), value: stepIndex) } } + .accessibilityElement(children: .ignore) + .accessibilityLabel("Page \(stepIndex + 1) of \(steps.count)") } .padding(.bottom, 12) } diff --git a/App/Features/Onboarding/WelcomeView.swift b/App/Features/Onboarding/WelcomeView.swift index 44b2b33..664f531 100644 --- a/App/Features/Onboarding/WelcomeView.swift +++ b/App/Features/Onboarding/WelcomeView.swift @@ -33,6 +33,7 @@ struct WelcomeView: View { onBegin() } .buttonStyle(PrimaryButtonStyle()) + .accessibilityHint("Starts the onboarding experience") .frame(maxWidth: .infinity) Spacer()