Skip to content

Commit

Permalink
chore(component): Add more specific image alt
Browse files Browse the repository at this point in the history
Alt text should express more information.
  • Loading branch information
5ouma committed Nov 8, 2024
1 parent 2690508 commit afd6440
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Bio/Bio.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ const props = Astro.props;

<div id="bio">
<div id="profile">
<img src={props.icon} alt="icon" loading="lazy" decoding="async" />
<img
src={props.icon}
alt={`Profile picture of ${props.name}`}
loading="lazy"
decoding="async"
/>
<span id="name">{props.name}</span>
</div>
<span id="description">{props.description}</span>
Expand Down

0 comments on commit afd6440

Please sign in to comment.