caverav / auditforge

Prefer not to use words image, photo in image alt content JS-0750
Performance
Minor
11 days ago11 days old
Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop
58      </div>
59      {imagePreview ? (
60        <div className="mt-4 flex justify-center">
61          <img62            alt="Image Preview"63            className="w-40 h-auto rounded-md shadow-md"64            src={imagePreview}65          />66        </div>
67      ) : null}
68    </div>