Swift UI Chart Accessibility issue

Hi Team,

We are integrating SwiftUI's Charts BarMark, UI looks good but when we try setting up custom ADA it doesn't reflect/override the accessibility label/value we set manually.

Is it iOS defect or is there any workaround? Thanks in advance.

Sample:

 Chart(data) {
                BarMark(
                    x: .value("Category", $0.department),
                    y: .value("Profit", $0.profit)
                )
                .foregroundStyle(by: .value("Product Category", $0.productCategory))
                .accessibilityIdentifier("BarMark")
                .accessibilityLabel("Dep: \($0.department)")
                .accessibilityValue("Profile: \($0.profit) Category: \($0.productCategory)")
            }
Swift UI Chart Accessibility issue
 
 
Q