diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-15 19:08:58 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-15 19:08:58 +0200 |
| commit | 056ed0d5f050158cebad689099214b164539899a (patch) | |
| tree | 8e28a82386a785568a7a655bf4d1213096b82589 /src/components/organisms/layout/summary.tsx | |
| parent | c95cce04393080a52a54191cff7be8fec68af4b0 (diff) | |
chore: improve accessibility
Diffstat (limited to 'src/components/organisms/layout/summary.tsx')
| -rw-r--r-- | src/components/organisms/layout/summary.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/organisms/layout/summary.tsx b/src/components/organisms/layout/summary.tsx index 078f9ee..3831c0c 100644 --- a/src/components/organisms/layout/summary.tsx +++ b/src/components/organisms/layout/summary.tsx @@ -116,6 +116,7 @@ const Summary: FC<SummaryProps> = ({ </Link> )), comments: { + about: title, count: commentsCount || 0, target: `${url}#comments`, }, @@ -126,7 +127,7 @@ const Summary: FC<SummaryProps> = ({ <article className={styles.wrapper}> {cover && <ResponsiveImage className={styles.cover} {...cover} />} <header className={styles.header}> - <Link href={url}> + <Link href={url} className={styles.link}> <Heading level={titleLevel} className={styles.title}> {title} </Heading> |
