mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
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() {
|
func makeIconEmpty() {
|
||||||
if iconView.iconImage != nil {
|
if iconView.iconImage != nil {
|
||||||
iconView.iconImage = nil
|
iconView.iconImage = nil
|
||||||
@ -232,6 +236,7 @@ private extension MasterTimelineTableViewCell {
|
|||||||
updateUnreadIndicator()
|
updateUnreadIndicator()
|
||||||
updateStarView()
|
updateStarView()
|
||||||
updateIconImage()
|
updateIconImage()
|
||||||
|
updateAccessiblityLabel()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user