Skip to content

Commit

Permalink
fix: add aria-hidden to invisible links
Browse files Browse the repository at this point in the history
  • Loading branch information
noa.santo committed Jan 15, 2024
1 parent ff83497 commit e3cb98a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/layout/with-anchor-hoc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const WithAnchorHOC =
href={'#' + generateAnchorId(props.children)}
id={generateAnchorId(props.children)}
$visible={hoverActive}
aria-hidden={true}
>
<Icon show={'anchor'} />
</ShareSymbol>
Expand Down

0 comments on commit e3cb98a

Please sign in to comment.