A11Y: Hide post avatar link from screen readers
This commit is contained in:
parent
0f04864da1
commit
6977f78266
|
@ -64,7 +64,11 @@ export function avatarFor(wanted, attrs) {
|
|||
"a",
|
||||
{
|
||||
className: `trigger-user-card ${attrs.className || ""}`,
|
||||
attributes: { href: attrs.url, "data-user-card": attrs.username },
|
||||
attributes: {
|
||||
href: attrs.url,
|
||||
"data-user-card": attrs.username,
|
||||
"aria-hidden": true,
|
||||
},
|
||||
},
|
||||
avatarImg(wanted, attrs)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue