Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

gaaclarke
Copy link
Member

Description

On iOS 9 setAccessibilityContainer is getting called in the init for UIAccessibilityElement which is contrary to the design of SemanticsObject since it was originally an NSObject. I've made the setter a noop to just rely on the logic from the getter.

Related Issues

flutter/flutter#54366

Tests

This is covered by current tests, but only manifests on iOS 9.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the contributor guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the C++, Objective-C, Java style guides for the engine.
  • I read the tree hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation.
  • All existing and new tests are passing.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read handling breaking changes.

@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@nscobie
Copy link
Contributor

nscobie commented Jun 23, 2020

I don't see anything obviously wrong, but I'm not familiar with this yet so I would be interested in what Dan says and the results of the manual testing you requested in #54366.

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

QQ: Will this block the merge, or is it more of a soft requirement not enforced by an automated system?

Tentative LGTM. :-)

@dnfield
Copy link
Contributor

dnfield commented Jun 24, 2020

@nscobie it's just a reminder to reviewers and authors.

Is there any way we can add a test for this?

@CareF
Copy link
Contributor

CareF commented Jun 24, 2020

Tested under iPhone 4s with iOS 9.3.5 and voiceover on. Works fine.

@gaaclarke
Copy link
Member Author

@dnfield we already have tests for it, we just can't run it on iOS 9. Xcode doesn't support iOS 9 anymore so we'd have to create infrastructure to support running it with an old version of xcode or on a device.

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to unblock customer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants