Skip to content

Commit

Permalink
remove arialabelled by and id from related content link, and snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyL0u committed Nov 12, 2024
1 parent 3ecb949 commit 0494f88
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/app/components/JumpTo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,9 @@ const JumpTo = ({ jumpToHeadings, showRelatedContentLink }: JumpToProps) => {
href="#related-content-heading"
onClick={e => linkClickHandler(e, '#related-content-heading')}
css={styles.link}
aria-labelledby="jump-to-related-content-heading"
data-testid="jump-to-link-related-content-heading"
>
<span
id="jump-to-related-content-heading"
css={[
styles.linkText,
decodeURIComponent(hash) === '#related-content-heading' &&
Expand Down
2 changes: 0 additions & 2 deletions src/app/pages/ArticlePage/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1602,14 +1602,12 @@ exports[`Article Page Article Page with jumpTo component should render a jumpTo
class="emotion-15"
>
<a
aria-labelledby="jump-to-related-content-heading"
class="emotion-16"
data-testid="jump-to-link-related-content-heading"
href="#related-content-heading"
>
<span
class="emotion-17"
id="jump-to-related-content-heading"
>
Another thing we de for inside dis tori
</span>
Expand Down

0 comments on commit 0494f88

Please sign in to comment.