Skip to content

Commit

Permalink
Add alternative text to marker shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
topicus committed Jan 17, 2017
1 parent d250465 commit adbb890
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/layer/marker/Marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ L.Marker = L.Layer.extend({

if (newShadow) {
L.DomUtil.addClass(newShadow, classToAdd);
newShadow.alt = '';
}

this._shadow = newShadow;


Expand Down

0 comments on commit adbb890

Please sign in to comment.