Context Menu
Menu Contestuale
Un menu contestuale mostra comandi per l'oggetto o l'area che lo ha aperto. Spesso si apre con un clic destro o con il tasto del menu contestuale.
Un esempio vero
Un utente seleziona un rapporto e apre Rinomina, Duplica e Archivia tramite tasto destro o tastiera. Escape chiude il menu e restituisce il focus al rapporto. Le azioni pericolose richiedono comunque parole chiare e conferma che corrisponde al rischio.
Parti principali
- 01contesto di invocazione
- 02comandi specifici per oggetto
- 03ritorno del focus
Usalo quando
Usa questo termine per comandi extra che dipendono dall'oggetto selezionato o indicato.
Non usarlo quando
Non nascondere un'azione principale o obbligatoria solo all'interno di un menu contestuale.
Nome usato nel codice
context trigger → object-specific role=menu Prima di spedire
Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states.
Outcome: Complete the task with Menu Contestuale (Context Menu). User context: Un utente seleziona un rapporto e apre Rinomina, Duplica e Archivia tramite tasto destro o tastiera. Escape chiude il menu e restituisce il focus al rapporto. Le azioni pericolose richiedono comunque parole chiare e conferma che corrisponde al rischio. Recommended pattern: Menu Contestuale (Context Menu). Why it fits: Usa questo termine per comandi extra che dipendono dall'oggetto selezionato o indicato. Do not use it when: Non nascondere un'azione principale o obbligatoria solo all'interno di un menu contestuale. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary): Nessun singolo standard ufficiale controlla l'intero termine. Il suo significato può cambiare tra team, piattaforme o framework. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Menu Contestuale (Context Menu) is used now. Definition: Un menu contestuale mostra comandi per l'oggetto o l'area che lo ha aperto. Spesso si apre con un clic destro o con il tasto del menu contestuale. Release checks: Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.