Skip to content

Commit

Permalink
DBC22-940: added alt text for my location pin on map
Browse files Browse the repository at this point in the history
  • Loading branch information
minORC authored and ray-oxd committed Nov 15, 2023
1 parent 6c5a151 commit df4771c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/Components/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ export default function MapWrapper({
const svgImage = new Image();
svgImage.src =
'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgMarkup);
svgImage.alt = 'my location pin';

// Create an overlay for the marker
const markerOverlay = new Overlay({
Expand Down

0 comments on commit df4771c

Please sign in to comment.