Post

Replies

Boosts

Views

Activity

Accessibility of a UITableView Detail Disclosure button
iOS accessibility bug in tableView? I’m trying to add an accessibilityLabel to a tableViewCell’s UITableViewCellAccessoryDetailDisclosureButton. VoiceOver just doesn’t “see” it. Its in the hierarchy and tappable but I need let the user know its there. Thoughts? I have set accessibilityLabels to the textLabel and detailTextLabel but no idea how to access the “info” button. If I debug the heirarchy, It does speak the “More Info” value, but nothing happens when I step through the elements or tap it on a device. Any help would be appreciated. “More Info” is the default label for that built in control. I used isAccessibilityElement = false on the cell, so that I could access the textLabel and defaultTextLabel. If I use the Accessibility Inspector to look at the hierarchy I can see the button. For some reason I can’t get a handle on it. The info button opens an editor, so I want to tell the user that 1. it is there and 2. what it goes to. (I’m not looking to override that label, that’s not possible as per the docs)
1
0
1.3k
Mar ’22