New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language support (Feature request) #4923
Comments
Can you be more specific? |
First a small correction. WCAG does not need title AND alt attributes. There are several techniques to pass WCAG validation. But I'll give you an example. Go to: On the first page there is a map with a pin and a small "popup" window. In the upper right corner there is a close button "X". To make that close button WCAG compliant you'd need to add (something like) a aria-label attribute (or title attribute). If work with "Accessibility improvements #3210" is going to be done. This would be an perfect opportunity to implement multi language support as well. |
Currently the convention for this is passing text as options of a particular class. Examples with zoom control: https://leafletjs.com/reference-1.3.2.html#control-zoom We have no plans to introduce a more sophisticated i18n system to keep things simple. |
Language support would be nice to have. And when looking at "Accessibility improvements #3210" this opens the perfect opportunity for this.
Work with WCAG requires title and alt attributes. All these text strings needs to be added. Why not put all these text strings in a common file and make additions for language?
The text was updated successfully, but these errors were encountered: