https://www.beratungsstelle-stuttgart.de/_assets/4ce5648499b52c3df…/JavaScript/map_alt.js?1790137521
1const mapAlt = function (){ 2 let mapMarkers = document.querySelectorAll('.leaflet-pane img') 3 let geoMapImages = document.querySelectorAll('[id^="geomap-"] img'); 4 for (let i = 0; i < mapMarkers.length; i++) { 5 console.log(mapMarkers[i]); 6 } 7 for (let y = 0; y < geoMapImages.length; y++) { 8 console.log(geoMapImages[y]); 9 } 10} 11 12const mapAddAlt = function (){ 13 let mapMarkers = document.querySelectorAll('.leaflet-pane img') 14 15 let geoMapImages = document.querySelectorAll('[id^="geomap-"] img'); 16 17 for (let i = 0; i < mapMarkers.length; i++) { 18 mapMarkers[i].setAttribute('alt', 'Map Bild') 19 } 20 for (let y = 0; y < geoMapImages.length; y++) { 21 geoMapImages[y].setAttribute('alt', 'Map Bild') 22 } 23} 24 25 26// check the images 27setTimeout(mapAddAlt, 2000);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.