Skip to content

Commit

Permalink
Merge pull request #2362 from gordon-cs/s24-profile-page-accessibility
Browse files Browse the repository at this point in the history
Accurate Alt Texts for Victory Promise Icons
  • Loading branch information
jsenning committed Jul 12, 2024
2 parents 5e58f48 + 8cfae49 commit 8aa0caf
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ const VictoryPromiseIcon = ({
</>
}
>
<svg xmlns="http://www.w3.org/2000/svg" width="102" height="109" className={styles.icon}>
<svg
xmlns="http://www.w3.org/2000/svg"
width="102"
height="109"
className={styles.icon}
aria-label={toTitleCase(category, '_')}
>
<g>
<IconComponent primary={primary} secondary={secondary} />
</g>
Expand Down

0 comments on commit 8aa0caf

Please sign in to comment.