Hover Card
Scheda al passaggio del mouse
Una hover card è un'anteprima ricca. Si apre quando si passa il mouse o si fa焦点 su un riferimento, senza bloccare la pagina.
HoverCardUn esempio vero
Passa il mouse sopra il nome di un autore per vedere una breve biografia e il numero di follower. Il profilo completo rimane chiuso.
Parti principali
- 01Attiva
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Usalo quando
Usalo per dettagli di anteprima opzionali che aiutano le persone a scegliere dove andare dopo.
Non usarlo quando
Non nascondere mai informazioni obbligatorie dietro un hover perché i dispositivi touch potrebbero non aprirle in modo affidabile.
Nome usato nel codice
HoverCard 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 Scheda al passaggio del mouse (Hover Card). User context: Passa il mouse sopra il nome di un autore per vedere una breve biografia e il numero di follower. Il profilo completo rimane chiuso. Recommended pattern: Scheda al passaggio del mouse (Hover Card). Why it fits: Usalo per dettagli di anteprima opzionali che aiutano le persone a scegliere dove andare dopo. Do not use it when: Non nascondere mai informazioni obbligatorie dietro un hover perché i dispositivi touch potrebbero non aprirle in modo affidabile. 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): Questo non è uno standard normativo. Il suo nome, limiti e comportamento previsto possono cambiare da una fonte all'altra. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Scheda al passaggio del mouse (Hover Card) is used now. Definition: Una hover card è un'anteprima ricca. Si apre quando si passa il mouse o si fa焦点 su un riferimento, 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.