This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
feat(autocomplete): I18n support for screen reader messages #1696
Labels
a11y
This issue is related to accessibility
Milestone
In
$mdAutocomplete
, the number of matches and the currently highlighted item on arrow key press are announced using anaria-live
-enabled element. This works pretty well except the strings are currently embedded into the HTML without internationalization support. We could include an interface like ngPluralize to handle "There is 1 match available" vs. "There are X matches available", but we are hesitant to add that much logic onto autocomplete element itself (which is the API exposed to developers).The ideal approach for these kinds of translations would be to consolidate them into a single file that would then interface with each component that needed it (like md-button, brought up in #1639).
The text was updated successfully, but these errors were encountered: