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

Support accessibility labels on iOS switches.#12404

Merged
jonahwilliams merged 7 commits into
flutter-team-archive:masterfrom
brandondiamond:onofflabels
Sep 26, 2019
Merged

Support accessibility labels on iOS switches.#12404
jonahwilliams merged 7 commits into
flutter-team-archive:masterfrom
brandondiamond:onofflabels

Conversation

@brandondiamond

Copy link
Copy Markdown
Contributor

This is the engine change needed to support flutter/flutter#39993.

Queries / tracks the accessibility in iOS and plumbs it through to the framework via AccessibilityFeatures.

Issue: flutter/flutter#4830.

brandondiamond added a commit to brandondiamond/flutter that referenced this pull request Sep 23, 2019
@brandondiamond brandondiamond requested review from jonahwilliams and removed request for jonahwilliams September 25, 2019 18:22
@brandondiamond brandondiamond changed the title Add on/off label accessibility flag (only supported by ios). Support accessibility labels on iOS switches. Sep 25, 2019
@jonahwilliams

Copy link
Copy Markdown
Contributor

@brandondiamond I think you might be synced to a bad PR, can you pull an updated master into your PR?

@jonahwilliams

Copy link
Copy Markdown
Contributor

Also, please check the errors due to code formatting

@brandondiamond

Copy link
Copy Markdown
Contributor Author

Fixed formatting and merged with master (hopefully my git-fu didn't mess everything up)!

@brandondiamond

Copy link
Copy Markdown
Contributor Author

Missed a change in web_ui, should be fixed and ready for review :)

Thanks again, Jonah.

@jonahwilliams jonahwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@chinmaygarde

Copy link
Copy Markdown
Contributor

This commit is causing iOS LUCI failures.

@chinmaygarde

chinmaygarde commented Sep 26, 2019

Copy link
Copy Markdown
Contributor

UIAccessibilityIsOnOffSwitchLabelsEnabled is only available when using the iOS 13 SDK. Buildbots have not migrated to that yet.

engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Sep 26, 2019
git@github.com:flutter/engine.git/compare/b126ba758533...5b5fd75

git log b126ba7..5b5fd75 --no-merges --oneline
2019-09-26 chinmaygarde@google.com Revert "Support accessibility labels on iOS switches. (#12404)" (flutter-team-archive/engine#12466)
2019-09-26 1036976+brandondiamond@users.noreply.github.com Support accessibility labels on iOS switches. (flutter-team-archive/engine#12404)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Sep 30, 2019
git@github.com:flutter/engine.git/compare/b126ba758533...5b5fd75

git log b126ba7..5b5fd75 --no-merges --oneline
2019-09-26 chinmaygarde@google.com Revert "Support accessibility labels on iOS switches. (flutter#12404)" (flutter-team-archive/engine#12466)
2019-09-26 1036976+brandondiamond@users.noreply.github.com Support accessibility labels on iOS switches. (flutter-team-archive/engine#12404)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
[center addObserver:self
selector:@selector(onAccessibilityStatusChanged:)
name:UIAccessibilityOnOffSwitchLabelsDidChangeNotification
object:nil];

@cbracken cbracken Oct 21, 2019

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

When this is re-landed, only one of these two duplicate notifications should be applied. See #12464.

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

Labels

Development

Successfully merging this pull request may close these issues.

5 participants