Skip to content

Commit 65db364

Browse files
authored
remove avatar for accessibility (#23706)
1 parent 42e9f06 commit 65db364

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

components/landing/GuideCard.tsx

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,6 @@ export const GuideCard = ({ guide }: Props) => {
2020
/>
2121

2222
<footer className="d-flex">
23-
<div className="mr-1">
24-
{authors.length === 1 ? (
25-
<img
26-
className="avatar avatar-2 circle mr-1"
27-
src={`https://github.com/${authors[0]}.png`}
28-
alt={`@${authors[0]}`}
29-
/>
30-
) : (
31-
<div className="AvatarStack AvatarStack--three-plus">
32-
<div
33-
className="AvatarStack-body tooltipped tooltipped-se tooltipped-align-left-1"
34-
aria-label={authorString}
35-
>
36-
{authors.map((author) => {
37-
return (
38-
<img
39-
className="avatar circle"
40-
alt={`@${author}`}
41-
src={`https://github.com/${author}.png`}
42-
/>
43-
)
44-
})}
45-
</div>
46-
</div>
47-
)}
48-
</div>
49-
5023
<div>{authorString}</div>
5124
</footer>
5225
</a>

0 commit comments

Comments
 (0)