FXForms
FXForms copied to clipboard
accessibilityLabel for cells and tableViews
How would I set the accessibilityLabel for the cells in a form and the tableView where the options for a Option FormField are displayed?
You can include arbitrary key/value pairs in the field dictionary, provided that they match up with a property of the UITableViewCell. So @"accessibilityLabel": @"Foo" should work for setting a cell's accessibility label.
I don't think there's currently a way to do this for the fields in an options subform.
Ah ok perfect, thanks for that quick answer.
Is there a way to set the accessibilityLabel for the tableView of the options subform?
I just tried it setting the accessibilityLabel of a cell with key/value pairs but unfortunately it didn't work. ;(
Struggling with this too. This is a larger issue because common iOS acceptance testing tools use the accessibility labels to drive automated UI tests.
Related issue #366