github / github/auto-complete-element

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

Offen
#57 12 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
407
Forks
57
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
5

Beschreibung

## 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
accessibility, frontend, internationalization
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.