ios-swiftui-accessibility-techniques icon indicating copy to clipboard operation
ios-swiftui-accessibility-techniques copied to clipboard

Accordions, HEADING role.

Open MayurPatel0 opened this issue 1 year ago • 1 comments
trafficstars

Just like in web we expect accordions to have heading role. For disclosure group, we can achieve this by .accessibilityElement(children: .contain) and then .accessibilityLabel("The disclosure group text").

This will add the heading role, to the disclosure group.

MayurPatel0 avatar Apr 22 '24 14:04 MayurPatel0

@MayurPatel0 I don't think that code actually works, can you build a demo with a VoiceOver screenshot to prove it does?

pauljadam avatar Sep 26 '24 17:09 pauljadam