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 c4c8b3d commit da5d8afCopy full SHA for da5d8af
src/stories/Library/cover/Cover.tsx
@@ -28,7 +28,13 @@ const Cover: FC<CoverProps> = ({
28
// Images inside links must have an non-empty alt text to meet accessibility requirements.
29
// Only render the cover as a link if we have both an url and a description.
30
return (
31
- <a className={classes.wrapper} href={coverUrl}>
+ <a
32
+ className={classes.wrapper}
33
+ href={coverUrl}
34
+ aria-label="cover aria label"
35
+ aria-labelledby="cover labelled by"
36
+ title="cover title text"
37
+ >
38
<CoverImage
39
setImageLoaded={() => setImageLoaded(true)}
40
src={src}
0 commit comments