You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tap on player area -> TalkBack says "show player controls"
Activate it to make Player controls show
Tap on pause button -> video is paused, but accessibility focus is not on the player anymore. Ideally the focus should fall on play button. Same thing when tapping on play button.
Here is the xml of my exoplayer controls, the playerPlayPauseContainer is inside the exoplayer control view xml file.
This is causing inconvenience to our users who use TalkBack. After they tap play/pause button, they would need to navigate all the way back to the controls on the player.
I tried to manually set accessibility focus in Google IMA "VideoStreamPlayer" onPlay() and onPause() events, but didn't work. It looks like the player controls aren't able to be set accessibility focus easily. Is there something we can do? Thanks!
ExoPlayer version number: 2.11.3 and 2.14.1
Android version: Android 10; Android 7
Android device: Samsung Tab A; Nexus 9
The text was updated successfully, but these errors were encountered:
Thanks for raising this! There's some logic in PlayerControlView that handles this for key focus, but it doesn't appear to handle the accessibility focus case at the moment. For key focus, we:
Transfer focus from the play button to the pause button (and vice versa) when playback is started (and stopped)
Focus either the play or pause button (depending on the player state) when the controls are made visible.
You're requesting that we enable (1) for accessibility, which we can do. Do you think (2) would also make sense for accessibility? I'm unsure what a user would prefer in this case. Thanks!
For #2, it's probably not needed. The users can choose to select the control they want. The accessibility team I have worked with didn't mention they would prefer a behaviour like this, but this is just our thoughts. Thanks!
- Fix focus when pausing and resuming
- Prevent repeated readout of the playback position when paused
#exofixit
#minor-release
Issue #9111
PiperOrigin-RevId: 395301765
Steps to reproduce
Here is the xml of my exoplayer controls, the
playerPlayPauseContainer
is inside the exoplayer control view xml file.This is causing inconvenience to our users who use TalkBack. After they tap play/pause button, they would need to navigate all the way back to the controls on the player.
I tried to manually set accessibility focus in Google IMA "VideoStreamPlayer" onPlay() and onPause() events, but didn't work. It looks like the player controls aren't able to be set accessibility focus easily. Is there something we can do? Thanks!
ExoPlayer version number: 2.11.3 and 2.14.1
Android version: Android 10; Android 7
Android device: Samsung Tab A; Nexus 9
The text was updated successfully, but these errors were encountered: