Skip to content

Commit fdae6b6

Browse files
committed
fix: refactor adMeta display to use anchor tag for better accessibility
1 parent 53e3d48 commit fdae6b6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/features/feed/components/feedItems/AdvFeedItem.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ export const AdvFeedItem = ({ className }: BaseItemPropsType<AdFeedItemData>) =>
2323
{adMeta && (
2424
<>
2525
{adMeta.company && adMeta.companyTagline && (
26-
<div className="rowTitle">
27-
<span className="subTitle">
28-
{[adMeta.company, adMeta.companyTagline].filter(Boolean).join(' - ')}
29-
</span>
30-
</div>
26+
<a className="rowTitle" href={adMeta.callToAction}>
27+
{[adMeta.company, adMeta.companyTagline].filter(Boolean).join(' - ')}
28+
</a>
3129
)}
3230
<div className="rowDetails">
3331
<span className="rowItem verticalAligned">

0 commit comments

Comments
 (0)