How to group and control field order when using Switch Control in SwiftUI?

As mentioned in #wwdc-10019, you can use assessibilityNavigationStyle and assessibilityElements in UIKit to group fields and control the field tapping order when the user is using Switch Control. How can this be done in SwiftUI?

Should be wwdc20-10019

Seems can use .accessibilityElement(children: .contain) and .accessibilitySortPriority() to accomplish the desired result.

How to group and control field order when using Switch Control in SwiftUI?
 
 
Q