mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 19:07:41 +00:00
SwiftUI controls advertise only AXAttributedDescription but answer
AXDescription, so treat AXDescription as readable in that case and give
Calculator keys and System Settings sidebar buttons their labels.
Render custom actions ("Name:X\nTarget:..\nSelector:..") as just their
name, and match perform-secondary-action on the exact pretty name first so
a custom "Delete" is not shadowed by AXDelete.
Refs #42828
Co-authored-by: Neil <neil@stably.ai>