Skip to content

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

@inkblotty

Description

@inkblotty

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions