Check that toasts are announced to screen readers

Aperta Adatta ai principianti
#117 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
Mezza giornata
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
react, typescript

Direzione di ricerca

Parti da apps/web/src/components/Toasts.tsx e apps/web/src/lib/toast.ts; ispeziona come viene renderizzato il container dei toast e se ha già role="status", aria-live="polite" o un ruolo alert per gli errori. Esegui npm test, npm run typecheck e npm run lint, poi prova con uno screen reader specifico come NVDA, VoiceOver o Orca. Fatto significa che i nuovi toast vengono annunciati una volta sola, gli errori sono assertivi, il focus non viene rubato e la PR indica lo screen reader usato.

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

Descrizione

accessibility good first issue web

Short messages such as "Link copied" or "Saved" must also reach people who use a screen reader.

What to do

Check the toast container for a suitable live region (role="status" or aria-live="polite", and role="alert" for errors), test with a screen reader (NVDA, VoiceOver or Orca), and fix any gap. Toasts must not steal focus and must stay long enough to be read.

Where to look

apps/web/src/components/Toasts.tsx and apps/web/src/lib/toast.ts.

Done when

New toasts are announced once, errors are announced assertively, and the PR says which screen reader you tested with.

How to work on it

Fork the repo, branch from main, and follow CONTRIBUTING.md. Run npm run typecheck, npm test and npm run lint before opening a PR. Comment here if you'd like to take it, and ask if anything is unclear.


Generated by Claude Code

Lingua principale
TypeScript
Stelle
6
Fork
6
Merge medio
1h 59m
PR unite (30g)
59

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 Haseeb-MernStack/commune

Tutte le issue di Haseeb-MernStack/commune

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.