Skip to content

Accessibility support for embedded Android views #19418

Closed

Description

@amirh
No description provided.

Activity

  1. jonahwilliams commented on Jul 16, 2018

    @jonahwilliams
    Contributor

    Current plan (Android): when a native view is created, call some method on the flutter view or accessibility bridge to register the value. When the a11y tree is created on the framework side, insert a node for the native render object with some flag/id that matches the internal registry. Then either when the semantics tree is updated or when the view is inserted, match the id of the native view with the semantics node containing the special tag and send a content changed event

  2. jonahwilliams commented on Jul 16, 2018

    @jonahwilliams
    Contributor

    This requires a new SemanticsFlag, probably something like isExternalView. The semantics node which contained this flag could only have this flag and a label, which would be the serialized identifier used by the native view registry.

  3. added
    a: platform-viewsEmbedding Android/iOS views in Flutter apps
    platform-androidAndroid applications specifically
    and removed
    platform-androidAndroid applications specifically
    on Jul 20, 2018
  4. jonahwilliams commented on Aug 8, 2018

    @jonahwilliams
    Contributor

    Per offline discussion: It is not currently possible to determine the correct parent-child relationship for an Android view with synthetic (not based on a View hierarchy) accessibility tree, such as a web view. The nodes can be obtained, there just isn't anything we can do with them.

    There may be another API we need to provide to embedded views to communicate 1) what the full accessibility node hierarchy is and 2) when to update it/receive events.

    Reassigning to @amirh for planning.

  5. added
    engineflutter/engine related. See also e: labels.
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Dec 6, 2018
  6. 33 remaining items

  7. chinmaygarde commented on Sep 14, 2020

    @chinmaygarde
    Contributor

    Per Ray, this should be fixed in 1.22. That is under verification right now.

  8. blasten commented on Sep 14, 2020

    @blasten

    This is fixed in 1.22. @bparrishMines PR should be the last step prior to closing this issue.

  9. chinmaygarde commented on Sep 21, 2020

    @chinmaygarde
    Contributor

    Can you update the milestone of this issue please?

  10. blasten commented on Sep 21, 2020

    @blasten

    @chinmaygarde added label waiting for PR to land (fixed)

  11. added
    P1High-priority issues at the top of the work list
    and removed on Sep 29, 2020
  12. modified the milestones: 1.23 - September 2020, on Oct 6, 2020
  13. blasten commented on Oct 14, 2020

    @blasten

    This has been fixed in 1.22 - use hybrid composition to make an Android view fully accessible. Hybrid composition should work 100% of the times just like any other Android view inside a vanilla Android app.

    https://flutter.dev/docs/development/platform-integration/platform-views?tab=android-platform-views-kotlin-tab#hybrid-composition

  14. github-actions commented on Aug 8, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  15. locked as resolved and limited conversation to collaborators on Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: platform-viewsEmbedding Android/iOS views in Flutter appsc: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallywaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions