macOS Alert
macOS Alert
Un macOS Alert è un dialog di sistema per una scelta importante, un errore o una condizione. Una persona deve notarlo e rispondere.
Un altro esempio
Chiudere un documento non salvato chiede se Salvare, Annullare o scartare le modifiche. L'impostazione predefinita più sicura è chiara.
Parti principali
- 01Attiva
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Usalo quando
Usalo solo quando una condizione importante richiede una risposta o una scelta prima che il compito attuale possa continuare in sicurezza.
Non usarlo quando
Evita messaggi di successo di routine, la convalida integrata recuperabile e le conferme per azioni reversibili. Gli avvisi ripetuti abituano le persone a chiuderli senza leggerli.
Nome usato nel codice
AppKit NSAlert / SwiftUI alert Prima di spedire
Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion.
Outcome: Complete the task with macOS Alert (macOS Alert). User context: Chiudere un documento non salvato chiede se Salvare, Annullare o scartare le modifiche. L'impostazione predefinita più sicura è chiara. macOS concept or control: macOS Alert (macOS Alert). Why it fits: Usalo solo quando una condizione importante richiede una risposta o una scelta prima che il compito attuale possa continuare in sicurezza. Do not use it when: Evita messaggi di successo di routine, la convalida integrata recuperabile e le conferme per azioni reversibili. Gli avvisi ripetuti abituano le persone a chiuderli senza leggerli. Platform requirements: List the supported macOS versions. Say whether AppKit or SwiftUI owns each part and how they connect. Define window, menu, focus, keyboard, saved state, restore, and multi-window behavior. Platform accessibility and resilience: Use the right accessibility APIs. Check VoiceOver and Full Keyboard Access. Support localization, contrast, and reduced motion when needed. Keep user state after a relaunch. Acceptance criteria: Check the behavior on supported macOS versions with a keyboard and VoiceOver. Window resizing, focus, state restore, and AppKit or SwiftUI integration work in the normal macOS way. Evidence and limits (evidence boundary): È ufficiale per quella fonte. Altre piattaforme o team potrebbero usare il termine in modo diverso. Unknowns to confirm: Supported macOS versions, AppKit or SwiftUI structure, and window model. Also confirm sandbox and entitlement limits, save rules, and the accessibility goal.
Controlla questa richiesta
Review how macOS Alert (macOS Alert) is used now. Definition: Un macOS Alert è un dialog di sistema per una scelta importante, un errore o una condizione. Una persona deve notarlo e rispondere. Release checks: Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.