Skip to content

Commit

Permalink
Paywalls: improved template accessibility support (#2920)
Browse files Browse the repository at this point in the history
Just some low hanging fruit to make paywalls work better with voice
over. There's still more we can improve but this makes them already 100%
usable.
  • Loading branch information
NachoSoto committed Sep 15, 2023
1 parent 3f51896 commit 2839b77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ private struct OnePackageWithFeaturesTemplateContent: View {
VStack(spacing: 40) {
ForEach(self.localization.features, id: \.title) { feature in
FeatureView(feature: feature, colors: self.configuration.colors)
.accessibilityElement(children: .combine)
}
}
.padding(.horizontal)
Expand Down
1 change: 1 addition & 0 deletions RevenueCatUI/Views/FooterView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ struct FooterView: View {
private var separator: some View {
Image(systemName: "circle.fill")
.font(.system(size: 5))
.accessibilityHidden(true)
}

private var hasTOS: Bool { self.configuration.termsOfServiceURL != nil }
Expand Down

0 comments on commit 2839b77

Please sign in to comment.