Skip to content

Commit

Permalink
fix(a11y): anchor ambiguous text
Browse files Browse the repository at this point in the history
  • Loading branch information
42tte committed Jul 29, 2024
1 parent a8e71b7 commit 8f598b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Home = ({ randomEmployee, randomCases, feeds }: HomeProps) => {
{caseItem.content.split(/\n\s*\n/gm).map((e, i) => (
<p key={i}>{e}</p>
))}
<Link href={caseItem.href} title="Prosjektinfo">
<Link href={caseItem.href} aria-label={`${caseItem.heading} mer prosjektinformasjon`}>
Les mer
</Link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/kunde/assignments/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const Svv: NextPage<InferGetStaticPropsType<typeof getStaticProps>> =
alt={interview.imageAltText}
/>
<p>{interview.quote}</p>
<Link href={interview.name} className={style.buttonLink}>
<Link href={interview.name} className={style.buttonLink} aria-label={`${interview.variant}s egne ord om prosjektet`}>
<strong>Les mer</strong>
</Link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/kunde/svv/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const Svv: NextPage<InferGetStaticPropsType<typeof getStaticProps>> =
<p className={style.textCenter}>{interview.variantTitle}</p>
<img src={interview.image} alt={interview.imageAltText} />
<p>{interview.quote}</p>
<Link href={interview.name} className={style.buttonLink}>
<Link href={interview.name} className={style.buttonLink} aria-label={`${interview.variant}s egne ord om prosjektet`}>
<strong>Les mer</strong>
</Link>
</div>
Expand Down

0 comments on commit 8f598b3

Please sign in to comment.