The .accessibilityElement(children: ) modifier with the .ignore argument does a similar thing to set the container view to be an accessibility element in UIKit. It is the default argument, so you can just say .accessibilityElement().

Two instances of the Stock Analyzer app showing you what it is included with the pro version and how much it costs. The first one uses .accessibilityElement(children .combine) to group three elements, and that causes VoiceOver to announce

Because of this, you'll need to use other modifiers to make it accessible and manually configure an accessibility label and value, traits... when necessary.

https://developer.apple.com/documentation/swiftui/view/accessibilityelement(children:)

https://developer.apple.com/documentation/swiftui/accessibilitychildbehavior/ignore