diff --git a/Demo/Resources/Localizable.xcstrings b/Demo/Resources/Localizable.xcstrings index 5a5d4abb0..a0a3bc320 100644 --- a/Demo/Resources/Localizable.xcstrings +++ b/Demo/Resources/Localizable.xcstrings @@ -224,6 +224,9 @@ }, "Presenter mode" : { + }, + "Progress" : { + }, "Project" : { diff --git a/Demo/Sources/Views/PlaybackSlider~ios.swift b/Demo/Sources/Views/PlaybackSlider~ios.swift index 7a20ff3b9..5272dc3e7 100644 --- a/Demo/Sources/Views/PlaybackSlider~ios.swift +++ b/Demo/Sources/Views/PlaybackSlider~ios.swift @@ -34,6 +34,17 @@ struct PlaybackSlider: View where ValueLabel: View { } ) .frame(maxWidth: .infinity) + .accessibilityRepresentation { + Slider( + progressTracker: progressTracker, + label: { + Text("Progress") + }, + minimumValueLabel: minimumValueLabel, + maximumValueLabel: maximumValueLabel + ) + } + .accessibilityAddTraits(.updatesFrequently) .onReceive(player: progressTracker.player, assign: \.buffer, to: $buffer) }