Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
fix a11y checks for tooltip images
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhmarsh committed Dec 27, 2021
1 parent e8f7f71 commit 0d7f208
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/tooltip/tooltip.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const ToolTip = () => {
<div class="tooltip-descriptor">Artwork</div>
<h5 class="tooltip-title">Figure Pendant</h5>
<h6 class="tooltip-subtitle">Tairona</h6>
<img class="tooltip-image" src="https://collectionapi.metmuseum.org/api/collection/v1/iiif/309540/1907006/main-image">
<img class="tooltip-image" src="https://collectionapi.metmuseum.org/api/collection/v1/iiif/309540/1907006/main-image"
alt="an example image alt, for accessibility">
</div>.
</div>
</div>`;
Expand All @@ -28,7 +29,8 @@ indeed, it was often thought of as an excretion of this divine entity
<div class="tooltip-descriptor">Artwork</div>
<h5 class="tooltip-title">Figure Pendant</h5>
<h6 class="tooltip-subtitle">Tairona</h6>
<img class="tooltip-image" src="https://collectionapi.metmuseum.org/api/collection/v1/iiif/309540/1907006/main-image">
<img class="tooltip-image" src="https://collectionapi.metmuseum.org/api/collection/v1/iiif/309540/1907006/main-image"
alt="an example image alt, for accessibility">
</div>.
</div>
</div>`;
Expand Down

0 comments on commit 0d7f208

Please sign in to comment.