Accessibility focus on Flutter
Sometimes you need to programmatically move the accessibility focus to a specific element. For example, when you present a modal, the assistive technology should move it's focus to it. Or when moving to a new screen, you might want assistive technologies to focus a specific element.
Flutter does not have built-in support for changing accessibility focus. See Flutter issue #59594 for more information.
You could implement your own platform channels
to call the native Android and iOS methods to move accessibility focus.
Do not use FocusNode
or Semantics.focused
, these methods should only be used for keyboard or input focus.