Popover
Popover
Un popover è un piccolo pannello attaccato al controllo che lo ha aperto. Può contenere contenuti strutturati e azioni senza bloccare la pagina.
popover attribute / PopoverUn esempio vero
Seleziona un avatar per aprire un piccolo profilo. Mostra il ruolo della persona, i dettagli di contatto e un'azione Segui.
Parti principali
- 01Attiva
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Usalo quando
Usalo quando il contenuto appartiene accanto al suo trigger e le persone possono continuare a usare la pagina.
Non usarlo quando
Non usarlo mai per un suggerimento breve che contiene solo un'etichetta. Usa invece un tooltip.
Nome usato nel codice
popover attribute / Popover 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 Popover (Popover). User context: Seleziona un avatar per aprire un piccolo profilo. Mostra il ruolo della persona, i dettagli di contatto e un'azione Segui. Recommended pattern: Popover (Popover). Why it fits: Usalo quando il contenuto appartiene accanto al suo trigger e le persone possono continuare a usare la pagina. Do not use it when: Non usarlo mai per un suggerimento breve che contiene solo un'etichetta. Usa invece un tooltip. 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): Lo standard copre solo l'ambito elencato. Non sceglie lo stile visivo, la decisione sul prodotto o l'esempio di vocabolario. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Popover (Popover) is used now. Definition: Un popover è un piccolo pannello attaccato al controllo che lo ha aperto. Può contenere contenuti strutturati e azioni senza bloccare la pagina. 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.