From 3e2901d353bf39a5108aab3cfce45c89da044cfe Mon Sep 17 00:00:00 2001 From: Drew Pesall Date: Wed, 22 Jan 2025 10:45:46 -0500 Subject: [PATCH] EDSC-4349 Typo fix --- .../js/components/SpatialSelection/SpatialSelection.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/src/js/components/SpatialSelection/SpatialSelection.jsx b/static/src/js/components/SpatialSelection/SpatialSelection.jsx index d8fe9e845f..537713555f 100644 --- a/static/src/js/components/SpatialSelection/SpatialSelection.jsx +++ b/static/src/js/components/SpatialSelection/SpatialSelection.jsx @@ -536,13 +536,13 @@ const SpatialSelection = (props) => { const buttons = drawToolbar.querySelectorAll('.leaflet-draw-draw-circle, .leaflet-draw-draw-polygon, .leaflet-draw-draw-rectangle, .leaflet-draw-draw-marker') buttons.forEach((button) => { if (button.classList.contains('leaflet-draw-draw-circle')) { - button.setAttribute('aria-label', 'Draw a spatial circle on the map to select a spatial extent') + button.setAttribute('aria-label', 'Draw a circle on the map to select a spatial extent') } else if (button.classList.contains('leaflet-draw-draw-polygon')) { - button.setAttribute('aria-label', 'Draw a spatial polygon on the map to select a spatial extent') + button.setAttribute('aria-label', 'Draw a polygon on the map to select a spatial extent') } else if (button.classList.contains('leaflet-draw-draw-rectangle')) { - button.setAttribute('aria-label', 'Draw a spatial rectangle on the map to select a spatial extent') + button.setAttribute('aria-label', 'Draw a rectangle on the map to select a spatial extent') } else if (button.classList.contains('leaflet-draw-draw-marker')) { - button.setAttribute('aria-label', 'Draw a spatial coordinate on the map to select a spatial extent') + button.setAttribute('aria-label', 'Draw a coordinate on the map to select a spatial extent') } }) }