Accordions, HEADING role.
Opened this issue · 1 comments
MayurPatel0 commented
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.
pauljadam commented
@MayurPatel0 I don't think that code actually works, can you build a demo with a VoiceOver screenshot to prove it does?