I need to move the accessibility focus to certain element on the screen. In UIKit, we can simply do UIAccessibility.post(.screenChanged, element)
However, when I do that with a SwiftUI View, the app crashes with the following message in console
This class '__SwiftValue' is not a known serializable element and returning it as an accessibility element may lead to crashes
Any idea how we can move focus to certain elements on the screen in SwiftUI?