We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec0efe5 commit 10235b4Copy full SHA for 10235b4
app/components/user-dropdown.tsx
@@ -25,13 +25,15 @@ export function UserDropdown() {
25
// this is for progressive enhancement
26
onClick={(e) => e.preventDefault()}
27
className="flex items-center gap-2"
28
+ aria-label="User menu"
29
>
30
<Img
31
className="size-8 rounded-full object-cover"
32
alt={user.name ?? user.username}
33
src={getUserImgSrc(user.image?.objectKey)}
34
width={256}
35
height={256}
36
+ aria-hidden="true"
37
/>
38
<span className="text-body-sm font-bold">
39
{user.name ?? user.username}
0 commit comments