macOS Alert
macOS Alert
Una macOS Alert es un diálogo del sistema para una decisión importante, un fallo o una condición. La persona debe notarlo y responder.
Otro ejemplo
Cerrar un documento sin guardar pregunta si quieres Guardar, Cancelar o descartar los cambios. La opción más segura por defecto es clara.
Partes principales
- 01Activador
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Úsalo cuando
Úselo solo cuando una condición importante necesita una respuesta o elección antes de que la tarea actual pueda continuar de manera segura.
No lo uses cuando
Evita mensajes rutinarios de éxito, validación recuperable dentro del mismo texto y confirmaciones para cosas que se pueden deshacer. Si repites las alertas, la gente aprenderá a cerrarlas sin leerlas.
Nombre usado en código
AppKit NSAlert / SwiftUI alert Antes de lanzarlo
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: Cerrar un documento sin guardar pregunta si quieres Guardar, Cancelar o descartar los cambios. La opción más segura por defecto es clara. macOS concept or control: macOS Alert (macOS Alert). Why it fits: Úselo solo cuando una condición importante necesita una respuesta o elección antes de que la tarea actual pueda continuar de manera segura. Do not use it when: Evita mensajes rutinarios de éxito, validación recuperable dentro del mismo texto y confirmaciones para cosas que se pueden deshacer. Si repites las alertas, la gente aprenderá a cerrarlas sin leerlas. 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): Es oficial para esa fuente. Otras plataformas o equipos pueden usar el término de otra manera. 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.
Revisa esta petición
Review how macOS Alert (macOS Alert) is used now. Definition: Una macOS Alert es un diálogo del sistema para una decisión importante, un fallo o una condición. La persona debe notarlo y responder. 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.