You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
When Mapbox GL Language is present, default to the name_* property that corresponds to the user’s current locale. We could keep the accessibleLabelProperty property around for data visualization use cases that aren’t so heavily focused on the Mapbox Streets source.
The iOS implementation in mapbox/mapbox-gl-native#9950 additionally transliterates the name into Latin script using ICU if the user’s language is written in a Latin alphabet. This ensures that the labels remain comprehensible in a screen reader, since most screen readers are only capable of reading one language at a time, even if the user can comprehend multiple languages and multiple scripts.
However, I don’t believe there are any client-side facilities for transliteration on the Web platform. There may be server APIs for transliteration, but that might be out of scope for this plugin.
When Mapbox GL Language is present, default to the
name_*
property that corresponds to the user’s current locale. We could keep theaccessibleLabelProperty
property around for data visualization use cases that aren’t so heavily focused on the Mapbox Streets source./cc @tristen @lukasmartinelli
The text was updated successfully, but these errors were encountered: