Skip to content

Commit

Permalink
fix: a11y rule "iframe-has-title" fails with a warning. (#4162)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Taylor <[email protected]>
  • Loading branch information
Bashamega and nickytonline authored Oct 15, 2024
1 parent e576210 commit f15764a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/u/[username]/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export default function CardPage({ user }: { user: DbUser }) {
border: "none",
gridArea: "1 / 1",
}}
title={`${username}'s user profile`}
></iframe>
</div>
<a className="absolute w-full h-full grid place-content-center z-20" href={`/u/${username}`}>
Expand Down

0 comments on commit f15764a

Please sign in to comment.