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 skips the symbols a row's words already say

Țugui Dragoșd91e5bd819c0
diff --git a/Peel/Views/ToolRow.swift b/Peel/Views/ToolRow.swift
index f5cf3865..9231f9d1 100644
--- a/Peel/Views/ToolRow.swift
+++ b/Peel/Views/ToolRow.swift
@@ -15,6 +15,7 @@ struct ToolRow<Title: View, Details: View, Trailing: View>: View {
.foregroundStyle(.secondary)
.frame(width: 28, height: 28)
.background(.quaternary, in: .circle)
+ .accessibilityHidden(true)
VStack(alignment: .leading, spacing: 1) {
title
details
diff --git a/Peel/Views/VendorNotes.swift b/Peel/Views/VendorNotes.swift
index 27ba989d..aa325f0a 100644
--- a/Peel/Views/VendorNotes.swift
+++ b/Peel/Views/VendorNotes.swift
@@ -107,6 +107,9 @@ struct PackageReceiptSection: View {
Image(systemName: item.requiresPrivileges ? "lock.fill" : "doc")
.foregroundStyle(.secondary)
.frame(width: 20)
+ // The lock is the only place that says so; the document says nothing.
+ .accessibilityLabel(Text("Needs administrator access"))
+ .accessibilityHidden(!item.requiresPrivileges)
Text(item.url.abbreviatedPath)
.font(.caption)
.lineLimit(1)