SwiftUI provides the accessibilityCustomContent(_:_:)
modifier to add additional accessibility information for an element. However, I couldn’t find a similar approach in UIKit.
Is there a way to achieve this in UIKit?
Yes, please check out the AXCustomContentProvider
protocol, https://developer.apple.com/documentation/accessibility/axcustomcontentprovider
Also please see this WWDC session, Tailor the VoiceOver experience in your data-rich apps, https://developer.apple.com/videos/play/wwdc2021/10121/?time=303