Closed (works as designed)
Project:
Leaflet
Version:
10.4.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Jun 2026 at 10:19 UTC
Updated:
4 Aug 2026 at 16:29 UTC
Jump to comment: Most recent
Comments
Comment #2
camarao1911 commentedComment #3
mgiffordGreat to see this.
This might be useful as well https://mgifford.github.io/ACCESSIBILITY.md/examples/MAPS_ACCESSIBILITY_...
Comment #4
camarao1911 commentedThanks for flagging this!
I appreciate you taking the time to point it out.
This was a lapse of attention on my part.
Leaflet was already correct. Version 1.9.4 deliberately sets alt="" on both the map tiles and the marker shadow.
What tripped me up was another module notice fires on any image with alt="" and suggests adding alt text if the image carries meaning. I read that as a problem to fix, and talked myself into believing the alt text was needed.
That's on me. I should have read more about accessibility before making the patch.