[UI Scripting] Getting label of SwiftUI.AccessibilityNode

Hi, I’m trying to get label of some widget UI elements.
When I inspect it using UI Browser, the labels show under AXAttributedDescription, but Applescript can’t access them via either description or that attribute.
When I inspect the elements with Accessibility Inspector, they appears as SwiftUI.AccessibilityNode, and the labels I need show under ‘Label’.
How do I get that kind of element’s label using Applescript?

SwiftUi is a quite young technology. Unlike Swift applications which still rely on AppKit the widgets are native SwiftUI structures and classes which AppleScript doesn’t know about.

I think there is no way to examine SwiftUi UI elements.

Try just accessing it’s name or title