]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/Map.svelte
fix Svelte accessibily linter warnings, no more autofocus
[nominatim-ui.git] / src / components / Map.svelte
index dd2a1ae0017e8cb507dea2d7efed2f888146cef3..37166f603ba9bda88ee93d79bfe84220898af293 100644 (file)
 
 <MapPosition />
 <div id="map" use:mapAction />
-<div id="show-map-position" class="leaflet-bar btn btn-sm btn-outline-secondary"
+<button id="show-map-position" class="leaflet-bar btn btn-sm btn-outline-secondary"
       on:click|stopPropagation={show_map_position_click}
->show map bounds</div>
+>show map bounds</button>
 
 <style>
   #map {