macos: AX for debug warning

This commit is contained in:
Mitchell Hashimoto
2025-06-09 12:48:42 -07:00
parent 4237dad240
commit c90eb2e952

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
}