VoiceOver (iOS/Mac) won't acknowledge accessible selected property (Qt Quick)
-
We're trying to add accessibility to our application, but when following the documentation on QML Accessible, things like selected and selectable won't ever be announced by VoiceOver.
We thought that the issue may be on our part but when modifying the accessibility example provided by qt the result was the same. I'm wondering if it's more to it than in the docs or do we do something wrong.
To check if it's working both selected and selectable were explicitly set to true (modified example code). It's worth noting that setting selectableText and pressed will also bear no difference for VoiceOver readout.I'd appreciate any help as this is a big issue for us as we wan't our app to be accessible and accessibility features are also used by automated tests.
NOTE: The role is set to list item however I've gone thru all the roles and in no case the selected property will be acknowledged by VoiceOver.
Text { id: subjectLabel //! [text] Accessible.role: Accessible.ListItem Accessible.name: text Accessible.selectable: true Accessible.selected: true //! [text] text: "Subject:" }