I’m trying to understand the best practice for assigning accessibilityTraits to a UITableViewCell that users can select from a list of options.
In Apple’s first-party apps like Settings, I’ve noticed an inconsistent approach—some cells use the Button trait, while others simply announce the label along with the Selected trait when applicable, without any additional role like Button
or Adjustable.
So my question is:
- What is the most appropriate accessibility trait to use for a selectable table view cell that updates a selection (like a settings option)?
- Is using .button the right approach, or should we rely solely on .selected?
- Is there any user experience guideline from Apple that recommends one over the other?
Would love to hear how others handle this for clarity and consistency in VoiceOver behavior.