github / github/auto-complete-element

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

Open
#57 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
407
Forks
57
Avg merge
1d 7h
Merged PRs (30d)
5

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.