From 95704c7f3e5e3d51349e805a3b5cec48620e5df6 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 20 Jun 2020 11:05:54 -0500 Subject: [PATCH] Prefix accessibility label with unread when item is unread. Issue #2142 --- iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift b/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift index 55183f29b..813420cf6 100644 --- a/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift +++ b/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift @@ -237,7 +237,9 @@ private extension MasterTimelineTableViewCell { } 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() {