Change accessibility ordering of labels to make it more hierarchical when spoken in VoiceOver. Issue #1584
This commit is contained in:
parent
22057c3b1b
commit
0e3c837b66
|
@ -200,6 +200,10 @@ private extension MasterTimelineTableViewCell {
|
|||
}
|
||||
}
|
||||
|
||||
func updateAccessiblityLabel() {
|
||||
accessibilityLabel = "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
|
||||
}
|
||||
|
||||
func makeIconEmpty() {
|
||||
if iconView.iconImage != nil {
|
||||
iconView.iconImage = nil
|
||||
|
@ -232,6 +236,7 @@ private extension MasterTimelineTableViewCell {
|
|||
updateUnreadIndicator()
|
||||
updateStarView()
|
||||
updateIconImage()
|
||||
updateAccessiblityLabel()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue