Skip to content

Commit

Permalink
Merge pull request opensourcepledge#88 from opensourcepledge/vladh/ad…
Browse files Browse the repository at this point in the history
…d-svg-role

a11y: add blob role="img"
  • Loading branch information
vladh authored Sep 4, 2024
2 parents c7683ac + 8813e17 commit 300ecdf
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 300ecdf

Please sign in to comment.