Skip to content

Commit

Permalink
site(index): Missing alt attribute for the img tag added
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed May 13, 2024
1 parent 615aed9 commit 25ab7cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ <h2>Boost your privacy in one click</h2>
const $img = document.createElement('img')

$img.src = `assets/browsers/${browserType}.svg`
$img.alt = browserType
$img.onerror = () => $img.remove() // remove image if it's not found

return $img
Expand Down

0 comments on commit 25ab7cb

Please sign in to comment.