How to include alt text for images in umap marker popups?

Hey everyone,

I am working on a umap project to help new students and colleagues get their bearings on our campus. To facilitate this, I have added images of the buildings to the respective marker’s popup using the popup syntax offered by leaflet:

{{example url|200}}

However, despite considerable research, I have not been able to find a way to also include alt text (for accessibility). Is there any way to accomplish this?

Thanks and best regards,
Sophie

3 Likes

If it’s not in the docs it’s might not have been implemented.

It appears to accept a raw html <img ... > tag but strips the alt from the final map too.

It might be worth asking for this feature over on the uMap github issue tracker.