Success/error live regions are mounted together with their message, so screen readers often skip the announcement

Aperta
#711 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #761 di @yggdrasilworld — chiusa senza merge

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
typescript

Direzione di ricerca

The conditional notice && and error role="alert" rendering lives in the IssueActions, MilestoneActions and ClaimButton components. Before starting, check open pull request #761, which already targets this issue, and the related issues #234 and #422. Done means each component always renders its live-region container and only swaps the text inside it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

accessibility

Problem

IssueActions, MilestoneActions and ClaimButton render {notice && <p role="status" aria-live="polite">…</p>} (and the same for role="alert" errors). The live region only exists once it has content. NVDA/JAWS and VoiceOver reliably announce changes to a live region already in the DOM, but frequently miss a region inserted with its text, so "Escrow funded" or "Claim failed" may never be spoken.

Suggested fix

Always render an (initially empty) live region container and swap its text.

Related: #234, #422

Lingua principale
TypeScript
Stelle
1
Fork
94
Merge medio
1h 2m
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MergeFi/frontend

Tutte le issue di MergeFi/frontend

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.