Current Item (aria-current)
Elemento corrente (aria-current)
aria-current indica agli strumenti assistivi quale elemento è corrente in un insieme correlato. Non significa che l'elemento sia selezionato.
one item in a set + aria-current=page|step|date|location|time|truearia-current="page"pageone item in a set + aria-current=page|step|date|location|time|trueA11YUn altro esempio
Un breadcrumb contiene Home, Projects e Aurora. Solo Aurora ha aria-current impostato su page.
Parti principali
- 01Set di elementi correlati
- 02Elemento corrente
- 03Valore corrente
- 04Indicatore visibile
- 05annuncio assistivo
- 06Confine di selezione
Usalo quando
Usalo per una pagina attuale, un passo, una data o una posizione all'interno di un insieme. Scegli il token che corrisponde al significato.
Non usarlo quando
Non contrassegnare più elementi come correnti nello stesso set. Usa aria-selected per i widget di selezione.
Nome usato nel codice
one item in a set + aria-current=page|step|date|location|time|true Prima di spedire
Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states.
Outcome: Complete the task with Elemento corrente (aria-current) (Current Item (aria-current)). User context: Un breadcrumb contiene Home, Projects e Aurora. Solo Aurora ha aria-current impostato su page. Recommended pattern: Elemento corrente (aria-current) (Current Item (aria-current)). Why it fits: Usalo per una pagina attuale, un passo, una data o una posizione all'interno di un insieme. Scegli il token che corrisponde al significato. Do not use it when: Non contrassegnare più elementi come correnti nello stesso set. Usa aria-selected per i widget di selezione. 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 Elemento corrente (aria-current) (Current Item (aria-current)) is used now. Definition: aria-current indica agli strumenti assistivi quale elemento è corrente in un insieme correlato. Non significa che l'elemento sia selezionato. Release checks: Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.