Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

VoiceOver names a one-page tool once in the list of pages

Țugui Dragoș3518b10a1985
diff --git a/Peel/Views/CarriedPartsList.swift b/Peel/Views/CarriedPartsList.swift
index e5631612..149a072d 100644
--- a/Peel/Views/CarriedPartsList.swift
+++ b/Peel/Views/CarriedPartsList.swift
@@ -52,6 +52,8 @@ struct CarriedPartsList: View {
.foregroundStyle(.secondary)
.frame(width: 20)
.accessibilityLabel(Text(tool.title))
+ // A tool that is one page is already named by the part's title.
+ .accessibilityHidden(part.title == String(localized: tool.title))
}
VStack(alignment: .leading, spacing: 2) {
Text(verbatim: part.title)