macos: AX for debug warning

pull/7601/head
Mitchell Hashimoto 2025-06-09 12:48:42 -07:00
parent 4237dad240
commit c90eb2e952
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 4 additions and 0 deletions

View File

@ -139,6 +139,10 @@ struct DebugBuildWarningView: View {
}
.background(Color(.windowBackgroundColor))
.frame(maxWidth: .infinity)
.accessibilityElement(children: .combine)
.accessibilityLabel("Debug build warning")
.accessibilityValue("Debug builds of Ghostty are very slow and you may experience performance problems. Debug builds are only recommended during development.")
.accessibilityAddTraits(.isStaticText)
.onTapGesture {
isPopover = true
}