SemanticsBinding.instance.ensureSemantics causes inconsistent state for mobile #158399
Labels
team-accessibility
Owned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)
Steps to reproduce
Actual results
the talkback and voiceover can't recognize the app
Upon closer investigation this is due to that the enable flag in the engine is not flipped by calls to ensureSemantics. It will causes the engine shell to drop all semantics update.
Since the semantics update is sequential update, the accessibility tree in mobile embedding can't be constructed even after the voiceover or talkback is turned on later.
The text was updated successfully, but these errors were encountered: