Skip to content

Commit b62b24e

Browse files
committed
Add alt attribute to images
1 parent 0535b70 commit b62b24e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web-src/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ for (const b of backgrounds) {
111111
}
112112

113113
img.src = '/backgrounds/' + src
114+
img.alt = `${b.location}, ${b.date}`
114115
}
115116

116117
function mainLoop() {

0 commit comments

Comments
 (0)