github / github/auto-complete-element

[Localization] Support an optional object of Localized phrases for Screen Reader announcements

Aperta
#57 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
407
Fork
57
Merge medio
1g 7h
PR unite (30g)
5

Descrizione

## Context
Currently, all the screen reader announcements for this component are in English and have very generic wording such as "Results hidden". You may want to use more specific verbiage for your component use case, and/or support multiple languages.

## Acceptance Criteria
- [x] Extend the autocomplete API to allow the developer to pass in localized phrases for every Screen Reader announcement
- [ ] If one phrase isn't passed in, fallback to the default already defined (We've got a lot of feedback in the verbiage here.)
- [ ] Create unit tests to ensure these phrases work correctly

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the autocomplete API and the existing default screen reader announcement phrases. Add coverage for omitted phrases falling back to those defaults, and create unit tests confirming that supplied localized phrases are used for each announcement.

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

Valutazione

Stack tecnologico
javascript
Ambito
accessibility, frontend, internationalization
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.