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 8a848ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layer/marker/Marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ L.Marker = L.Layer.extend({

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

Expand Down

0 comments on commit 8a848ed

Please sign in to comment.