Rating
Valutazione
Una valutazione mostra un'opinione su una scala fissa. La scala può usare stelle, numeri o livelli con nome.
Un esempio vero
Dopo una consegna, una valutazione a cinque stelle funziona con la tastiera. Spiega cosa significano una stella e cinque stelle.
Parti principali
- 01Etichetta visibile
- 02Interaction target
- 03Current state
- 04Keyboard behavior
Usalo quando
Usalo quando la scala aiuta a prendere una decisione reale e le persone hanno abbastanza esperienza per giudicare.
Non usarlo quando
Non chiedere mai una valutazione prima che le persone vedano il valore. Mostra quante valutazioni hanno formato la media.
Nome usato nel codice
radiogroup / rating value Prima di spedire
Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery.
Outcome: Complete the task with Valutazione (Rating). User context: Dopo una consegna, una valutazione a cinque stelle funziona con la tastiera. Spiega cosa significano una stella e cinque stelle. Recommended pattern: Valutazione (Rating). Why it fits: Usalo quando la scala aiuta a prendere una decisione reale e le persone hanno abbastanza esperienza per giudicare. Do not use it when: Non chiedere mai una valutazione prima che le persone vedano il valore. Mostra quante valutazioni hanno formato la media. 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 Valutazione (Rating) is used now. Definition: Una valutazione mostra un'opinione su una scala fissa. La scala può usare stelle, numeri o livelli con nome. Release checks: Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.