Prefix accessibility label with unread when item is unread. Issue #2142
This commit is contained in:
parent
d453a94330
commit
95704c7f3e
|
@ -237,7 +237,9 @@ private extension MasterTimelineTableViewCell {
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateAccessiblityLabel() {
|
func updateAccessiblityLabel() {
|
||||||
accessibilityLabel = "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
|
var label = cellData.read ? "" : "\(NSLocalizedString("Unread", comment: "Unread")), "
|
||||||
|
label += "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
|
||||||
|
accessibilityLabel = label
|
||||||
}
|
}
|
||||||
|
|
||||||
func makeIconEmpty() {
|
func makeIconEmpty() {
|
||||||
|
|
Loading…
Reference in New Issue