Skip to content

Commit

Permalink
remove avatar for accessibility (github#23706)
Browse files Browse the repository at this point in the history
  • Loading branch information
gracepark authored Dec 16, 2021
1 parent 42e9f06 commit 65db364
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions components/landing/GuideCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,6 @@ export const GuideCard = ({ guide }: Props) => {
/>

<footer className="d-flex">
<div className="mr-1">
{authors.length === 1 ? (
<img
className="avatar avatar-2 circle mr-1"
src={`https://github.com/${authors[0]}.png`}
alt={`@${authors[0]}`}
/>
) : (
<div className="AvatarStack AvatarStack--three-plus">
<div
className="AvatarStack-body tooltipped tooltipped-se tooltipped-align-left-1"
aria-label={authorString}
>
{authors.map((author) => {
return (
<img
className="avatar circle"
alt={`@${author}`}
src={`https://github.com/${author}.png`}
/>
)
})}
</div>
</div>
)}
</div>

<div>{authorString}</div>
</footer>
</a>
Expand Down

0 comments on commit 65db364

Please sign in to comment.