Encuentra todas las imágenes sin texto alternativo

// find all images without alternate text and give them a red border
function processImages() {
  // Get all images
  const images = document.querySelectorAll('img')

  // Loop through all images
  images.forEach(image =>
    // If the image has no alt attribute give it a red border
    !image.alt ? (image.style.border = '1px solid red') : null
  )
}
moghaazi