SRGSSR / srgmediaplayer-apple

An advanced media player library, simple and reliable
MIT License
159 stars 33 forks source link

Accessibility element vs. opacity? #49

Closed defagos closed 6 years ago

defagos commented 6 years ago

Currently, the time slider declares itself as an accessibility element.

It appears that such elements with opacity equal to 0 are still accessible. At the very least the -isAccessibility method could probably return self.alpha != 0.f, but it seems strange to me that VoiceOver works does not exclude such elements.

Once we have a good answer, we should update the time slider and check other accessible elements in all our projects.

defagos commented 6 years ago

Seems to work with the current version and iOS 12.