Orange-OpenSource / ods-ios

A SwiftUI components library with code examples for Orange Design System
https://orange-opensource.github.io/ods-ios/
MIT License
26 stars 6 forks source link

[Bug][a11y] Empty state module : Usage label and buttons not grouped #700

Closed pya35 closed 2 months ago

pya35 commented 6 months ago

Prerequisites

Your test device

iPhone 14 Plus

OS Version

17.1.1

App version

v0.18.0

Describe the issue

related to #558 On module "Empty State", "usage" label and associated buttons are not grouped, so when Voice Over focus moves to one of the button, only the button is vocalized, not the group label.

Expected Behavior

Usage label and associated buttons should be grouped together to have an optimal vocalization when focus first moves to a button of the list. Try using : .accessibilityElement(children: .contain)

ludovic35 commented 6 months ago

Fixed by #677

pya35 commented 6 months ago

fixed