Skip to content

Commit

Permalink
Give map markers more descriptive alt text.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Jun 27, 2024
1 parent c67e45b commit 28dfc6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/shared/javascripts/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ OmekaMapBrowse.prototype = {
balloon = balloon.replace('$[namewithlink]', titleWithLink).replace('$[description]', body).replace('$[Snippet]', snippet);

// Build a marker, add HTML for it
this.addMarker([latitude, longitude], {title: title}, balloon);
this.addMarker([latitude, longitude], {title: title, alt: title + ' marker'}, balloon);
},

buildListLinks: function (container) {
Expand Down

0 comments on commit 28dfc6a

Please sign in to comment.