Skip to content

Commit

Permalink
fix(image card): add alt text to example images
Browse files Browse the repository at this point in the history
  • Loading branch information
sirrah-tam committed Feb 10, 2025
1 parent 2aee5c7 commit aeb4a5d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ export const SelectableCollection = {
<PharosLayout tag="ol" style={{ margin: '1rem 0' }}>
<li className="image-card-example__card--collection">
<PharosImageCard title="Selectable" link="#" variant="selectable-collection">
<img src={collection1} slot="image" />
<img src={collection1} slot="image" alt="selectable example" />
<strong slot="metadata">50 items</strong>
<div slot="metadata">Selections from the global permanent collection.</div>
</PharosImageCard>
Expand All @@ -509,7 +509,7 @@ export const SelectableCollection = {
variant="selectable-collection"
subtle-select="true"
>
<img src={collection2} slot="image" />
<img src={collection2} slot="image" alt="subtle selectable example" />
<strong slot="metadata">50 items</strong>
<div slot="metadata">Selections from the global permanent collection.</div>
</PharosImageCard>
Expand All @@ -522,7 +522,7 @@ export const SelectableCollection = {
disabled="true"
selected="true"
>
<img src={collection3} slot="image" />
<img src={collection3} slot="image" alt="selectable disabled example" />
<strong slot="metadata">50 items</strong>
<div slot="metadata">Selections from the global permanent collection.</div>
</PharosImageCard>
Expand Down

0 comments on commit aeb4a5d

Please sign in to comment.