Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect accessibility frames #186

Open
defagos opened this issue Sep 30, 2021 · 0 comments
Open

Incorrect accessibility frames #186

defagos opened this issue Sep 30, 2021 · 0 comments
Labels
bug Issue to be fix (issue and PR) - release notes section

Comments

@defagos
Copy link
Member

defagos commented Sep 30, 2021

With the hero stage introduced in iOS 3.3.0 and tvOS 1.3.2 the image is scaled, top aligned and clipped. As a result SwiftUI incorrectly identifies the accessibility frame (ignores the clipping and takes the largest frame, the one of the image).

We can either fix this issue or report it as a bug to Apple. This is not a big deal as accessibility works fine (though on iOS scrolling behaves oddly if you can see the screen).

Issue type

Incorrect behavior

Environment information

  • Application version: iOS 3.3.0 / tvOS 1.3.2
  • iOS / tvOS version: Any
  • Device: Physical

Reproducibility

Always reproducible

Steps to reproduce

  1. Launch the Play app
  2. Enable VoiceOver
  3. Navigate the hero stage
@defagos defagos added the bug Issue to be fix (issue and PR) - release notes section label Sep 30, 2021
@defagos defagos changed the title Accessibility frames incorrect Incorrect accessibility frames Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue to be fix (issue and PR) - release notes section
Projects
None yet
Development

No branches or pull requests

1 participant