Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruchika4 authored Sep 26, 2023
1 parent 986bc86 commit d9c85b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/preflight/panels/accessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ async function checkAlt() {
let altMissing;
let altValueMissing;
const altValue = [];
const imageDetail = {};
for (const image of images) {
const imageDetail = {};
if (!image.hasAttribute('alt')) {
altMissing = true;
imageDetail.src = image.getAttribute('src');
Expand Down

0 comments on commit d9c85b9

Please sign in to comment.