Skip to content

Directionality widget does not set directionality on SemanticsNode #16835

Closed

Description

@yjbanov

Directionality widget does not set directionality on SemanticsNode. A workaround is to wrap the Directionality widget in a Semantics widget with textDirection set accordingly. However, this is not always possible. For example, WidgetsApp sets Directionality for you, and it doesn't give you a chance to inject a Semantics widget. Another issue is that the additional Semantics widget will cause a new SemanticsNode to be inserted in the tree. It would be desirable that the effect of Directionality is a simple flip of the textDirection field on the nearest parent SemanticsNode.

/cc @goderbauer

Activity

  1. added this to the bucket4 milestone on Apr 21, 2018
  2. github-actions commented on Sep 3, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions