Skip to content

Commit

Permalink
a11y: add blob role="img"
Browse files Browse the repository at this point in the history
  • Loading branch information
vladh committed Sep 4, 2024
1 parent 5bc5561 commit 8813e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Blob.astro
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const zIndex = isGrad ? 100 : 90;
const { default: svg } = await import (`../assets/images/blobs/blob-${kind}.svg?raw`);
---
<div class="blob" data-blob={blobGenre}>
<div class="blob" data-blob={blobGenre} role="img">
<Fragment set:html={svg} />
</div>

Expand Down

0 comments on commit 8813e17

Please sign in to comment.