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 was archived by the owner on Sep 21, 2022. It is now read-only.
Repository navigation
This repository was 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.
Activity
1ec5 commentedon Nov 17, 2017
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.
https://github.com/mapbox/mapbox-gl-native/blob/dcd7da14f6627a09a5840a3046b5708449962f69/platform/ios/src/MGLMapAccessibilityElement.mm#L52-L67
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.