|
@@ -67,12 +67,15 @@ const UserPictureRootWithLink = forwardRef<
|
|
|
// Nested anchor tags causes a warning.
|
|
// Nested anchor tags causes a warning.
|
|
|
// https://stackoverflow.com/questions/13052598/creating-anchor-tag-inside-anchor-taga
|
|
// https://stackoverflow.com/questions/13052598/creating-anchor-tag-inside-anchor-taga
|
|
|
return (
|
|
return (
|
|
|
|
|
+ // biome-ignore lint/a11y/useSemanticElements: ignore
|
|
|
<span
|
|
<span
|
|
|
ref={ref}
|
|
ref={ref}
|
|
|
className={props.className}
|
|
className={props.className}
|
|
|
onClick={clickHandler}
|
|
onClick={clickHandler}
|
|
|
onKeyDown={() => {}}
|
|
onKeyDown={() => {}}
|
|
|
style={{ cursor: 'pointer' }}
|
|
style={{ cursor: 'pointer' }}
|
|
|
|
|
+ role="link"
|
|
|
|
|
+ tabIndex={0}
|
|
|
>
|
|
>
|
|
|
{props.children}
|
|
{props.children}
|
|
|
</span>
|
|
</span>
|