Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accessibilityLabel for cells and tableViews #182

Open
BObereder opened this issue Sep 16, 2014 · 5 comments
Open

accessibilityLabel for cells and tableViews #182

BObereder opened this issue Sep 16, 2014 · 5 comments

Comments

@BObereder
Copy link

How would I set the accessibilityLabel for the cells in a form and the
tableView where the options for a Option FormField are displayed?

@nicklockwood
Copy link
Owner

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.

@BObereder
Copy link
Author

Ah ok perfect, thanks for that quick answer.

Is there a way to set the accessibilityLabel for the tableView of the options subform?

@BObereder
Copy link
Author

I just tried it setting the accessibilityLabel of a cell with key/value pairs but unfortunately it didn't work. ;(

@milesegan
Copy link

Struggling with this too. This is a larger issue because common iOS acceptance testing tools use the accessibility labels to drive automated UI tests.

@yakubbaev
Copy link

Related issue #366

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants